
bfd_boolean __regparm3 parse_stab_type_number(char **pp,int *typenums,char *p_end)

{
  char *p;
  bfd_vma bVar1;
  
  p = *pp;
  if (*p != '(') {
    *typenums = 0;
    bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);
    typenums[1] = (int)bVar1;
    return 1;
  }
  *pp = p + 1;
  bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);
  *typenums = (int)bVar1;
  if (**pp == ',') {
    *pp = *pp + 1;
    bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);
    typenums[1] = (int)bVar1;
    if (**pp == ')') {
      *pp = *pp + 1;
      return 1;
    }
  }
  bad_stab(p);
  return 0;
}



undefined4 __regparm3 FUN_0003f1b0(int *param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  
  if (*(char *)*param_1 != '(') {
    *param_2 = 0;
    uVar1 = FUN_0003f0a0();
    param_2[1] = uVar1;
    return 1;
  }
  *param_1 = (int)((char *)*param_1 + 1);
  uVar1 = FUN_0003f0a0();
  *param_2 = uVar1;
  if (*(char *)*param_1 == ',') {
    *param_1 = (int)((char *)*param_1 + 1);
    uVar1 = FUN_0003f0a0();
    param_2[1] = uVar1;
    if (*(char *)*param_1 == ')') {
      *param_1 = (int)((char *)*param_1 + 1);
      return 1;
    }
  }
  FUN_0003efb0();
  return 0;
}


