
bfd_boolean tg_function_parameter(void *p,char *name,debug_parm_kind kind,bfd_vma val)

{
  pr_handle *info;
  bfd_boolean bVar1;
  char *s;
  
  if (((1 < kind - DEBUG_PARM_REFERENCE) || (bVar1 = pr_reference_type(p), bVar1 != 0)) &&
     (bVar1 = substitute_type((pr_handle *)p,name), bVar1 != 0)) {
    info = (pr_handle *)((long)p + 0x10);
    s = pop_type(info);
    if ((s != (char *)0x0) &&
       ((*(long *)(*(long *)((long)p + 0x10) + 0x18) != 0 ||
        ((((*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)) &&
          (((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||
           (bVar1 = append_type(info,"register "), bVar1 != 0)))) &&
         (bVar1 = append_type(info,s), bVar1 != 0)))))) {
      free(s);
      *(int *)((long)p + 0x18) = *(int *)((long)p + 0x18) + 1;
      return 1;
    }
  }
  return 0;
}



undefined8 FUN_00128760(long param_1,undefined8 param_2,int param_3)

{
  long lVar1;
  int iVar2;
  void *__ptr;
  
  if (((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&
     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)) {
    lVar1 = param_1 + 0x10;
    __ptr = (void *)FUN_00126930(lVar1);
    if ((__ptr != (void *)0x0) &&
       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||
        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&
          (((param_3 - 2U & 0xfffffffd) != 0 ||
           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&
         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {
      free(__ptr);
      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;
      return 1;
    }
  }
  return 0;
}


PUSH R13
LEA EAX,[RDX + -0x3]
PUSH R12
PUSH RBP
MOV EBP,EDX
PUSH RBX
MOV RBX,RDI
SUB RSP,0x18
CMP EAX,0x1
JBE 0x001287d0
MOV RDI,RBX
CALL 0x00127110
TEST EAX,EAX
JNZ 0x00128790
ADD RSP,0x18
XOR EAX,EAX
POP RBX
POP RBP
POP R12
POP R13
RET
LEA R13,[RBX + 0x10]
MOV RDI,R13
CALL 0x00126930
MOV R12,RAX
TEST RAX,RAX
JZ 0x00128783
MOV RAX,qword ptr [RBX + 0x10]
CMP qword ptr [RAX + 0x18],0x0
JZ 0x001287e8
MOV RDI,R12
CALL 0x00107070
ADD dword ptr [RBX + 0x18],0x1
ADD RSP,0x18
MOV EAX,0x1
POP RBX
POP RBP
POP R12
POP R13
RET
MOV qword ptr [RSP + 0x8],RSI
CALL 0x00128480
MOV RSI,qword ptr [RSP + 0x8]
TEST EAX,EAX
JNZ 0x00128777
JMP 0x00128783
CMP dword ptr [RBX + 0x18],0x1
JZ 0x00128801
LEA RSI,[0x13d7bc]
MOV RDI,R13
CALL 0x00127080
TEST EAX,EAX
JZ 0x00128783
SUB EBP,0x2
AND EBP,0xfffffffd
JNZ 0x00128820
LEA RSI,[0x1458a0]
MOV RDI,R13
CALL 0x00127080
TEST EAX,EAX
JZ 0x00128783
MOV RSI,R12
MOV RDI,R13
CALL 0x00127080
TEST EAX,EAX
JNZ 0x001287af
JMP 0x00128783
(translation_unit "undefined8 FUN_00128760(long param_1,undefined8 param_2,int param_3)\n\n{\n  long lVar1;\n  int iVar2;\n  void *__ptr;\n  \n  if (((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&\n     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)) {\n    lVar1 = param_1 + 0x10;\n    __ptr = (void *)FUN_00126930(lVar1);\n    if ((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_00128760(long param_1,undefined8 param_2,int param_3)\n\n{\n  long lVar1;\n  int iVar2;\n  void *__ptr;\n  \n  if (((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&\n     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)) {\n    lVar1 = param_1 + 0x10;\n    __ptr = (void *)FUN_00126930(lVar1);\n    if ((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00128760(long param_1,undefined8 param_2,int param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,int param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  void *__ptr;\n  \n  if (((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&\n     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)) {\n    lVar1 = param_1 + 0x10;\n    __ptr = (void *)FUN_00126930(lVar1);\n    if ((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }\n  }\n  return 0;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (if_statement "if (((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&\n     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)) {\n    lVar1 = param_1 + 0x10;\n    __ptr = (void *)FUN_00126930(lVar1);\n    if ((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }\n  }" if (parenthesized_expression "(((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&\n     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0))" ( (binary_expression "((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&\n     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)" (parenthesized_expression "((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0))" ( (binary_expression "(1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)" (parenthesized_expression "(1 < param_3 - 3U)" ( (binary_expression "1 < param_3 - 3U" number_literal < (binary_expression "param_3 - 3U" identifier - number_literal)) )) || (parenthesized_expression "(iVar2 = FUN_00128480(), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00128480(), iVar2 != 0" (assignment_expression "iVar2 = FUN_00128480()" identifier = (call_expression "FUN_00128480()" identifier (argument_list "()" ( )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127110(param_1,param_2)" identifier = (call_expression "FUN_00127110(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    lVar1 = param_1 + 0x10;\n    __ptr = (void *)FUN_00126930(lVar1);\n    if ((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }\n  }" { (expression_statement "lVar1 = param_1 + 0x10;" (assignment_expression "lVar1 = param_1 + 0x10" identifier = (binary_expression "param_1 + 0x10" identifier + number_literal)) ;) (expression_statement "__ptr = (void *)FUN_00126930(lVar1);" (assignment_expression "__ptr = (void *)FUN_00126930(lVar1)" identifier = (cast_expression "(void *)FUN_00126930(lVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00126930(lVar1)" identifier (argument_list "(lVar1)" ( identifier ))))) ;) (if_statement "if ((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }" if (parenthesized_expression "((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0))))))" ( (binary_expression "(__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))" (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))" ( (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0))))" ( (binary_expression "*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))" (binary_expression "*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0" (pointer_expression "*(long *)(*(long *)(param_1 + 0x10) + 0x18)" * (cast_expression "(long *)(*(long *)(param_1 + 0x10) + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x10) + 0x18)" ( (binary_expression "*(long *)(param_1 + 0x10) + 0x18" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + number_literal) )))) != number_literal) || (parenthesized_expression "((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))" ( (parenthesized_expression "(((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0))" ( (binary_expression "((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)" (parenthesized_expression "((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0))))" ( (binary_expression "(*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))" (parenthesized_expression "(*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0))" ( (binary_expression "*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)" (binary_expression "*(int *)(param_1 + 0x18) == 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) == number_literal) || (parenthesized_expression "(iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1,", ")" identifier = (call_expression "FUN_00127080(lVar1,", ")" identifier (argument_list "(lVar1,", ")" ( identifier , (string_literal "", "" " string_content ") )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))" ( (parenthesized_expression "((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0))" ( (binary_expression "(param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)" (binary_expression "(param_3 - 2U & 0xfffffffd) != 0" (parenthesized_expression "(param_3 - 2U & 0xfffffffd)" ( (binary_expression "param_3 - 2U & 0xfffffffd" (binary_expression "param_3 - 2U" identifier - number_literal) & number_literal) )) != number_literal) || (parenthesized_expression "(iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1,"register ")" identifier = (call_expression "FUN_00127080(lVar1,"register ")" identifier (argument_list "(lVar1,"register ")" ( identifier , (string_literal ""register "" " string_content ") )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) ))) )) && (parenthesized_expression "(iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1,__ptr)" identifier = (call_expression "FUN_00127080(lVar1,__ptr)" identifier (argument_list "(lVar1,__ptr)" ( identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) ))) )) ))) )) (compound_statement "{\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }" { (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;" (assignment_expression "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "bfd_boolean tg_function_parameter(void *p,char *name,debug_parm_kind kind,bfd_vma val)\n\n{\n  pr_handle *info;\n  bfd_boolean bVar1;\n  char *s;\n  \n  if (((1 < kind - DEBUG_PARM_REFERENCE) || (bVar1 = pr_reference_type(p), bVar1 != 0)) &&\n     (bVar1 = substitute_type((pr_handle *)p,name), bVar1 != 0)) {\n    info = (pr_handle *)((long)p + 0x10);\n    s = pop_type(info);\n    if ((s != (char *)0x0) &&\n       ((*(long *)(*(long *)((long)p + 0x10) + 0x18) != 0 ||\n        ((((*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)) &&\n          (((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0)))) &&\n         (bVar1 = append_type(info,s), bVar1 != 0)))))) {\n      free(s);\n      *(int *)((long)p + 0x18) = *(int *)((long)p + 0x18) + 1;\n      return 1;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "bfd_boolean tg_function_parameter(void *p,char *name,debug_parm_kind kind,bfd_vma val)\n\n{\n  pr_handle *info;\n  bfd_boolean bVar1;\n  char *s;\n  \n  if (((1 < kind - DEBUG_PARM_REFERENCE) || (bVar1 = pr_reference_type(p), bVar1 != 0)) &&\n     (bVar1 = substitute_type((pr_handle *)p,name), bVar1 != 0)) {\n    info = (pr_handle *)((long)p + 0x10);\n    s = pop_type(info);\n    if ((s != (char *)0x0) &&\n       ((*(long *)(*(long *)((long)p + 0x10) + 0x18) != 0 ||\n        ((((*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)) &&\n          (((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0)))) &&\n         (bVar1 = append_type(info,s), bVar1 != 0)))))) {\n      free(s);\n      *(int *)((long)p + 0x18) = *(int *)((long)p + 0x18) + 1;\n      return 1;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "tg_function_parameter(void *p,char *name,debug_parm_kind kind,bfd_vma val)" identifier (parameter_list "(void *p,char *name,debug_parm_kind kind,bfd_vma val)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "debug_parm_kind kind" type_identifier identifier) , (parameter_declaration "bfd_vma val" type_identifier identifier) ))) (compound_statement "{\n  pr_handle *info;\n  bfd_boolean bVar1;\n  char *s;\n  \n  if (((1 < kind - DEBUG_PARM_REFERENCE) || (bVar1 = pr_reference_type(p), bVar1 != 0)) &&\n     (bVar1 = substitute_type((pr_handle *)p,name), bVar1 != 0)) {\n    info = (pr_handle *)((long)p + 0x10);\n    s = pop_type(info);\n    if ((s != (char *)0x0) &&\n       ((*(long *)(*(long *)((long)p + 0x10) + 0x18) != 0 ||\n        ((((*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)) &&\n          (((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0)))) &&\n         (bVar1 = append_type(info,s), bVar1 != 0)))))) {\n      free(s);\n      *(int *)((long)p + 0x18) = *(int *)((long)p + 0x18) + 1;\n      return 1;\n    }\n  }\n  return 0;\n}" { (declaration "pr_handle *info;" type_identifier (pointer_declarator "*info" * identifier) ;) (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (declaration "char *s;" primitive_type (pointer_declarator "*s" * identifier) ;) (if_statement "if (((1 < kind - DEBUG_PARM_REFERENCE) || (bVar1 = pr_reference_type(p), bVar1 != 0)) &&\n     (bVar1 = substitute_type((pr_handle *)p,name), bVar1 != 0)) {\n    info = (pr_handle *)((long)p + 0x10);\n    s = pop_type(info);\n    if ((s != (char *)0x0) &&\n       ((*(long *)(*(long *)((long)p + 0x10) + 0x18) != 0 ||\n        ((((*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)) &&\n          (((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0)))) &&\n         (bVar1 = append_type(info,s), bVar1 != 0)))))) {\n      free(s);\n      *(int *)((long)p + 0x18) = *(int *)((long)p + 0x18) + 1;\n      return 1;\n    }\n  }" if (parenthesized_expression "(((1 < kind - DEBUG_PARM_REFERENCE) || (bVar1 = pr_reference_type(p), bVar1 != 0)) &&\n     (bVar1 = substitute_type((pr_handle *)p,name), bVar1 != 0))" ( (binary_expression "((1 < kind - DEBUG_PARM_REFERENCE) || (bVar1 = pr_reference_type(p), bVar1 != 0)) &&\n     (bVar1 = substitute_type((pr_handle *)p,name), bVar1 != 0)" (parenthesized_expression "((1 < kind - DEBUG_PARM_REFERENCE) || (bVar1 = pr_reference_type(p), bVar1 != 0))" ( (binary_expression "(1 < kind - DEBUG_PARM_REFERENCE) || (bVar1 = pr_reference_type(p), bVar1 != 0)" (parenthesized_expression "(1 < kind - DEBUG_PARM_REFERENCE)" ( (binary_expression "1 < kind - DEBUG_PARM_REFERENCE" number_literal < (binary_expression "kind - DEBUG_PARM_REFERENCE" identifier - identifier)) )) || (parenthesized_expression "(bVar1 = pr_reference_type(p), bVar1 != 0)" ( (comma_expression "bVar1 = pr_reference_type(p), bVar1 != 0" (assignment_expression "bVar1 = pr_reference_type(p)" identifier = (call_expression "pr_reference_type(p)" identifier (argument_list "(p)" ( identifier )))) , (binary_expression "bVar1 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(bVar1 = substitute_type((pr_handle *)p,name), bVar1 != 0)" ( (comma_expression "bVar1 = substitute_type((pr_handle *)p,name), bVar1 != 0" (assignment_expression "bVar1 = substitute_type((pr_handle *)p,name)" identifier = (call_expression "substitute_type((pr_handle *)p,name)" identifier (argument_list "((pr_handle *)p,name)" ( (cast_expression "(pr_handle *)p" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) , (binary_expression "bVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    info = (pr_handle *)((long)p + 0x10);\n    s = pop_type(info);\n    if ((s != (char *)0x0) &&\n       ((*(long *)(*(long *)((long)p + 0x10) + 0x18) != 0 ||\n        ((((*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)) &&\n          (((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0)))) &&\n         (bVar1 = append_type(info,s), bVar1 != 0)))))) {\n      free(s);\n      *(int *)((long)p + 0x18) = *(int *)((long)p + 0x18) + 1;\n      return 1;\n    }\n  }" { (expression_statement "info = (pr_handle *)((long)p + 0x10);" (assignment_expression "info = (pr_handle *)((long)p + 0x10)" identifier = (cast_expression "(pr_handle *)((long)p + 0x10)" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x10)" ( (binary_expression "(long)p + 0x10" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (expression_statement "s = pop_type(info);" (assignment_expression "s = pop_type(info)" identifier = (call_expression "pop_type(info)" identifier (argument_list "(info)" ( identifier )))) ;) (if_statement "if ((s != (char *)0x0) &&\n       ((*(long *)(*(long *)((long)p + 0x10) + 0x18) != 0 ||\n        ((((*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)) &&\n          (((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0)))) &&\n         (bVar1 = append_type(info,s), bVar1 != 0)))))) {\n      free(s);\n      *(int *)((long)p + 0x18) = *(int *)((long)p + 0x18) + 1;\n      return 1;\n    }" if (parenthesized_expression "((s != (char *)0x0) &&\n       ((*(long *)(*(long *)((long)p + 0x10) + 0x18) != 0 ||\n        ((((*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)) &&\n          (((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0)))) &&\n         (bVar1 = append_type(info,s), bVar1 != 0))))))" ( (binary_expression "(s != (char *)0x0) &&\n       ((*(long *)(*(long *)((long)p + 0x10) + 0x18) != 0 ||\n        ((((*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)) &&\n          (((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0)))) &&\n         (bVar1 = append_type(info,s), bVar1 != 0)))))" (parenthesized_expression "(s != (char *)0x0)" ( (binary_expression "s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((*(long *)(*(long *)((long)p + 0x10) + 0x18) != 0 ||\n        ((((*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)) &&\n          (((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0)))) &&\n         (bVar1 = append_type(info,s), bVar1 != 0)))))" ( (parenthesized_expression "(*(long *)(*(long *)((long)p + 0x10) + 0x18) != 0 ||\n        ((((*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)) &&\n          (((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0)))) &&\n         (bVar1 = append_type(info,s), bVar1 != 0))))" ( (binary_expression "*(long *)(*(long *)((long)p + 0x10) + 0x18) != 0 ||\n        ((((*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)) &&\n          (((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0)))) &&\n         (bVar1 = append_type(info,s), bVar1 != 0)))" (binary_expression "*(long *)(*(long *)((long)p + 0x10) + 0x18) != 0" (pointer_expression "*(long *)(*(long *)((long)p + 0x10) + 0x18)" * (cast_expression "(long *)(*(long *)((long)p + 0x10) + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)((long)p + 0x10) + 0x18)" ( (binary_expression "*(long *)((long)p + 0x10) + 0x18" (pointer_expression "*(long *)((long)p + 0x10)" * (cast_expression "(long *)((long)p + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x10)" ( (binary_expression "(long)p + 0x10" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) + number_literal) )))) != number_literal) || (parenthesized_expression "((((*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)) &&\n          (((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0)))) &&\n         (bVar1 = append_type(info,s), bVar1 != 0)))" ( (parenthesized_expression "(((*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)) &&\n          (((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0)))) &&\n         (bVar1 = append_type(info,s), bVar1 != 0))" ( (binary_expression "((*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)) &&\n          (((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0)))) &&\n         (bVar1 = append_type(info,s), bVar1 != 0)" (parenthesized_expression "((*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)) &&\n          (((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0))))" ( (binary_expression "(*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)) &&\n          (((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0)))" (parenthesized_expression "(*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0))" ( (binary_expression "*(int *)((long)p + 0x18) == 1 || (bVar1 = append_type(info,", "), bVar1 != 0)" (binary_expression "*(int *)((long)p + 0x18) == 1" (pointer_expression "*(int *)((long)p + 0x18)" * (cast_expression "(int *)((long)p + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x18)" ( (binary_expression "(long)p + 0x18" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == number_literal) || (parenthesized_expression "(bVar1 = append_type(info,", "), bVar1 != 0)" ( (comma_expression "bVar1 = append_type(info,", "), bVar1 != 0" (assignment_expression "bVar1 = append_type(info,", ")" identifier = (call_expression "append_type(info,", ")" identifier (argument_list "(info,", ")" ( identifier , (string_literal "", "" " string_content ") )))) , (binary_expression "bVar1 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0)))" ( (parenthesized_expression "((kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0))" ( (binary_expression "(kind - DEBUG_PARM_REG & 0xfffffffd) != 0 ||\n           (bVar1 = append_type(info,"register "), bVar1 != 0)" (binary_expression "(kind - DEBUG_PARM_REG & 0xfffffffd) != 0" (parenthesized_expression "(kind - DEBUG_PARM_REG & 0xfffffffd)" ( (binary_expression "kind - DEBUG_PARM_REG & 0xfffffffd" (binary_expression "kind - DEBUG_PARM_REG" identifier - identifier) & number_literal) )) != number_literal) || (parenthesized_expression "(bVar1 = append_type(info,"register "), bVar1 != 0)" ( (comma_expression "bVar1 = append_type(info,"register "), bVar1 != 0" (assignment_expression "bVar1 = append_type(info,"register ")" identifier = (call_expression "append_type(info,"register ")" identifier (argument_list "(info,"register ")" ( identifier , (string_literal ""register "" " string_content ") )))) , (binary_expression "bVar1 != 0" identifier != number_literal)) ))) )) ))) )) && (parenthesized_expression "(bVar1 = append_type(info,s), bVar1 != 0)" ( (comma_expression "bVar1 = append_type(info,s), bVar1 != 0" (assignment_expression "bVar1 = append_type(info,s)" identifier = (call_expression "append_type(info,s)" identifier (argument_list "(info,s)" ( identifier , identifier )))) , (binary_expression "bVar1 != 0" identifier != number_literal)) ))) )) ))) )) ))) )) (compound_statement "{\n      free(s);\n      *(int *)((long)p + 0x18) = *(int *)((long)p + 0x18) + 1;\n      return 1;\n    }" { (expression_statement "free(s);" (call_expression "free(s)" identifier (argument_list "(s)" ( identifier ))) ;) (expression_statement "*(int *)((long)p + 0x18) = *(int *)((long)p + 0x18) + 1;" (assignment_expression "*(int *)((long)p + 0x18) = *(int *)((long)p + 0x18) + 1" (pointer_expression "*(int *)((long)p + 0x18)" * (cast_expression "(int *)((long)p + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x18)" ( (binary_expression "(long)p + 0x18" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = (binary_expression "*(int *)((long)p + 0x18) + 1" (pointer_expression "*(int *)((long)p + 0x18)" * (cast_expression "(int *)((long)p + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x18)" ( (binary_expression "(long)p + 0x18" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined8 FUN_00128760(long param_1,undefined8 param_2,int param_3)\n\n{\n  long lVar1;\n  int iVar2;\n  void *__ptr;\n  \n  if (((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&\n     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)) {\n    lVar1 = param_1 + 0x10;\n    __ptr = (void *)FUN_00126930(lVar1);\n    if ((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_00128760(long param_1,undefined8 param_2,int param_3)\n\n{\n  long lVar1;\n  int iVar2;\n  void *__ptr;\n  \n  if (((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&\n     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)) {\n    lVar1 = param_1 + 0x10;\n    __ptr = (void *)FUN_00126930(lVar1);\n    if ((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00128760(long param_1,undefined8 param_2,int param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,int param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  void *__ptr;\n  \n  if (((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&\n     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)) {\n    lVar1 = param_1 + 0x10;\n    __ptr = (void *)FUN_00126930(lVar1);\n    if ((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }\n  }\n  return 0;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (if_statement "if (((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&\n     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)) {\n    lVar1 = param_1 + 0x10;\n    __ptr = (void *)FUN_00126930(lVar1);\n    if ((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }\n  }" if (parenthesized_expression "(((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&\n     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0))" ( (binary_expression "((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&\n     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)" (parenthesized_expression "((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0))" ( (binary_expression "(1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)" (parenthesized_expression "(1 < param_3 - 3U)" ( (binary_expression "1 < param_3 - 3U" number_literal < (binary_expression "param_3 - 3U" identifier - number_literal)) )) || (parenthesized_expression "(iVar2 = FUN_00128480(), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00128480(), iVar2 != 0" (assignment_expression "iVar2 = FUN_00128480()" identifier = (call_expression "FUN_00128480()" identifier (argument_list "()" ( )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127110(param_1,param_2)" identifier = (call_expression "FUN_00127110(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    lVar1 = param_1 + 0x10;\n    __ptr = (void *)FUN_00126930(lVar1);\n    if ((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }\n  }" { (expression_statement "lVar1 = param_1 + 0x10;" (assignment_expression "lVar1 = param_1 + 0x10" identifier = (binary_expression "param_1 + 0x10" identifier + number_literal)) ;) (expression_statement "__ptr = (void *)FUN_00126930(lVar1);" (assignment_expression "__ptr = (void *)FUN_00126930(lVar1)" identifier = (cast_expression "(void *)FUN_00126930(lVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00126930(lVar1)" identifier (argument_list "(lVar1)" ( identifier ))))) ;) (if_statement "if ((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }" if (parenthesized_expression "((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0))))))" ( (binary_expression "(__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))" (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))" ( (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0))))" ( (binary_expression "*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))" (binary_expression "*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0" (pointer_expression "*(long *)(*(long *)(param_1 + 0x10) + 0x18)" * (cast_expression "(long *)(*(long *)(param_1 + 0x10) + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x10) + 0x18)" ( (binary_expression "*(long *)(param_1 + 0x10) + 0x18" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + number_literal) )))) != number_literal) || (parenthesized_expression "((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))" ( (parenthesized_expression "(((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0))" ( (binary_expression "((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)" (parenthesized_expression "((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0))))" ( (binary_expression "(*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))" (parenthesized_expression "(*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0))" ( (binary_expression "*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)" (binary_expression "*(int *)(param_1 + 0x18) == 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) == number_literal) || (parenthesized_expression "(iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1,", ")" identifier = (call_expression "FUN_00127080(lVar1,", ")" identifier (argument_list "(lVar1,", ")" ( identifier , (string_literal "", "" " string_content ") )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))" ( (parenthesized_expression "((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0))" ( (binary_expression "(param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)" (binary_expression "(param_3 - 2U & 0xfffffffd) != 0" (parenthesized_expression "(param_3 - 2U & 0xfffffffd)" ( (binary_expression "param_3 - 2U & 0xfffffffd" (binary_expression "param_3 - 2U" identifier - number_literal) & number_literal) )) != number_literal) || (parenthesized_expression "(iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1,"register ")" identifier = (call_expression "FUN_00127080(lVar1,"register ")" identifier (argument_list "(lVar1,"register ")" ( identifier , (string_literal ""register "" " string_content ") )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) ))) )) && (parenthesized_expression "(iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1,__ptr)" identifier = (call_expression "FUN_00127080(lVar1,__ptr)" identifier (argument_list "(lVar1,__ptr)" ( identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) ))) )) ))) )) (compound_statement "{\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }" { (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;" (assignment_expression "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) )) != LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) , (binary_expression IDENT != LIT)) ))) )) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) ))) )) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (return_statement return LIT ;) })) })) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_00128760(long param_1,undefined8 param_2,int param_3)\n\n{\n  long lVar1;\n  int iVar2;\n  void *__ptr;\n  \n  if (((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&\n     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)) {\n    lVar1 = param_1 + 0x10;\n    __ptr = (void *)FUN_00126930(lVar1);\n    if ((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }\n  }\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_00128760(long param_1,undefined8 param_2,int param_3)" (identifier "FUN_00128760") (parameter_list "(long param_1,undefined8 param_2,int param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  void *__ptr;\n  \n  if (((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&\n     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)) {\n    lVar1 = param_1 + 0x10;\n    __ptr = (void *)FUN_00126930(lVar1);\n    if ((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (if_statement "if (((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&\n     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)) {\n    lVar1 = param_1 + 0x10;\n    __ptr = (void *)FUN_00126930(lVar1);\n    if ((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }\n  }" (if "if") (parenthesized_expression "(((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&\n     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0))" (( "(") (binary_expression "((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&\n     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)" (parenthesized_expression "((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0))" (( "(") (binary_expression "(1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)" (parenthesized_expression "(1 < param_3 - 3U)" (( "(") (binary_expression "1 < param_3 - 3U" (number_literal "1") (< "<") (binary_expression "param_3 - 3U" (identifier "param_3") (- "-") (number_literal "3U"))) () ")")) (|| "||") (parenthesized_expression "(iVar2 = FUN_00128480(), iVar2 != 0)" (( "(") (comma_expression "iVar2 = FUN_00128480(), iVar2 != 0" (assignment_expression "iVar2 = FUN_00128480()" (identifier "iVar2") (= "=") (call_expression "FUN_00128480()" (identifier "FUN_00128480") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)" (( "(") (comma_expression "iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127110(param_1,param_2)" (identifier "iVar2") (= "=") (call_expression "FUN_00127110(param_1,param_2)" (identifier "FUN_00127110") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    lVar1 = param_1 + 0x10;\n    __ptr = (void *)FUN_00126930(lVar1);\n    if ((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }\n  }" ({ "{") (expression_statement "lVar1 = param_1 + 0x10;" (assignment_expression "lVar1 = param_1 + 0x10" (identifier "lVar1") (= "=") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "__ptr = (void *)FUN_00126930(lVar1);" (assignment_expression "__ptr = (void *)FUN_00126930(lVar1)" (identifier "__ptr") (= "=") (cast_expression "(void *)FUN_00126930(lVar1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00126930(lVar1)" (identifier "FUN_00126930") (argument_list "(lVar1)" (( "(") (identifier "lVar1") () ")"))))) (; ";")) (if_statement "if ((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }" (if "if") (parenthesized_expression "((__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0))))))" (( "(") (binary_expression "(__ptr != (void *)0x0) &&\n       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))" (parenthesized_expression "(__ptr != (void *)0x0)" (( "(") (binary_expression "__ptr != (void *)0x0" (identifier "__ptr") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))" (( "(") (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0))))" (( "(") (binary_expression "*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||\n        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))" (binary_expression "*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0" (pointer_expression "*(long *)(*(long *)(param_1 + 0x10) + 0x18)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0x10) + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x10) + 0x18)" (( "(") (binary_expression "*(long *)(param_1 + 0x10) + 0x18" (pointer_expression "*(long *)(param_1 + 0x10)" (* "*") (cast_expression "(long *)(param_1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (number_literal "0")) (|| "||") (parenthesized_expression "((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))" (( "(") (parenthesized_expression "(((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0))" (( "(") (binary_expression "((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&\n         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)" (parenthesized_expression "((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0))))" (( "(") (binary_expression "(*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&\n          (((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))" (parenthesized_expression "(*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0))" (( "(") (binary_expression "*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)" (binary_expression "*(int *)(param_1 + 0x18) == 1" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (== "==") (number_literal "1")) (|| "||") (parenthesized_expression "(iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)" (( "(") (comma_expression "iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1,", ")" (identifier "iVar2") (= "=") (call_expression "FUN_00127080(lVar1,", ")" (identifier "FUN_00127080") (argument_list "(lVar1,", ")" (( "(") (identifier "lVar1") (, ",") (string_literal "", "" (" """) (string_content ", ") (" """)) () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))" (( "(") (parenthesized_expression "((param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0))" (( "(") (binary_expression "(param_3 - 2U & 0xfffffffd) != 0 ||\n           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)" (binary_expression "(param_3 - 2U & 0xfffffffd) != 0" (parenthesized_expression "(param_3 - 2U & 0xfffffffd)" (( "(") (binary_expression "param_3 - 2U & 0xfffffffd" (binary_expression "param_3 - 2U" (identifier "param_3") (- "-") (number_literal "2U")) (& "&") (number_literal "0xfffffffd")) () ")")) (!= "!=") (number_literal "0")) (|| "||") (parenthesized_expression "(iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)" (( "(") (comma_expression "iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1,"register ")" (identifier "iVar2") (= "=") (call_expression "FUN_00127080(lVar1,"register ")" (identifier "FUN_00127080") (argument_list "(lVar1,"register ")" (( "(") (identifier "lVar1") (, ",") (string_literal ""register "" (" """) (string_content "register ") (" """)) () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)" (( "(") (comma_expression "iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0" (assignment_expression "iVar2 = FUN_00127080(lVar1,__ptr)" (identifier "iVar2") (= "=") (call_expression "FUN_00127080(lVar1,__ptr)" (identifier "FUN_00127080") (argument_list "(lVar1,__ptr)" (( "(") (identifier "lVar1") (, ",") (identifier "__ptr") () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      free(__ptr);\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n      return 1;\n    }" ({ "{") (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;" (assignment_expression "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

type_1 function_1(void *p,char *name,type_2 var_1,type_3 val)

{
  type_4 *info;
  type_1 var_4;
  char *var_7;
  
  if (((1 < var_1 - var_2) || (var_4 = var_3(p), var_4 != 0)) &&
     (var_4 = var_5((type_4 *)p,name), var_4 != 0)) {
    info = (type_4 *)((long)p + 0x10);
    var_7 = var_6(info);
    if ((var_7 != (char *)0x0) &&
       ((*(long *)(*(long *)((long)p + 0x10) + 0x18) != 0 ||
        ((((*(int *)((long)p + 0x18) == 1 || (var_4 = var_8(info,", "), var_4 != 0)) &&
          (((var_1 - var_9 & 0xfffffffd) != 0 ||
           (var_4 = var_8(info,"register "), var_4 != 0)))) &&
         (var_4 = var_8(info,var_7), var_4 != 0)))))) {
      var_10(var_7);
      *(int *)((long)p + 0x18) = *(int *)((long)p + 0x18) + 1;
      return 1;
    }
  }
  return 0;
}


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

undefined8 MASKED(long param_1,undefined8 param_2,int param_3)

{
  long lVar1;
  int iVar2;
  void *__ptr;
  
  if (((1 < param_3 - 3U) || (iVar2 = FUN_00128480(), iVar2 != 0)) &&
     (iVar2 = FUN_00127110(param_1,param_2), iVar2 != 0)) {
    lVar1 = param_1 + 0x10;
    __ptr = (void *)FUN_00126930(lVar1);
    if ((__ptr != (void *)0x0) &&
       ((*(long *)(*(long *)(param_1 + 0x10) + 0x18) != 0 ||
        ((((*(int *)(param_1 + 0x18) == 1 || (iVar2 = FUN_00127080(lVar1,", "), iVar2 != 0)) &&
          (((param_3 - 2U & 0xfffffffd) != 0 ||
           (iVar2 = FUN_00127080(lVar1,"register "), iVar2 != 0)))) &&
         (iVar2 = FUN_00127080(lVar1,__ptr), iVar2 != 0)))))) {
      free(__ptr);
      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;
      return 1;
    }
  }
  return 0;
}