PUSH EBP
MOV EBP,ECX
PUSH EDI
MOV EDI,EDX
PUSH ESI
PUSH EBX
MOV EBX,EAX
SUB ESP,0xc
MOV ESI,dword ptr [EAX]
CMP byte ptr [ESI],0x28
JZ 0x0003f1e8
MOV dword ptr [EDX],0x0
XOR EDX,EDX
CALL 0x0003f0a0
MOV dword ptr [EDI + 0x4],EAX
ADD ESP,0xc
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[ESI + 0x1]
XOR EDX,EDX
MOV dword ptr [EBX],EAX
MOV EAX,EBX
CALL 0x0003f0a0
MOV dword ptr [EDI],EAX
MOV EAX,dword ptr [EBX]
CMP byte ptr [EAX],0x2c
JNZ 0x0003f230
ADD EAX,0x1
XOR EDX,EDX
MOV ECX,EBP
MOV dword ptr [EBX],EAX
MOV EAX,EBX
CALL 0x0003f0a0
MOV dword ptr [EDI + 0x4],EAX
MOV EAX,dword ptr [EBX]
CMP byte ptr [EAX],0x29
JNZ 0x0003f230
ADD EAX,0x1
MOV dword ptr [EBX],EAX
ADD ESP,0xc
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,ESI
CALL 0x0003efb0
ADD ESP,0xc
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "undefined4 __regparm3 FUN_0003f1b0(int *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(char *)*param_1 != '(') {\n    *param_2 = 0;\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    return 1;\n  }\n  *param_1 = (int)((char *)*param_1 + 1);\n  uVar1 = FUN_0003f0a0();\n  *param_2 = uVar1;\n  if (*(char *)*param_1 == ',') {\n    *param_1 = (int)((char *)*param_1 + 1);\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    if (*(char *)*param_1 == ')') {\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }\n  }\n  FUN_0003efb0();\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_0003f1b0(int *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(char *)*param_1 != '(') {\n    *param_2 = 0;\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    return 1;\n  }\n  *param_1 = (int)((char *)*param_1 + 1);\n  uVar1 = FUN_0003f0a0();\n  *param_2 = uVar1;\n  if (*(char *)*param_1 == ',') {\n    *param_1 = (int)((char *)*param_1 + 1);\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    if (*(char *)*param_1 == ')') {\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }\n  }\n  FUN_0003efb0();\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0003f1b0(int *param_1,undefined4 *param_2)" identifier (parameter_list "(int *param_1,undefined4 *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(char *)*param_1 != '(') {\n    *param_2 = 0;\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    return 1;\n  }\n  *param_1 = (int)((char *)*param_1 + 1);\n  uVar1 = FUN_0003f0a0();\n  *param_2 = uVar1;\n  if (*(char *)*param_1 == ',') {\n    *param_1 = (int)((char *)*param_1 + 1);\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    if (*(char *)*param_1 == ')') {\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }\n  }\n  FUN_0003efb0();\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(char *)*param_1 != '(') {\n    *param_2 = 0;\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    return 1;\n  }" if (parenthesized_expression "(*(char *)*param_1 != '(')" ( (binary_expression "*(char *)*param_1 != '('" (pointer_expression "*(char *)*param_1" * (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) != (char_literal "'('" ' character ')) )) (compound_statement "{\n    *param_2 = 0;\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    return 1;\n  }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "uVar1 = FUN_0003f0a0();" (assignment_expression "uVar1 = FUN_0003f0a0()" identifier = (call_expression "FUN_0003f0a0()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_2[1] = uVar1;" (assignment_expression "param_2[1] = uVar1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "*param_1 = (int)((char *)*param_1 + 1);" (assignment_expression "*param_1 = (int)((char *)*param_1 + 1)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)((char *)*param_1 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((char *)*param_1 + 1)" ( (binary_expression "(char *)*param_1 + 1" (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) + number_literal) )))) ;) (expression_statement "uVar1 = FUN_0003f0a0();" (assignment_expression "uVar1 = FUN_0003f0a0()" identifier = (call_expression "FUN_0003f0a0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*param_2 = uVar1;" (assignment_expression "*param_2 = uVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) (if_statement "if (*(char *)*param_1 == ',') {\n    *param_1 = (int)((char *)*param_1 + 1);\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    if (*(char *)*param_1 == ')') {\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }\n  }" if (parenthesized_expression "(*(char *)*param_1 == ',')" ( (binary_expression "*(char *)*param_1 == ','" (pointer_expression "*(char *)*param_1" * (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) == (char_literal "','" ' character ')) )) (compound_statement "{\n    *param_1 = (int)((char *)*param_1 + 1);\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    if (*(char *)*param_1 == ')') {\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }\n  }" { (expression_statement "*param_1 = (int)((char *)*param_1 + 1);" (assignment_expression "*param_1 = (int)((char *)*param_1 + 1)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)((char *)*param_1 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((char *)*param_1 + 1)" ( (binary_expression "(char *)*param_1 + 1" (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) + number_literal) )))) ;) (expression_statement "uVar1 = FUN_0003f0a0();" (assignment_expression "uVar1 = FUN_0003f0a0()" identifier = (call_expression "FUN_0003f0a0()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_2[1] = uVar1;" (assignment_expression "param_2[1] = uVar1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (*(char *)*param_1 == ')') {\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }" if (parenthesized_expression "(*(char *)*param_1 == ')')" ( (binary_expression "*(char *)*param_1 == ')'" (pointer_expression "*(char *)*param_1" * (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) == (char_literal "')'" ' character ')) )) (compound_statement "{\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }" { (expression_statement "*param_1 = (int)((char *)*param_1 + 1);" (assignment_expression "*param_1 = (int)((char *)*param_1 + 1)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)((char *)*param_1 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((char *)*param_1 + 1)" ( (binary_expression "(char *)*param_1 + 1" (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) + number_literal) )))) ;) (return_statement "return 1;" return number_literal ;) })) })) (expression_statement "FUN_0003efb0();" (call_expression "FUN_0003efb0()" identifier (argument_list "()" ( ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "bfd_boolean __regparm3 parse_stab_type_number(char **pp,int *typenums,char *p_end)\n\n{\n  char *p;\n  bfd_vma bVar1;\n  \n  p = *pp;\n  if (*p != '(') {\n    *typenums = 0;\n    bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);\n    typenums[1] = (int)bVar1;\n    return 1;\n  }\n  *pp = p + 1;\n  bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);\n  *typenums = (int)bVar1;\n  if (**pp == ',') {\n    *pp = *pp + 1;\n    bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);\n    typenums[1] = (int)bVar1;\n    if (**pp == ')') {\n      *pp = *pp + 1;\n      return 1;\n    }\n  }\n  bad_stab(p);\n  return 0;\n}\n\n" (function_definition "bfd_boolean __regparm3 parse_stab_type_number(char **pp,int *typenums,char *p_end)\n\n{\n  char *p;\n  bfd_vma bVar1;\n  \n  p = *pp;\n  if (*p != '(') {\n    *typenums = 0;\n    bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);\n    typenums[1] = (int)bVar1;\n    return 1;\n  }\n  *pp = p + 1;\n  bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);\n  *typenums = (int)bVar1;\n  if (**pp == ',') {\n    *pp = *pp + 1;\n    bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);\n    typenums[1] = (int)bVar1;\n    if (**pp == ')') {\n      *pp = *pp + 1;\n      return 1;\n    }\n  }\n  bad_stab(p);\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "parse_stab_type_number(char **pp,int *typenums,char *p_end)" identifier (parameter_list "(char **pp,int *typenums,char *p_end)" ( (parameter_declaration "char **pp" primitive_type (pointer_declarator "**pp" * (pointer_declarator "*pp" * identifier))) , (parameter_declaration "int *typenums" primitive_type (pointer_declarator "*typenums" * identifier)) , (parameter_declaration "char *p_end" primitive_type (pointer_declarator "*p_end" * identifier)) ))) (compound_statement "{\n  char *p;\n  bfd_vma bVar1;\n  \n  p = *pp;\n  if (*p != '(') {\n    *typenums = 0;\n    bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);\n    typenums[1] = (int)bVar1;\n    return 1;\n  }\n  *pp = p + 1;\n  bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);\n  *typenums = (int)bVar1;\n  if (**pp == ',') {\n    *pp = *pp + 1;\n    bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);\n    typenums[1] = (int)bVar1;\n    if (**pp == ')') {\n      *pp = *pp + 1;\n      return 1;\n    }\n  }\n  bad_stab(p);\n  return 0;\n}" { (declaration "char *p;" primitive_type (pointer_declarator "*p" * identifier) ;) (declaration "bfd_vma bVar1;" type_identifier identifier ;) (expression_statement "p = *pp;" (assignment_expression "p = *pp" identifier = (pointer_expression "*pp" * identifier)) ;) (if_statement "if (*p != '(') {\n    *typenums = 0;\n    bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);\n    typenums[1] = (int)bVar1;\n    return 1;\n  }" if (parenthesized_expression "(*p != '(')" ( (binary_expression "*p != '('" (pointer_expression "*p" * identifier) != (char_literal "'('" ' character ')) )) (compound_statement "{\n    *typenums = 0;\n    bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);\n    typenums[1] = (int)bVar1;\n    return 1;\n  }" { (expression_statement "*typenums = 0;" (assignment_expression "*typenums = 0" (pointer_expression "*typenums" * identifier) = number_literal) ;) (expression_statement "bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);" (assignment_expression "bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end)" identifier = (call_expression "parse_number(pp,(bfd_boolean *)0x0,p_end)" identifier (argument_list "(pp,(bfd_boolean *)0x0,p_end)" ( identifier , (cast_expression "(bfd_boolean *)0x0" ( (type_descriptor "bfd_boolean *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier )))) ;) (expression_statement "typenums[1] = (int)bVar1;" (assignment_expression "typenums[1] = (int)bVar1" (subscript_expression "typenums[1]" identifier [ number_literal ]) = (cast_expression "(int)bVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "*pp = p + 1;" (assignment_expression "*pp = p + 1" (pointer_expression "*pp" * identifier) = (binary_expression "p + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);" (assignment_expression "bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end)" identifier = (call_expression "parse_number(pp,(bfd_boolean *)0x0,p_end)" identifier (argument_list "(pp,(bfd_boolean *)0x0,p_end)" ( identifier , (cast_expression "(bfd_boolean *)0x0" ( (type_descriptor "bfd_boolean *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier )))) ;) (expression_statement "*typenums = (int)bVar1;" (assignment_expression "*typenums = (int)bVar1" (pointer_expression "*typenums" * identifier) = (cast_expression "(int)bVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (**pp == ',') {\n    *pp = *pp + 1;\n    bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);\n    typenums[1] = (int)bVar1;\n    if (**pp == ')') {\n      *pp = *pp + 1;\n      return 1;\n    }\n  }" if (parenthesized_expression "(**pp == ',')" ( (binary_expression "**pp == ','" (pointer_expression "**pp" * (pointer_expression "*pp" * identifier)) == (char_literal "','" ' character ')) )) (compound_statement "{\n    *pp = *pp + 1;\n    bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);\n    typenums[1] = (int)bVar1;\n    if (**pp == ')') {\n      *pp = *pp + 1;\n      return 1;\n    }\n  }" { (expression_statement "*pp = *pp + 1;" (assignment_expression "*pp = *pp + 1" (pointer_expression "*pp" * identifier) = (binary_expression "*pp + 1" (pointer_expression "*pp" * identifier) + number_literal)) ;) (expression_statement "bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end);" (assignment_expression "bVar1 = parse_number(pp,(bfd_boolean *)0x0,p_end)" identifier = (call_expression "parse_number(pp,(bfd_boolean *)0x0,p_end)" identifier (argument_list "(pp,(bfd_boolean *)0x0,p_end)" ( identifier , (cast_expression "(bfd_boolean *)0x0" ( (type_descriptor "bfd_boolean *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier )))) ;) (expression_statement "typenums[1] = (int)bVar1;" (assignment_expression "typenums[1] = (int)bVar1" (subscript_expression "typenums[1]" identifier [ number_literal ]) = (cast_expression "(int)bVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (**pp == ')') {\n      *pp = *pp + 1;\n      return 1;\n    }" if (parenthesized_expression "(**pp == ')')" ( (binary_expression "**pp == ')'" (pointer_expression "**pp" * (pointer_expression "*pp" * identifier)) == (char_literal "')'" ' character ')) )) (compound_statement "{\n      *pp = *pp + 1;\n      return 1;\n    }" { (expression_statement "*pp = *pp + 1;" (assignment_expression "*pp = *pp + 1" (pointer_expression "*pp" * identifier) = (binary_expression "*pp + 1" (pointer_expression "*pp" * identifier) + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) })) (expression_statement "bad_stab(p);" (call_expression "bad_stab(p)" identifier (argument_list "(p)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 __regparm3 FUN_0003f1b0(int *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(char *)*param_1 != '(') {\n    *param_2 = 0;\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    return 1;\n  }\n  *param_1 = (int)((char *)*param_1 + 1);\n  uVar1 = FUN_0003f0a0();\n  *param_2 = uVar1;\n  if (*(char *)*param_1 == ',') {\n    *param_1 = (int)((char *)*param_1 + 1);\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    if (*(char *)*param_1 == ')') {\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }\n  }\n  FUN_0003efb0();\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_0003f1b0(int *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(char *)*param_1 != '(') {\n    *param_2 = 0;\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    return 1;\n  }\n  *param_1 = (int)((char *)*param_1 + 1);\n  uVar1 = FUN_0003f0a0();\n  *param_2 = uVar1;\n  if (*(char *)*param_1 == ',') {\n    *param_1 = (int)((char *)*param_1 + 1);\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    if (*(char *)*param_1 == ')') {\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }\n  }\n  FUN_0003efb0();\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0003f1b0(int *param_1,undefined4 *param_2)" identifier (parameter_list "(int *param_1,undefined4 *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(char *)*param_1 != '(') {\n    *param_2 = 0;\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    return 1;\n  }\n  *param_1 = (int)((char *)*param_1 + 1);\n  uVar1 = FUN_0003f0a0();\n  *param_2 = uVar1;\n  if (*(char *)*param_1 == ',') {\n    *param_1 = (int)((char *)*param_1 + 1);\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    if (*(char *)*param_1 == ')') {\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }\n  }\n  FUN_0003efb0();\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(char *)*param_1 != '(') {\n    *param_2 = 0;\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    return 1;\n  }" if (parenthesized_expression "(*(char *)*param_1 != '(')" ( (binary_expression "*(char *)*param_1 != '('" (pointer_expression "*(char *)*param_1" * (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) != (char_literal "'('" ' character ')) )) (compound_statement "{\n    *param_2 = 0;\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    return 1;\n  }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "uVar1 = FUN_0003f0a0();" (assignment_expression "uVar1 = FUN_0003f0a0()" identifier = (call_expression "FUN_0003f0a0()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_2[1] = uVar1;" (assignment_expression "param_2[1] = uVar1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "*param_1 = (int)((char *)*param_1 + 1);" (assignment_expression "*param_1 = (int)((char *)*param_1 + 1)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)((char *)*param_1 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((char *)*param_1 + 1)" ( (binary_expression "(char *)*param_1 + 1" (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) + number_literal) )))) ;) (expression_statement "uVar1 = FUN_0003f0a0();" (assignment_expression "uVar1 = FUN_0003f0a0()" identifier = (call_expression "FUN_0003f0a0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*param_2 = uVar1;" (assignment_expression "*param_2 = uVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) (if_statement "if (*(char *)*param_1 == ',') {\n    *param_1 = (int)((char *)*param_1 + 1);\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    if (*(char *)*param_1 == ')') {\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }\n  }" if (parenthesized_expression "(*(char *)*param_1 == ',')" ( (binary_expression "*(char *)*param_1 == ','" (pointer_expression "*(char *)*param_1" * (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) == (char_literal "','" ' character ')) )) (compound_statement "{\n    *param_1 = (int)((char *)*param_1 + 1);\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    if (*(char *)*param_1 == ')') {\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }\n  }" { (expression_statement "*param_1 = (int)((char *)*param_1 + 1);" (assignment_expression "*param_1 = (int)((char *)*param_1 + 1)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)((char *)*param_1 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((char *)*param_1 + 1)" ( (binary_expression "(char *)*param_1 + 1" (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) + number_literal) )))) ;) (expression_statement "uVar1 = FUN_0003f0a0();" (assignment_expression "uVar1 = FUN_0003f0a0()" identifier = (call_expression "FUN_0003f0a0()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_2[1] = uVar1;" (assignment_expression "param_2[1] = uVar1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (*(char *)*param_1 == ')') {\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }" if (parenthesized_expression "(*(char *)*param_1 == ')')" ( (binary_expression "*(char *)*param_1 == ')'" (pointer_expression "*(char *)*param_1" * (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) == (char_literal "')'" ' character ')) )) (compound_statement "{\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }" { (expression_statement "*param_1 = (int)((char *)*param_1 + 1);" (assignment_expression "*param_1 = (int)((char *)*param_1 + 1)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)((char *)*param_1 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((char *)*param_1 + 1)" ( (binary_expression "(char *)*param_1 + 1" (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) + number_literal) )))) ;) (return_statement "return 1;" return number_literal ;) })) })) (expression_statement "FUN_0003efb0();" (call_expression "FUN_0003efb0()" identifier (argument_list "()" ( ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) != (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) + LIT) )))) ;) (return_statement return LIT ;) })) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_0003f1b0(int *param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(char *)*param_1 != '(') {\n    *param_2 = 0;\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    return 1;\n  }\n  *param_1 = (int)((char *)*param_1 + 1);\n  uVar1 = FUN_0003f0a0();\n  *param_2 = uVar1;\n  if (*(char *)*param_1 == ',') {\n    *param_1 = (int)((char *)*param_1 + 1);\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    if (*(char *)*param_1 == ')') {\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }\n  }\n  FUN_0003efb0();\n  return 0;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0003f1b0(int *param_1,undefined4 *param_2)" (identifier "FUN_0003f1b0") (parameter_list "(int *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(char *)*param_1 != '(') {\n    *param_2 = 0;\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    return 1;\n  }\n  *param_1 = (int)((char *)*param_1 + 1);\n  uVar1 = FUN_0003f0a0();\n  *param_2 = uVar1;\n  if (*(char *)*param_1 == ',') {\n    *param_1 = (int)((char *)*param_1 + 1);\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    if (*(char *)*param_1 == ')') {\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }\n  }\n  FUN_0003efb0();\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (*(char *)*param_1 != '(') {\n    *param_2 = 0;\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    return 1;\n  }" (if "if") (parenthesized_expression "(*(char *)*param_1 != '(')" (( "(") (binary_expression "*(char *)*param_1 != '('" (pointer_expression "*(char *)*param_1" (* "*") (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (!= "!=") (char_literal "'('" (' "'") (character "(") (' "'"))) () ")")) (compound_statement "{\n    *param_2 = 0;\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    return 1;\n  }" ({ "{") (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = FUN_0003f0a0();" (assignment_expression "uVar1 = FUN_0003f0a0()" (identifier "uVar1") (= "=") (call_expression "FUN_0003f0a0()" (identifier "FUN_0003f0a0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "param_2[1] = uVar1;" (assignment_expression "param_2[1] = uVar1" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "*param_1 = (int)((char *)*param_1 + 1);" (assignment_expression "*param_1 = (int)((char *)*param_1 + 1)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)((char *)*param_1 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((char *)*param_1 + 1)" (( "(") (binary_expression "(char *)*param_1 + 1" (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar1 = FUN_0003f0a0();" (assignment_expression "uVar1 = FUN_0003f0a0()" (identifier "uVar1") (= "=") (call_expression "FUN_0003f0a0()" (identifier "FUN_0003f0a0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*param_2 = uVar1;" (assignment_expression "*param_2 = uVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "uVar1")) (; ";")) (if_statement "if (*(char *)*param_1 == ',') {\n    *param_1 = (int)((char *)*param_1 + 1);\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    if (*(char *)*param_1 == ')') {\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }\n  }" (if "if") (parenthesized_expression "(*(char *)*param_1 == ',')" (( "(") (binary_expression "*(char *)*param_1 == ','" (pointer_expression "*(char *)*param_1" (* "*") (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (== "==") (char_literal "','" (' "'") (character ",") (' "'"))) () ")")) (compound_statement "{\n    *param_1 = (int)((char *)*param_1 + 1);\n    uVar1 = FUN_0003f0a0();\n    param_2[1] = uVar1;\n    if (*(char *)*param_1 == ')') {\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }\n  }" ({ "{") (expression_statement "*param_1 = (int)((char *)*param_1 + 1);" (assignment_expression "*param_1 = (int)((char *)*param_1 + 1)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)((char *)*param_1 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((char *)*param_1 + 1)" (( "(") (binary_expression "(char *)*param_1 + 1" (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar1 = FUN_0003f0a0();" (assignment_expression "uVar1 = FUN_0003f0a0()" (identifier "uVar1") (= "=") (call_expression "FUN_0003f0a0()" (identifier "FUN_0003f0a0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "param_2[1] = uVar1;" (assignment_expression "param_2[1] = uVar1" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (if_statement "if (*(char *)*param_1 == ')') {\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }" (if "if") (parenthesized_expression "(*(char *)*param_1 == ')')" (( "(") (binary_expression "*(char *)*param_1 == ')'" (pointer_expression "*(char *)*param_1" (* "*") (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (== "==") (char_literal "')'" (' "'") (character ")") (' "'"))) () ")")) (compound_statement "{\n      *param_1 = (int)((char *)*param_1 + 1);\n      return 1;\n    }" ({ "{") (expression_statement "*param_1 = (int)((char *)*param_1 + 1);" (assignment_expression "*param_1 = (int)((char *)*param_1 + 1)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)((char *)*param_1 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((char *)*param_1 + 1)" (( "(") (binary_expression "(char *)*param_1 + 1" (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (+ "+") (number_literal "1")) () ")")))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_0003efb0();" (call_expression "FUN_0003efb0()" (identifier "FUN_0003efb0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

type_1 __regparm3 function_1(char **pp,int *typenums,char *p_end)

{
  char *var_2;
  type_2 bVar1;
  
  var_2 = *pp;
  if (*var_2 != '(') {
    *typenums = 0;
    bVar1 = var_1(pp,(type_1 *)0x0,p_end);
    typenums[1] = (int)bVar1;
    return 1;
  }
  *pp = var_2 + 1;
  bVar1 = var_1(pp,(type_1 *)0x0,p_end);
  *typenums = (int)bVar1;
  if (**pp == ',') {
    *pp = *pp + 1;
    bVar1 = var_1(pp,(type_1 *)0x0,p_end);
    typenums[1] = (int)bVar1;
    if (**pp == ')') {
      *pp = *pp + 1;
      return 1;
    }
  }
  var_3(var_2);
  return 0;
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (number_literal)))))) (return_statement (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement (number_literal)))))

undefined4 __regparm3 MASKED(int *param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  
  if (*(char *)*param_1 != '(') {
    *param_2 = 0;
    uVar1 = FUN_0003f0a0();
    param_2[1] = uVar1;
    return 1;
  }
  *param_1 = (int)((char *)*param_1 + 1);
  uVar1 = FUN_0003f0a0();
  *param_2 = uVar1;
  if (*(char *)*param_1 == ',') {
    *param_1 = (int)((char *)*param_1 + 1);
    uVar1 = FUN_0003f0a0();
    param_2[1] = uVar1;
    if (*(char *)*param_1 == ')') {
      *param_1 = (int)((char *)*param_1 + 1);
      return 1;
    }
  }
  FUN_0003efb0();
  return 0;
}

