
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

bfd_boolean __regparm3 debug_set_class_id(debug_handle *info,char *tag,debug_type_s *type)

{
  debug_type_s *pdVar1;
  debug_type_s *t1;
  char *__s1;
  int iVar2;
  bfd_boolean bVar3;
  debug_type_kind dVar4;
  debug_type pdVar5;
  debug_class_id *pdVar6;
  debug_class_id *pdVar7;
  
  dVar4 = type->kind;
  if (3 < dVar4 - DEBUG_KIND_STRUCT) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"
                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");
  }
  pdVar1 = (type->u).kpointer;
  if (pdVar1->pointer <= (debug_type)info->base_id) {
    pdVar7 = info->id_list;
    if (pdVar7 != (debug_class_id *)0x0) {
      do {
        t1 = pdVar7->type;
        if (t1->kind == dVar4) {
          __s1 = pdVar7->tag;
          if (tag != (char *)0x0) {
            if (((__s1 != (char *)0x0) && (*__s1 == *tag)) && (iVar2 = strcmp(__s1,tag), iVar2 == 0)
               ) goto LAB_0001dc15;
            goto LAB_0001dc28;
          }
          if (__s1 == (char *)0x0) {
LAB_0001dc15:
            bVar3 = debug_type_samep(info,t1,type);
            if (bVar3 != 0) {
              pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id;
              return 1;
            }
            goto LAB_0001dc28;
          }
          pdVar7 = pdVar7->next;
        }
        else {
LAB_0001dc28:
          pdVar7 = pdVar7->next;
        }
        if (pdVar7 == (debug_class_id *)0x0) break;
        dVar4 = type->kind;
      } while( true );
    }
    pdVar5 = (debug_type)(info->class_id + 1);
    info->class_id = (uint)pdVar5;
    pdVar1->pointer = pdVar5;
    pdVar6 = (debug_class_id *)xmalloc(0xc);
    pdVar7 = info->id_list;
    pdVar6->type = type;
    pdVar6->tag = tag;
    pdVar6->next = pdVar7;
    info->id_list = pdVar6;
  }
  return 1;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 __regparm3 FUN_0001dba0(int param_1,char *param_2,int *param_3)

{
  int iVar1;
  char *__s1;
  undefined4 uVar2;
  int iVar3;
  undefined4 *puVar4;
  
  iVar3 = *param_3;
  if (3 < iVar3 - 7U) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"
                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");
  }
  iVar1 = param_3[3];
  if (*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20)) {
    puVar4 = *(undefined4 **)(param_1 + 0x2c);
    if (puVar4 != (undefined4 *)0x0) {
      do {
        if (*(int *)puVar4[1] == iVar3) {
          __s1 = (char *)puVar4[2];
          if (param_2 != (char *)0x0) {
            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&
               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;
            goto LAB_0001dc28;
          }
          if (__s1 == (char *)0x0) {
LAB_0001dc15:
            iVar3 = FUN_0001d480();
            if (iVar3 != 0) {
              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);
              return 1;
            }
            goto LAB_0001dc28;
          }
          puVar4 = (undefined4 *)*puVar4;
        }
        else {
LAB_0001dc28:
          puVar4 = (undefined4 *)*puVar4;
        }
        if (puVar4 == (undefined4 *)0x0) break;
        iVar3 = *param_3;
      } while( true );
    }
    iVar3 = *(int *)(param_1 + 0x1c) + 1;
    *(int *)(param_1 + 0x1c) = iVar3;
    *(int *)(iVar1 + 8) = iVar3;
    puVar4 = (undefined4 *)xmalloc(0xc);
    uVar2 = *(undefined4 *)(param_1 + 0x2c);
    puVar4[1] = param_3;
    puVar4[2] = param_2;
    *puVar4 = uVar2;
    *(undefined4 **)(param_1 + 0x2c) = puVar4;
  }
  return 1;
}


PUSH EBP
MOV EBP,EDX
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000166c0
ADD EBX,0x22455
SUB ESP,0x1c
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [ECX]
LEA EDX,[EAX + -0x7]
CMP EDX,0x3
JA 0x0001dca2
MOV EDI,ECX
MOV EDX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [ECX + 0xc]
MOV ESI,dword ptr [EDX + 0x20]
MOV dword ptr [ESP + 0xc],ECX
CMP dword ptr [ECX + 0x8],ESI
JA 0x0001dc83
MOV ESI,dword ptr [EDX + 0x2c]
TEST ESI,ESI
JNZ 0x0001dc30
JMP 0x0001dc50
MOV dword ptr [ESP + 0x4],EDX
TEST EAX,EAX
JZ 0x0001dc28
MOVZX ECX,byte ptr [EBP]
CMP byte ptr [EAX],CL
JNZ 0x0001dc28
SUB ESP,0x8
PUSH EBP
PUSH EAX
CALL 0x00013070
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x4]
TEST EAX,EAX
JNZ 0x0001dc28
MOV EAX,dword ptr [ESP + 0x8]
MOV ECX,EDI
CALL 0x0001d480
TEST EAX,EAX
JNZ 0x0001dc90
LEA ESI,[ESI]
MOV ESI,dword ptr [ESI]
TEST ESI,ESI
JZ 0x0001dc50
MOV EAX,dword ptr [EDI]
MOV EDX,dword ptr [ESI + 0x4]
CMP dword ptr [EDX],EAX
JNZ 0x0001dc28
MOV EAX,dword ptr [ESI + 0x8]
TEST EBP,EBP
JNZ 0x0001dbf0
TEST EAX,EAX
JZ 0x0001dc15
MOV ESI,dword ptr [ESI]
TEST ESI,ESI
JNZ 0x0001dc2e
LEA ESI,[ESI]
NOP
MOV ESI,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [ESP + 0xc]
SUB ESP,0xc
MOV EAX,dword ptr [ESI + 0x1c]
MOV dword ptr [ESP + 0x10],EAX
ADD EAX,0x1
MOV dword ptr [ESI + 0x1c],EAX
MOV dword ptr [ECX + 0x8],EAX
PUSH 0xc
CALL 0x000132e0
MOV EDX,dword ptr [ESI + 0x2c]
ADD ESP,0x10
MOV dword ptr [EAX + 0x4],EDI
MOV dword ptr [EAX + 0x8],EBP
MOV dword ptr [EAX],EDX
MOV dword ptr [ESI + 0x2c],EAX
ADD ESP,0x1c
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESI + 0x4]
MOV EBX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [EAX + 0xc]
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [EBX + 0x8],EAX
JMP 0x0001dc83
LEA EAX,[EBX + 0xffff3d7c]
PUSH EAX
LEA EAX,[EBX + 0xffff3db7]
PUSH 0xb80
PUSH EAX
LEA EAX,[EBX + 0xffff385c]
PUSH EAX
CALL 0x00013920
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_0001dba0(int param_1,char *param_2,int *param_3)\n\n{\n  int iVar1;\n  char *__s1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  iVar3 = *param_3;\n  if (3 < iVar3 - 7U) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }\n  iVar1 = param_3[3];\n  if (*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20)) {\n    puVar4 = *(undefined4 **)(param_1 + 0x2c);\n    if (puVar4 != (undefined4 *)0x0) {\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }\n    iVar3 = *(int *)(param_1 + 0x1c) + 1;\n    *(int *)(param_1 + 0x1c) = iVar3;\n    *(int *)(iVar1 + 8) = iVar3;\n    puVar4 = (undefined4 *)xmalloc(0xc);\n    uVar2 = *(undefined4 *)(param_1 + 0x2c);\n    puVar4[1] = param_3;\n    puVar4[2] = param_2;\n    *puVar4 = uVar2;\n    *(undefined4 **)(param_1 + 0x2c) = puVar4;\n  }\n  return 1;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_0001dba0(int param_1,char *param_2,int *param_3)\n\n{\n  int iVar1;\n  char *__s1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  iVar3 = *param_3;\n  if (3 < iVar3 - 7U) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }\n  iVar1 = param_3[3];\n  if (*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20)) {\n    puVar4 = *(undefined4 **)(param_1 + 0x2c);\n    if (puVar4 != (undefined4 *)0x0) {\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }\n    iVar3 = *(int *)(param_1 + 0x1c) + 1;\n    *(int *)(param_1 + 0x1c) = iVar3;\n    *(int *)(iVar1 + 8) = iVar3;\n    puVar4 = (undefined4 *)xmalloc(0xc);\n    uVar2 = *(undefined4 *)(param_1 + 0x2c);\n    puVar4[1] = param_3;\n    puVar4[2] = param_2;\n    *puVar4 = uVar2;\n    *(undefined4 **)(param_1 + 0x2c) = puVar4;\n  }\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0001dba0(int param_1,char *param_2,int *param_3)" identifier (parameter_list "(int param_1,char *param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *__s1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  iVar3 = *param_3;\n  if (3 < iVar3 - 7U) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }\n  iVar1 = param_3[3];\n  if (*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20)) {\n    puVar4 = *(undefined4 **)(param_1 + 0x2c);\n    if (puVar4 != (undefined4 *)0x0) {\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }\n    iVar3 = *(int *)(param_1 + 0x1c) + 1;\n    *(int *)(param_1 + 0x1c) = iVar3;\n    *(int *)(iVar1 + 8) = iVar3;\n    puVar4 = (undefined4 *)xmalloc(0xc);\n    uVar2 = *(undefined4 *)(param_1 + 0x2c);\n    puVar4[1] = param_3;\n    puVar4[2] = param_2;\n    *puVar4 = uVar2;\n    *(undefined4 **)(param_1 + 0x2c) = puVar4;\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "iVar3 = *param_3;" (assignment_expression "iVar3 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (if_statement "if (3 < iVar3 - 7U) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }" if (parenthesized_expression "(3 < iVar3 - 7U)" ( (binary_expression "3 < iVar3 - 7U" number_literal < (binary_expression "iVar3 - 7U" identifier - number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }" { comment (expression_statement "__assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");" (call_expression "__assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id")" identifier (argument_list "("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id")" ( (string_literal ""type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"" " string_content ") , (string_literal ""../../binutils/debug.c"" " string_content ") , number_literal , (string_literal ""debug_set_class_id"" " string_content ") ))) ;) })) (expression_statement "iVar1 = param_3[3];" (assignment_expression "iVar1 = param_3[3]" identifier = (subscript_expression "param_3[3]" identifier [ number_literal ])) ;) (if_statement "if (*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20)) {\n    puVar4 = *(undefined4 **)(param_1 + 0x2c);\n    if (puVar4 != (undefined4 *)0x0) {\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }\n    iVar3 = *(int *)(param_1 + 0x1c) + 1;\n    *(int *)(param_1 + 0x1c) = iVar3;\n    *(int *)(iVar1 + 8) = iVar3;\n    puVar4 = (undefined4 *)xmalloc(0xc);\n    uVar2 = *(undefined4 *)(param_1 + 0x2c);\n    puVar4[1] = param_3;\n    puVar4[2] = param_2;\n    *puVar4 = uVar2;\n    *(undefined4 **)(param_1 + 0x2c) = puVar4;\n  }" if (parenthesized_expression "(*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20))" ( (binary_expression "*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20)" (pointer_expression "*(uint *)(iVar1 + 8)" * (cast_expression "(uint *)(iVar1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(param_1 + 0x20)" * (cast_expression "(uint *)(param_1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) )) (compound_statement "{\n    puVar4 = *(undefined4 **)(param_1 + 0x2c);\n    if (puVar4 != (undefined4 *)0x0) {\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }\n    iVar3 = *(int *)(param_1 + 0x1c) + 1;\n    *(int *)(param_1 + 0x1c) = iVar3;\n    *(int *)(iVar1 + 8) = iVar3;\n    puVar4 = (undefined4 *)xmalloc(0xc);\n    uVar2 = *(undefined4 *)(param_1 + 0x2c);\n    puVar4[1] = param_3;\n    puVar4[2] = param_2;\n    *puVar4 = uVar2;\n    *(undefined4 **)(param_1 + 0x2c) = puVar4;\n  }" { (expression_statement "puVar4 = *(undefined4 **)(param_1 + 0x2c);" (assignment_expression "puVar4 = *(undefined4 **)(param_1 + 0x2c)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x2c)" * (cast_expression "(undefined4 **)(param_1 + 0x2c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) (if_statement "if (puVar4 != (undefined4 *)0x0) {\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }" if (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }" { (do_statement "do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );" do (compound_statement "{\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      }" { (if_statement "if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }" if (parenthesized_expression "(*(int *)puVar4[1] == iVar3)" ( (binary_expression "*(int *)puVar4[1] == iVar3" (pointer_expression "*(int *)puVar4[1]" * (cast_expression "(int *)puVar4[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[1]" identifier [ number_literal ]))) == identifier) )) (compound_statement "{\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }" { (expression_statement "__s1 = (char *)puVar4[2];" (assignment_expression "__s1 = (char *)puVar4[2]" identifier = (cast_expression "(char *)puVar4[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[2]" identifier [ number_literal ]))) ;) (if_statement "if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }" if (parenthesized_expression "(param_2 != (char *)0x0)" ( (binary_expression "param_2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }" { (if_statement "if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;" if (parenthesized_expression "(((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0))" ( (binary_expression "((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)" (parenthesized_expression "((__s1 != (char *)0x0) && (*__s1 == *param_2))" ( (binary_expression "(__s1 != (char *)0x0) && (*__s1 == *param_2)" (parenthesized_expression "(__s1 != (char *)0x0)" ( (binary_expression "__s1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*__s1 == *param_2)" ( (binary_expression "*__s1 == *param_2" (pointer_expression "*__s1" * identifier) == (pointer_expression "*param_2" * identifier)) ))) )) && (parenthesized_expression "(iVar3 = strcmp(__s1,param_2), iVar3 == 0)" ( (comma_expression "iVar3 = strcmp(__s1,param_2), iVar3 == 0" (assignment_expression "iVar3 = strcmp(__s1,param_2)" identifier = (call_expression "strcmp(__s1,param_2)" identifier (argument_list "(__s1,param_2)" ( identifier , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0001dc15;" goto statement_identifier ;)) (goto_statement "goto LAB_0001dc28;" goto statement_identifier ;) })) (if_statement "if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }" if (parenthesized_expression "(__s1 == (char *)0x0)" ( (binary_expression "__s1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }" { (labeled_statement "LAB_0001dc15:\n            iVar3 = FUN_0001d480();" statement_identifier : (expression_statement "iVar3 = FUN_0001d480();" (assignment_expression "iVar3 = FUN_0001d480()" identifier = (call_expression "FUN_0001d480()" identifier (argument_list "()" ( )))) ;)) (if_statement "if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }" { (expression_statement "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);" (assignment_expression "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8)" (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8)" * (cast_expression "(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar4[1] + 0xc) + 8)" ( (binary_expression "*(int *)(puVar4[1] + 0xc) + 8" (pointer_expression "*(int *)(puVar4[1] + 0xc)" * (cast_expression "(int *)(puVar4[1] + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4[1] + 0xc)" ( (binary_expression "puVar4[1] + 0xc" (subscript_expression "puVar4[1]" identifier [ number_literal ]) + number_literal) )))) + number_literal) ))))) ;) (return_statement "return 1;" return number_literal ;) })) (goto_statement "goto LAB_0001dc28;" goto statement_identifier ;) })) (expression_statement "puVar4 = (undefined4 *)*puVar4;" (assignment_expression "puVar4 = (undefined4 *)*puVar4" identifier = (cast_expression "(undefined4 *)*puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) }) (else_clause "else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }" else (compound_statement "{\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }" { (labeled_statement "LAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;" statement_identifier : (expression_statement "puVar4 = (undefined4 *)*puVar4;" (assignment_expression "puVar4 = (undefined4 *)*puVar4" identifier = (cast_expression "(undefined4 *)*puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;)) }))) (if_statement "if (puVar4 == (undefined4 *)0x0) break;" if (parenthesized_expression "(puVar4 == (undefined4 *)0x0)" ( (binary_expression "puVar4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = *param_3;" (assignment_expression "iVar3 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "iVar3 = *(int *)(param_1 + 0x1c) + 1;" (assignment_expression "iVar3 = *(int *)(param_1 + 0x1c) + 1" identifier = (binary_expression "*(int *)(param_1 + 0x1c) + 1" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x1c) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x1c) = iVar3" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar1 + 8) = iVar3;" (assignment_expression "*(int *)(iVar1 + 8) = iVar3" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar4 = (undefined4 *)xmalloc(0xc);" (assignment_expression "puVar4 = (undefined4 *)xmalloc(0xc)" identifier = (cast_expression "(undefined4 *)xmalloc(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x2c);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x2c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "puVar4[1] = param_3;" (assignment_expression "puVar4[1] = param_3" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[2] = param_2;" (assignment_expression "puVar4[2] = param_2" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar4 = uVar2;" (assignment_expression "*puVar4 = uVar2" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x2c) = puVar4;" (assignment_expression "*(undefined4 **)(param_1 + 0x2c) = puVar4" (pointer_expression "*(undefined4 **)(param_1 + 0x2c)" * (cast_expression "(undefined4 **)(param_1 + 0x2c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbfd_boolean __regparm3 debug_set_class_id(debug_handle *info,char *tag,debug_type_s *type)\n\n{\n  debug_type_s *pdVar1;\n  debug_type_s *t1;\n  char *__s1;\n  int iVar2;\n  bfd_boolean bVar3;\n  debug_type_kind dVar4;\n  debug_type pdVar5;\n  debug_class_id *pdVar6;\n  debug_class_id *pdVar7;\n  \n  dVar4 = type->kind;\n  if (3 < dVar4 - DEBUG_KIND_STRUCT) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }\n  pdVar1 = (type->u).kpointer;\n  if (pdVar1->pointer <= (debug_type)info->base_id) {\n    pdVar7 = info->id_list;\n    if (pdVar7 != (debug_class_id *)0x0) {\n      do {\n        t1 = pdVar7->type;\n        if (t1->kind == dVar4) {\n          __s1 = pdVar7->tag;\n          if (tag != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *tag)) && (iVar2 = strcmp(__s1,tag), iVar2 == 0)\n               ) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            bVar3 = debug_type_samep(info,t1,type);\n            if (bVar3 != 0) {\n              pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id;\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          pdVar7 = pdVar7->next;\n        }\n        else {\nLAB_0001dc28:\n          pdVar7 = pdVar7->next;\n        }\n        if (pdVar7 == (debug_class_id *)0x0) break;\n        dVar4 = type->kind;\n      } while( true );\n    }\n    pdVar5 = (debug_type)(info->class_id + 1);\n    info->class_id = (uint)pdVar5;\n    pdVar1->pointer = pdVar5;\n    pdVar6 = (debug_class_id *)xmalloc(0xc);\n    pdVar7 = info->id_list;\n    pdVar6->type = type;\n    pdVar6->tag = tag;\n    pdVar6->next = pdVar7;\n    info->id_list = pdVar6;\n  }\n  return 1;\n}\n\n" comment (function_definition "bfd_boolean __regparm3 debug_set_class_id(debug_handle *info,char *tag,debug_type_s *type)\n\n{\n  debug_type_s *pdVar1;\n  debug_type_s *t1;\n  char *__s1;\n  int iVar2;\n  bfd_boolean bVar3;\n  debug_type_kind dVar4;\n  debug_type pdVar5;\n  debug_class_id *pdVar6;\n  debug_class_id *pdVar7;\n  \n  dVar4 = type->kind;\n  if (3 < dVar4 - DEBUG_KIND_STRUCT) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }\n  pdVar1 = (type->u).kpointer;\n  if (pdVar1->pointer <= (debug_type)info->base_id) {\n    pdVar7 = info->id_list;\n    if (pdVar7 != (debug_class_id *)0x0) {\n      do {\n        t1 = pdVar7->type;\n        if (t1->kind == dVar4) {\n          __s1 = pdVar7->tag;\n          if (tag != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *tag)) && (iVar2 = strcmp(__s1,tag), iVar2 == 0)\n               ) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            bVar3 = debug_type_samep(info,t1,type);\n            if (bVar3 != 0) {\n              pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id;\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          pdVar7 = pdVar7->next;\n        }\n        else {\nLAB_0001dc28:\n          pdVar7 = pdVar7->next;\n        }\n        if (pdVar7 == (debug_class_id *)0x0) break;\n        dVar4 = type->kind;\n      } while( true );\n    }\n    pdVar5 = (debug_type)(info->class_id + 1);\n    info->class_id = (uint)pdVar5;\n    pdVar1->pointer = pdVar5;\n    pdVar6 = (debug_class_id *)xmalloc(0xc);\n    pdVar7 = info->id_list;\n    pdVar6->type = type;\n    pdVar6->tag = tag;\n    pdVar6->next = pdVar7;\n    info->id_list = pdVar6;\n  }\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "debug_set_class_id(debug_handle *info,char *tag,debug_type_s *type)" identifier (parameter_list "(debug_handle *info,char *tag,debug_type_s *type)" ( (parameter_declaration "debug_handle *info" type_identifier (pointer_declarator "*info" * identifier)) , (parameter_declaration "char *tag" primitive_type (pointer_declarator "*tag" * identifier)) , (parameter_declaration "debug_type_s *type" type_identifier (pointer_declarator "*type" * identifier)) ))) (compound_statement "{\n  debug_type_s *pdVar1;\n  debug_type_s *t1;\n  char *__s1;\n  int iVar2;\n  bfd_boolean bVar3;\n  debug_type_kind dVar4;\n  debug_type pdVar5;\n  debug_class_id *pdVar6;\n  debug_class_id *pdVar7;\n  \n  dVar4 = type->kind;\n  if (3 < dVar4 - DEBUG_KIND_STRUCT) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }\n  pdVar1 = (type->u).kpointer;\n  if (pdVar1->pointer <= (debug_type)info->base_id) {\n    pdVar7 = info->id_list;\n    if (pdVar7 != (debug_class_id *)0x0) {\n      do {\n        t1 = pdVar7->type;\n        if (t1->kind == dVar4) {\n          __s1 = pdVar7->tag;\n          if (tag != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *tag)) && (iVar2 = strcmp(__s1,tag), iVar2 == 0)\n               ) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            bVar3 = debug_type_samep(info,t1,type);\n            if (bVar3 != 0) {\n              pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id;\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          pdVar7 = pdVar7->next;\n        }\n        else {\nLAB_0001dc28:\n          pdVar7 = pdVar7->next;\n        }\n        if (pdVar7 == (debug_class_id *)0x0) break;\n        dVar4 = type->kind;\n      } while( true );\n    }\n    pdVar5 = (debug_type)(info->class_id + 1);\n    info->class_id = (uint)pdVar5;\n    pdVar1->pointer = pdVar5;\n    pdVar6 = (debug_class_id *)xmalloc(0xc);\n    pdVar7 = info->id_list;\n    pdVar6->type = type;\n    pdVar6->tag = tag;\n    pdVar6->next = pdVar7;\n    info->id_list = pdVar6;\n  }\n  return 1;\n}" { (declaration "debug_type_s *pdVar1;" type_identifier (pointer_declarator "*pdVar1" * identifier) ;) (declaration "debug_type_s *t1;" type_identifier (pointer_declarator "*t1" * identifier) ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bfd_boolean bVar3;" type_identifier identifier ;) (declaration "debug_type_kind dVar4;" type_identifier identifier ;) (declaration "debug_type pdVar5;" type_identifier identifier ;) (declaration "debug_class_id *pdVar6;" type_identifier (pointer_declarator "*pdVar6" * identifier) ;) (declaration "debug_class_id *pdVar7;" type_identifier (pointer_declarator "*pdVar7" * identifier) ;) (expression_statement "dVar4 = type->kind;" (assignment_expression "dVar4 = type->kind" identifier = (field_expression "type->kind" identifier -> field_identifier)) ;) (if_statement "if (3 < dVar4 - DEBUG_KIND_STRUCT) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }" if (parenthesized_expression "(3 < dVar4 - DEBUG_KIND_STRUCT)" ( (binary_expression "3 < dVar4 - DEBUG_KIND_STRUCT" number_literal < (binary_expression "dVar4 - DEBUG_KIND_STRUCT" identifier - identifier)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }" { comment (expression_statement "__assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");" (call_expression "__assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id")" identifier (argument_list "("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id")" ( (string_literal ""type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"" " string_content ") , (string_literal ""../../binutils/debug.c"" " string_content ") , number_literal , (string_literal ""debug_set_class_id"" " string_content ") ))) ;) })) (expression_statement "pdVar1 = (type->u).kpointer;" (assignment_expression "pdVar1 = (type->u).kpointer" identifier = (field_expression "(type->u).kpointer" (parenthesized_expression "(type->u)" ( (field_expression "type->u" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (pdVar1->pointer <= (debug_type)info->base_id) {\n    pdVar7 = info->id_list;\n    if (pdVar7 != (debug_class_id *)0x0) {\n      do {\n        t1 = pdVar7->type;\n        if (t1->kind == dVar4) {\n          __s1 = pdVar7->tag;\n          if (tag != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *tag)) && (iVar2 = strcmp(__s1,tag), iVar2 == 0)\n               ) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            bVar3 = debug_type_samep(info,t1,type);\n            if (bVar3 != 0) {\n              pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id;\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          pdVar7 = pdVar7->next;\n        }\n        else {\nLAB_0001dc28:\n          pdVar7 = pdVar7->next;\n        }\n        if (pdVar7 == (debug_class_id *)0x0) break;\n        dVar4 = type->kind;\n      } while( true );\n    }\n    pdVar5 = (debug_type)(info->class_id + 1);\n    info->class_id = (uint)pdVar5;\n    pdVar1->pointer = pdVar5;\n    pdVar6 = (debug_class_id *)xmalloc(0xc);\n    pdVar7 = info->id_list;\n    pdVar6->type = type;\n    pdVar6->tag = tag;\n    pdVar6->next = pdVar7;\n    info->id_list = pdVar6;\n  }" if (parenthesized_expression "(pdVar1->pointer <= (debug_type)info->base_id)" ( (binary_expression "pdVar1->pointer <= (debug_type)info->base_id" (field_expression "pdVar1->pointer" identifier -> field_identifier) <= (cast_expression "(debug_type)info->base_id" ( (type_descriptor "debug_type" type_identifier) ) (field_expression "info->base_id" identifier -> field_identifier))) )) (compound_statement "{\n    pdVar7 = info->id_list;\n    if (pdVar7 != (debug_class_id *)0x0) {\n      do {\n        t1 = pdVar7->type;\n        if (t1->kind == dVar4) {\n          __s1 = pdVar7->tag;\n          if (tag != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *tag)) && (iVar2 = strcmp(__s1,tag), iVar2 == 0)\n               ) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            bVar3 = debug_type_samep(info,t1,type);\n            if (bVar3 != 0) {\n              pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id;\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          pdVar7 = pdVar7->next;\n        }\n        else {\nLAB_0001dc28:\n          pdVar7 = pdVar7->next;\n        }\n        if (pdVar7 == (debug_class_id *)0x0) break;\n        dVar4 = type->kind;\n      } while( true );\n    }\n    pdVar5 = (debug_type)(info->class_id + 1);\n    info->class_id = (uint)pdVar5;\n    pdVar1->pointer = pdVar5;\n    pdVar6 = (debug_class_id *)xmalloc(0xc);\n    pdVar7 = info->id_list;\n    pdVar6->type = type;\n    pdVar6->tag = tag;\n    pdVar6->next = pdVar7;\n    info->id_list = pdVar6;\n  }" { (expression_statement "pdVar7 = info->id_list;" (assignment_expression "pdVar7 = info->id_list" identifier = (field_expression "info->id_list" identifier -> field_identifier)) ;) (if_statement "if (pdVar7 != (debug_class_id *)0x0) {\n      do {\n        t1 = pdVar7->type;\n        if (t1->kind == dVar4) {\n          __s1 = pdVar7->tag;\n          if (tag != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *tag)) && (iVar2 = strcmp(__s1,tag), iVar2 == 0)\n               ) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            bVar3 = debug_type_samep(info,t1,type);\n            if (bVar3 != 0) {\n              pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id;\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          pdVar7 = pdVar7->next;\n        }\n        else {\nLAB_0001dc28:\n          pdVar7 = pdVar7->next;\n        }\n        if (pdVar7 == (debug_class_id *)0x0) break;\n        dVar4 = type->kind;\n      } while( true );\n    }" if (parenthesized_expression "(pdVar7 != (debug_class_id *)0x0)" ( (binary_expression "pdVar7 != (debug_class_id *)0x0" identifier != (cast_expression "(debug_class_id *)0x0" ( (type_descriptor "debug_class_id *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      do {\n        t1 = pdVar7->type;\n        if (t1->kind == dVar4) {\n          __s1 = pdVar7->tag;\n          if (tag != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *tag)) && (iVar2 = strcmp(__s1,tag), iVar2 == 0)\n               ) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            bVar3 = debug_type_samep(info,t1,type);\n            if (bVar3 != 0) {\n              pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id;\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          pdVar7 = pdVar7->next;\n        }\n        else {\nLAB_0001dc28:\n          pdVar7 = pdVar7->next;\n        }\n        if (pdVar7 == (debug_class_id *)0x0) break;\n        dVar4 = type->kind;\n      } while( true );\n    }" { (do_statement "do {\n        t1 = pdVar7->type;\n        if (t1->kind == dVar4) {\n          __s1 = pdVar7->tag;\n          if (tag != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *tag)) && (iVar2 = strcmp(__s1,tag), iVar2 == 0)\n               ) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            bVar3 = debug_type_samep(info,t1,type);\n            if (bVar3 != 0) {\n              pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id;\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          pdVar7 = pdVar7->next;\n        }\n        else {\nLAB_0001dc28:\n          pdVar7 = pdVar7->next;\n        }\n        if (pdVar7 == (debug_class_id *)0x0) break;\n        dVar4 = type->kind;\n      } while( true );" do (compound_statement "{\n        t1 = pdVar7->type;\n        if (t1->kind == dVar4) {\n          __s1 = pdVar7->tag;\n          if (tag != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *tag)) && (iVar2 = strcmp(__s1,tag), iVar2 == 0)\n               ) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            bVar3 = debug_type_samep(info,t1,type);\n            if (bVar3 != 0) {\n              pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id;\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          pdVar7 = pdVar7->next;\n        }\n        else {\nLAB_0001dc28:\n          pdVar7 = pdVar7->next;\n        }\n        if (pdVar7 == (debug_class_id *)0x0) break;\n        dVar4 = type->kind;\n      }" { (expression_statement "t1 = pdVar7->type;" (assignment_expression "t1 = pdVar7->type" identifier = (field_expression "pdVar7->type" identifier -> field_identifier)) ;) (if_statement "if (t1->kind == dVar4) {\n          __s1 = pdVar7->tag;\n          if (tag != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *tag)) && (iVar2 = strcmp(__s1,tag), iVar2 == 0)\n               ) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            bVar3 = debug_type_samep(info,t1,type);\n            if (bVar3 != 0) {\n              pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id;\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          pdVar7 = pdVar7->next;\n        }\n        else {\nLAB_0001dc28:\n          pdVar7 = pdVar7->next;\n        }" if (parenthesized_expression "(t1->kind == dVar4)" ( (binary_expression "t1->kind == dVar4" (field_expression "t1->kind" identifier -> field_identifier) == identifier) )) (compound_statement "{\n          __s1 = pdVar7->tag;\n          if (tag != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *tag)) && (iVar2 = strcmp(__s1,tag), iVar2 == 0)\n               ) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            bVar3 = debug_type_samep(info,t1,type);\n            if (bVar3 != 0) {\n              pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id;\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          pdVar7 = pdVar7->next;\n        }" { (expression_statement "__s1 = pdVar7->tag;" (assignment_expression "__s1 = pdVar7->tag" identifier = (field_expression "pdVar7->tag" identifier -> field_identifier)) ;) (if_statement "if (tag != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *tag)) && (iVar2 = strcmp(__s1,tag), iVar2 == 0)\n               ) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }" if (parenthesized_expression "(tag != (char *)0x0)" ( (binary_expression "tag != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            if (((__s1 != (char *)0x0) && (*__s1 == *tag)) && (iVar2 = strcmp(__s1,tag), iVar2 == 0)\n               ) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }" { (if_statement "if (((__s1 != (char *)0x0) && (*__s1 == *tag)) && (iVar2 = strcmp(__s1,tag), iVar2 == 0)\n               ) goto LAB_0001dc15;" if (parenthesized_expression "(((__s1 != (char *)0x0) && (*__s1 == *tag)) && (iVar2 = strcmp(__s1,tag), iVar2 == 0)\n               )" ( (binary_expression "((__s1 != (char *)0x0) && (*__s1 == *tag)) && (iVar2 = strcmp(__s1,tag), iVar2 == 0)" (parenthesized_expression "((__s1 != (char *)0x0) && (*__s1 == *tag))" ( (binary_expression "(__s1 != (char *)0x0) && (*__s1 == *tag)" (parenthesized_expression "(__s1 != (char *)0x0)" ( (binary_expression "__s1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*__s1 == *tag)" ( (binary_expression "*__s1 == *tag" (pointer_expression "*__s1" * identifier) == (pointer_expression "*tag" * identifier)) ))) )) && (parenthesized_expression "(iVar2 = strcmp(__s1,tag), iVar2 == 0)" ( (comma_expression "iVar2 = strcmp(__s1,tag), iVar2 == 0" (assignment_expression "iVar2 = strcmp(__s1,tag)" identifier = (call_expression "strcmp(__s1,tag)" identifier (argument_list "(__s1,tag)" ( identifier , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0001dc15;" goto statement_identifier ;)) (goto_statement "goto LAB_0001dc28;" goto statement_identifier ;) })) (if_statement "if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            bVar3 = debug_type_samep(info,t1,type);\n            if (bVar3 != 0) {\n              pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id;\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }" if (parenthesized_expression "(__s1 == (char *)0x0)" ( (binary_expression "__s1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0001dc15:\n            bVar3 = debug_type_samep(info,t1,type);\n            if (bVar3 != 0) {\n              pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id;\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }" { (labeled_statement "LAB_0001dc15:\n            bVar3 = debug_type_samep(info,t1,type);" statement_identifier : (expression_statement "bVar3 = debug_type_samep(info,t1,type);" (assignment_expression "bVar3 = debug_type_samep(info,t1,type)" identifier = (call_expression "debug_type_samep(info,t1,type)" identifier (argument_list "(info,t1,type)" ( identifier , identifier , identifier )))) ;)) (if_statement "if (bVar3 != 0) {\n              pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id;\n              return 1;\n            }" if (parenthesized_expression "(bVar3 != 0)" ( (binary_expression "bVar3 != 0" identifier != number_literal) )) (compound_statement "{\n              pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id;\n              return 1;\n            }" { (expression_statement "pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id;" (assignment_expression "pdVar1->pointer = (debug_type)((pdVar7->type->u).kclass)->id" (field_expression "pdVar1->pointer" identifier -> field_identifier) = (field_expression "(debug_type)((pdVar7->type->u).kclass)->id" (call_expression "(debug_type)((pdVar7->type->u).kclass)" (parenthesized_expression "(debug_type)" ( identifier )) (argument_list "((pdVar7->type->u).kclass)" ( (field_expression "(pdVar7->type->u).kclass" (parenthesized_expression "(pdVar7->type->u)" ( (field_expression "pdVar7->type->u" (field_expression "pdVar7->type" identifier -> field_identifier) -> field_identifier) )) . field_identifier) ))) -> field_identifier)) ;) (return_statement "return 1;" return number_literal ;) })) (goto_statement "goto LAB_0001dc28;" goto statement_identifier ;) })) (expression_statement "pdVar7 = pdVar7->next;" (assignment_expression "pdVar7 = pdVar7->next" identifier = (field_expression "pdVar7->next" identifier -> field_identifier)) ;) }) (else_clause "else {\nLAB_0001dc28:\n          pdVar7 = pdVar7->next;\n        }" else (compound_statement "{\nLAB_0001dc28:\n          pdVar7 = pdVar7->next;\n        }" { (labeled_statement "LAB_0001dc28:\n          pdVar7 = pdVar7->next;" statement_identifier : (expression_statement "pdVar7 = pdVar7->next;" (assignment_expression "pdVar7 = pdVar7->next" identifier = (field_expression "pdVar7->next" identifier -> field_identifier)) ;)) }))) (if_statement "if (pdVar7 == (debug_class_id *)0x0) break;" if (parenthesized_expression "(pdVar7 == (debug_class_id *)0x0)" ( (binary_expression "pdVar7 == (debug_class_id *)0x0" identifier == (cast_expression "(debug_class_id *)0x0" ( (type_descriptor "debug_class_id *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "dVar4 = type->kind;" (assignment_expression "dVar4 = type->kind" identifier = (field_expression "type->kind" identifier -> field_identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "pdVar5 = (debug_type)(info->class_id + 1);" (assignment_expression "pdVar5 = (debug_type)(info->class_id + 1)" identifier = (call_expression "(debug_type)(info->class_id + 1)" (parenthesized_expression "(debug_type)" ( identifier )) (argument_list "(info->class_id + 1)" ( (binary_expression "info->class_id + 1" (field_expression "info->class_id" identifier -> field_identifier) + number_literal) )))) ;) (expression_statement "info->class_id = (uint)pdVar5;" (assignment_expression "info->class_id = (uint)pdVar5" (field_expression "info->class_id" identifier -> field_identifier) = (cast_expression "(uint)pdVar5" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "pdVar1->pointer = pdVar5;" (assignment_expression "pdVar1->pointer = pdVar5" (field_expression "pdVar1->pointer" identifier -> field_identifier) = identifier) ;) (expression_statement "pdVar6 = (debug_class_id *)xmalloc(0xc);" (assignment_expression "pdVar6 = (debug_class_id *)xmalloc(0xc)" identifier = (cast_expression "(debug_class_id *)xmalloc(0xc)" ( (type_descriptor "debug_class_id *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "pdVar7 = info->id_list;" (assignment_expression "pdVar7 = info->id_list" identifier = (field_expression "info->id_list" identifier -> field_identifier)) ;) (expression_statement "pdVar6->type = type;" (assignment_expression "pdVar6->type = type" (field_expression "pdVar6->type" identifier -> field_identifier) = identifier) ;) (expression_statement "pdVar6->tag = tag;" (assignment_expression "pdVar6->tag = tag" (field_expression "pdVar6->tag" identifier -> field_identifier) = identifier) ;) (expression_statement "pdVar6->next = pdVar7;" (assignment_expression "pdVar6->next = pdVar7" (field_expression "pdVar6->next" identifier -> field_identifier) = identifier) ;) (expression_statement "info->id_list = pdVar6;" (assignment_expression "info->id_list = pdVar6" (field_expression "info->id_list" identifier -> field_identifier) = identifier) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 __regparm3 FUN_0001dba0(int param_1,char *param_2,int *param_3)\n\n{\n  int iVar1;\n  char *__s1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  iVar3 = *param_3;\n  if (3 < iVar3 - 7U) {\n                    \n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }\n  iVar1 = param_3[3];\n  if (*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20)) {\n    puVar4 = *(undefined4 **)(param_1 + 0x2c);\n    if (puVar4 != (undefined4 *)0x0) {\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }\n    iVar3 = *(int *)(param_1 + 0x1c) + 1;\n    *(int *)(param_1 + 0x1c) = iVar3;\n    *(int *)(iVar1 + 8) = iVar3;\n    puVar4 = (undefined4 *)xmalloc(0xc);\n    uVar2 = *(undefined4 *)(param_1 + 0x2c);\n    puVar4[1] = param_3;\n    puVar4[2] = param_2;\n    *puVar4 = uVar2;\n    *(undefined4 **)(param_1 + 0x2c) = puVar4;\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_0001dba0(int param_1,char *param_2,int *param_3)\n\n{\n  int iVar1;\n  char *__s1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  iVar3 = *param_3;\n  if (3 < iVar3 - 7U) {\n                    \n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }\n  iVar1 = param_3[3];\n  if (*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20)) {\n    puVar4 = *(undefined4 **)(param_1 + 0x2c);\n    if (puVar4 != (undefined4 *)0x0) {\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }\n    iVar3 = *(int *)(param_1 + 0x1c) + 1;\n    *(int *)(param_1 + 0x1c) = iVar3;\n    *(int *)(iVar1 + 8) = iVar3;\n    puVar4 = (undefined4 *)xmalloc(0xc);\n    uVar2 = *(undefined4 *)(param_1 + 0x2c);\n    puVar4[1] = param_3;\n    puVar4[2] = param_2;\n    *puVar4 = uVar2;\n    *(undefined4 **)(param_1 + 0x2c) = puVar4;\n  }\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0001dba0(int param_1,char *param_2,int *param_3)" identifier (parameter_list "(int param_1,char *param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *__s1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  iVar3 = *param_3;\n  if (3 < iVar3 - 7U) {\n                    \n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }\n  iVar1 = param_3[3];\n  if (*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20)) {\n    puVar4 = *(undefined4 **)(param_1 + 0x2c);\n    if (puVar4 != (undefined4 *)0x0) {\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }\n    iVar3 = *(int *)(param_1 + 0x1c) + 1;\n    *(int *)(param_1 + 0x1c) = iVar3;\n    *(int *)(iVar1 + 8) = iVar3;\n    puVar4 = (undefined4 *)xmalloc(0xc);\n    uVar2 = *(undefined4 *)(param_1 + 0x2c);\n    puVar4[1] = param_3;\n    puVar4[2] = param_2;\n    *puVar4 = uVar2;\n    *(undefined4 **)(param_1 + 0x2c) = puVar4;\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "iVar3 = *param_3;" (assignment_expression "iVar3 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (if_statement "if (3 < iVar3 - 7U) {\n                    \n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }" if (parenthesized_expression "(3 < iVar3 - 7U)" ( (binary_expression "3 < iVar3 - 7U" number_literal < (binary_expression "iVar3 - 7U" identifier - number_literal)) )) (compound_statement "{\n                    \n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }" { (expression_statement "__assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");" (call_expression "__assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id")" identifier (argument_list "("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id")" ( (string_literal ""type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"" " string_content ") , (string_literal ""../../binutils/debug.c"" " string_content ") , number_literal , (string_literal ""debug_set_class_id"" " string_content ") ))) ;) })) (expression_statement "iVar1 = param_3[3];" (assignment_expression "iVar1 = param_3[3]" identifier = (subscript_expression "param_3[3]" identifier [ number_literal ])) ;) (if_statement "if (*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20)) {\n    puVar4 = *(undefined4 **)(param_1 + 0x2c);\n    if (puVar4 != (undefined4 *)0x0) {\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }\n    iVar3 = *(int *)(param_1 + 0x1c) + 1;\n    *(int *)(param_1 + 0x1c) = iVar3;\n    *(int *)(iVar1 + 8) = iVar3;\n    puVar4 = (undefined4 *)xmalloc(0xc);\n    uVar2 = *(undefined4 *)(param_1 + 0x2c);\n    puVar4[1] = param_3;\n    puVar4[2] = param_2;\n    *puVar4 = uVar2;\n    *(undefined4 **)(param_1 + 0x2c) = puVar4;\n  }" if (parenthesized_expression "(*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20))" ( (binary_expression "*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20)" (pointer_expression "*(uint *)(iVar1 + 8)" * (cast_expression "(uint *)(iVar1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(param_1 + 0x20)" * (cast_expression "(uint *)(param_1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) )) (compound_statement "{\n    puVar4 = *(undefined4 **)(param_1 + 0x2c);\n    if (puVar4 != (undefined4 *)0x0) {\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }\n    iVar3 = *(int *)(param_1 + 0x1c) + 1;\n    *(int *)(param_1 + 0x1c) = iVar3;\n    *(int *)(iVar1 + 8) = iVar3;\n    puVar4 = (undefined4 *)xmalloc(0xc);\n    uVar2 = *(undefined4 *)(param_1 + 0x2c);\n    puVar4[1] = param_3;\n    puVar4[2] = param_2;\n    *puVar4 = uVar2;\n    *(undefined4 **)(param_1 + 0x2c) = puVar4;\n  }" { (expression_statement "puVar4 = *(undefined4 **)(param_1 + 0x2c);" (assignment_expression "puVar4 = *(undefined4 **)(param_1 + 0x2c)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x2c)" * (cast_expression "(undefined4 **)(param_1 + 0x2c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) (if_statement "if (puVar4 != (undefined4 *)0x0) {\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }" if (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }" { (do_statement "do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );" do (compound_statement "{\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      }" { (if_statement "if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }" if (parenthesized_expression "(*(int *)puVar4[1] == iVar3)" ( (binary_expression "*(int *)puVar4[1] == iVar3" (pointer_expression "*(int *)puVar4[1]" * (cast_expression "(int *)puVar4[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[1]" identifier [ number_literal ]))) == identifier) )) (compound_statement "{\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }" { (expression_statement "__s1 = (char *)puVar4[2];" (assignment_expression "__s1 = (char *)puVar4[2]" identifier = (cast_expression "(char *)puVar4[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[2]" identifier [ number_literal ]))) ;) (if_statement "if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }" if (parenthesized_expression "(param_2 != (char *)0x0)" ( (binary_expression "param_2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }" { (if_statement "if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;" if (parenthesized_expression "(((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0))" ( (binary_expression "((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)" (parenthesized_expression "((__s1 != (char *)0x0) && (*__s1 == *param_2))" ( (binary_expression "(__s1 != (char *)0x0) && (*__s1 == *param_2)" (parenthesized_expression "(__s1 != (char *)0x0)" ( (binary_expression "__s1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*__s1 == *param_2)" ( (binary_expression "*__s1 == *param_2" (pointer_expression "*__s1" * identifier) == (pointer_expression "*param_2" * identifier)) ))) )) && (parenthesized_expression "(iVar3 = strcmp(__s1,param_2), iVar3 == 0)" ( (comma_expression "iVar3 = strcmp(__s1,param_2), iVar3 == 0" (assignment_expression "iVar3 = strcmp(__s1,param_2)" identifier = (call_expression "strcmp(__s1,param_2)" identifier (argument_list "(__s1,param_2)" ( identifier , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0001dc15;" goto statement_identifier ;)) (goto_statement "goto LAB_0001dc28;" goto statement_identifier ;) })) (if_statement "if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }" if (parenthesized_expression "(__s1 == (char *)0x0)" ( (binary_expression "__s1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }" { (labeled_statement "LAB_0001dc15:\n            iVar3 = FUN_0001d480();" statement_identifier : (expression_statement "iVar3 = FUN_0001d480();" (assignment_expression "iVar3 = FUN_0001d480()" identifier = (call_expression "FUN_0001d480()" identifier (argument_list "()" ( )))) ;)) (if_statement "if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }" { (expression_statement "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);" (assignment_expression "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8)" (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8)" * (cast_expression "(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar4[1] + 0xc) + 8)" ( (binary_expression "*(int *)(puVar4[1] + 0xc) + 8" (pointer_expression "*(int *)(puVar4[1] + 0xc)" * (cast_expression "(int *)(puVar4[1] + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4[1] + 0xc)" ( (binary_expression "puVar4[1] + 0xc" (subscript_expression "puVar4[1]" identifier [ number_literal ]) + number_literal) )))) + number_literal) ))))) ;) (return_statement "return 1;" return number_literal ;) })) (goto_statement "goto LAB_0001dc28;" goto statement_identifier ;) })) (expression_statement "puVar4 = (undefined4 *)*puVar4;" (assignment_expression "puVar4 = (undefined4 *)*puVar4" identifier = (cast_expression "(undefined4 *)*puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) }) (else_clause "else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }" else (compound_statement "{\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }" { (labeled_statement "LAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;" statement_identifier : (expression_statement "puVar4 = (undefined4 *)*puVar4;" (assignment_expression "puVar4 = (undefined4 *)*puVar4" identifier = (cast_expression "(undefined4 *)*puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;)) }))) (if_statement "if (puVar4 == (undefined4 *)0x0) break;" if (parenthesized_expression "(puVar4 == (undefined4 *)0x0)" ( (binary_expression "puVar4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = *param_3;" (assignment_expression "iVar3 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "iVar3 = *(int *)(param_1 + 0x1c) + 1;" (assignment_expression "iVar3 = *(int *)(param_1 + 0x1c) + 1" identifier = (binary_expression "*(int *)(param_1 + 0x1c) + 1" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x1c) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x1c) = iVar3" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar1 + 8) = iVar3;" (assignment_expression "*(int *)(iVar1 + 8) = iVar3" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar4 = (undefined4 *)xmalloc(0xc);" (assignment_expression "puVar4 = (undefined4 *)xmalloc(0xc)" identifier = (cast_expression "(undefined4 *)xmalloc(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x2c);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x2c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "puVar4[1] = param_3;" (assignment_expression "puVar4[1] = param_3" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[2] = param_2;" (assignment_expression "puVar4[2] = param_2" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar4 = uVar2;" (assignment_expression "*puVar4 = uVar2" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x2c) = puVar4;" (assignment_expression "*(undefined4 **)(param_1 + 0x2c) = puVar4" (pointer_expression "*(undefined4 **)(param_1 + 0x2c)" * (cast_expression "(undefined4 **)(param_1 + 0x2c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) + LIT) ))))) ;) (return_statement return LIT ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_0001dba0(int param_1,char *param_2,int *param_3)\n\n{\n  int iVar1;\n  char *__s1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  iVar3 = *param_3;\n  if (3 < iVar3 - 7U) {\n                    \n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }\n  iVar1 = param_3[3];\n  if (*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20)) {\n    puVar4 = *(undefined4 **)(param_1 + 0x2c);\n    if (puVar4 != (undefined4 *)0x0) {\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }\n    iVar3 = *(int *)(param_1 + 0x1c) + 1;\n    *(int *)(param_1 + 0x1c) = iVar3;\n    *(int *)(iVar1 + 8) = iVar3;\n    puVar4 = (undefined4 *)xmalloc(0xc);\n    uVar2 = *(undefined4 *)(param_1 + 0x2c);\n    puVar4[1] = param_3;\n    puVar4[2] = param_2;\n    *puVar4 = uVar2;\n    *(undefined4 **)(param_1 + 0x2c) = puVar4;\n  }\n  return 1;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001dba0(int param_1,char *param_2,int *param_3)" (identifier "FUN_0001dba0") (parameter_list "(int param_1,char *param_2,int *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  char *__s1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  iVar3 = *param_3;\n  if (3 < iVar3 - 7U) {\n                    \n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }\n  iVar1 = param_3[3];\n  if (*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20)) {\n    puVar4 = *(undefined4 **)(param_1 + 0x2c);\n    if (puVar4 != (undefined4 *)0x0) {\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }\n    iVar3 = *(int *)(param_1 + 0x1c) + 1;\n    *(int *)(param_1 + 0x1c) = iVar3;\n    *(int *)(iVar1 + 8) = iVar3;\n    puVar4 = (undefined4 *)xmalloc(0xc);\n    uVar2 = *(undefined4 *)(param_1 + 0x2c);\n    puVar4[1] = param_3;\n    puVar4[2] = param_2;\n    *puVar4 = uVar2;\n    *(undefined4 **)(param_1 + 0x2c) = puVar4;\n  }\n  return 1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (expression_statement "iVar3 = *param_3;" (assignment_expression "iVar3 = *param_3" (identifier "iVar3") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (if_statement "if (3 < iVar3 - 7U) {\n                    \n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }" (if "if") (parenthesized_expression "(3 < iVar3 - 7U)" (( "(") (binary_expression "3 < iVar3 - 7U" (number_literal "3") (< "<") (binary_expression "iVar3 - 7U" (identifier "iVar3") (- "-") (number_literal "7U"))) () ")")) (compound_statement "{\n                    \n    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");\n  }" ({ "{") (expression_statement "__assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");" (call_expression "__assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id")" (identifier "__assert_fail") (argument_list "("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"\n                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id")" (( "(") (string_literal ""type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"" (" """) (string_content "type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS") (" """)) (, ",") (string_literal ""../../binutils/debug.c"" (" """) (string_content "../../binutils/debug.c") (" """)) (, ",") (number_literal "0xb80") (, ",") (string_literal ""debug_set_class_id"" (" """) (string_content "debug_set_class_id") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = param_3[3];" (assignment_expression "iVar1 = param_3[3]" (identifier "iVar1") (= "=") (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if (*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20)) {\n    puVar4 = *(undefined4 **)(param_1 + 0x2c);\n    if (puVar4 != (undefined4 *)0x0) {\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }\n    iVar3 = *(int *)(param_1 + 0x1c) + 1;\n    *(int *)(param_1 + 0x1c) = iVar3;\n    *(int *)(iVar1 + 8) = iVar3;\n    puVar4 = (undefined4 *)xmalloc(0xc);\n    uVar2 = *(undefined4 *)(param_1 + 0x2c);\n    puVar4[1] = param_3;\n    puVar4[2] = param_2;\n    *puVar4 = uVar2;\n    *(undefined4 **)(param_1 + 0x2c) = puVar4;\n  }" (if "if") (parenthesized_expression "(*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20))" (( "(") (binary_expression "*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20)" (pointer_expression "*(uint *)(iVar1 + 8)" (* "*") (cast_expression "(uint *)(iVar1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (<= "<=") (pointer_expression "*(uint *)(param_1 + 0x20)" (* "*") (cast_expression "(uint *)(param_1 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (compound_statement "{\n    puVar4 = *(undefined4 **)(param_1 + 0x2c);\n    if (puVar4 != (undefined4 *)0x0) {\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }\n    iVar3 = *(int *)(param_1 + 0x1c) + 1;\n    *(int *)(param_1 + 0x1c) = iVar3;\n    *(int *)(iVar1 + 8) = iVar3;\n    puVar4 = (undefined4 *)xmalloc(0xc);\n    uVar2 = *(undefined4 *)(param_1 + 0x2c);\n    puVar4[1] = param_3;\n    puVar4[2] = param_2;\n    *puVar4 = uVar2;\n    *(undefined4 **)(param_1 + 0x2c) = puVar4;\n  }" ({ "{") (expression_statement "puVar4 = *(undefined4 **)(param_1 + 0x2c);" (assignment_expression "puVar4 = *(undefined4 **)(param_1 + 0x2c)" (identifier "puVar4") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x2c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x2c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (if_statement "if (puVar4 != (undefined4 *)0x0) {\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }" (if "if") (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar4 != (undefined4 *)0x0" (identifier "puVar4") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );\n    }" ({ "{") (do_statement "do {\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      } while( true );" (do "do") (compound_statement "{\n        if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        if (puVar4 == (undefined4 *)0x0) break;\n        iVar3 = *param_3;\n      }" ({ "{") (if_statement "if (*(int *)puVar4[1] == iVar3) {\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }\n        else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }" (if "if") (parenthesized_expression "(*(int *)puVar4[1] == iVar3)" (( "(") (binary_expression "*(int *)puVar4[1] == iVar3" (pointer_expression "*(int *)puVar4[1]" (* "*") (cast_expression "(int *)puVar4[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")))) (== "==") (identifier "iVar3")) () ")")) (compound_statement "{\n          __s1 = (char *)puVar4[2];\n          if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }\n          if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }\n          puVar4 = (undefined4 *)*puVar4;\n        }" ({ "{") (expression_statement "__s1 = (char *)puVar4[2];" (assignment_expression "__s1 = (char *)puVar4[2]" (identifier "__s1") (= "=") (cast_expression "(char *)puVar4[2]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (param_2 != (char *)0x0) {\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }" (if "if") (parenthesized_expression "(param_2 != (char *)0x0)" (( "(") (binary_expression "param_2 != (char *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;\n            goto LAB_0001dc28;\n          }" ({ "{") (if_statement "if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;" (if "if") (parenthesized_expression "(((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0))" (( "(") (binary_expression "((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&\n               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)" (parenthesized_expression "((__s1 != (char *)0x0) && (*__s1 == *param_2))" (( "(") (binary_expression "(__s1 != (char *)0x0) && (*__s1 == *param_2)" (parenthesized_expression "(__s1 != (char *)0x0)" (( "(") (binary_expression "__s1 != (char *)0x0" (identifier "__s1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(*__s1 == *param_2)" (( "(") (binary_expression "*__s1 == *param_2" (pointer_expression "*__s1" (* "*") (identifier "__s1")) (== "==") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = strcmp(__s1,param_2), iVar3 == 0)" (( "(") (comma_expression "iVar3 = strcmp(__s1,param_2), iVar3 == 0" (assignment_expression "iVar3 = strcmp(__s1,param_2)" (identifier "iVar3") (= "=") (call_expression "strcmp(__s1,param_2)" (identifier "strcmp") (argument_list "(__s1,param_2)" (( "(") (identifier "__s1") (, ",") (identifier "param_2") () ")")))) (, ",") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_0001dc15;" (goto "goto") (statement_identifier "LAB_0001dc15") (; ";"))) (goto_statement "goto LAB_0001dc28;" (goto "goto") (statement_identifier "LAB_0001dc28") (; ";")) (} "}"))) (if_statement "if (__s1 == (char *)0x0) {\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }" (if "if") (parenthesized_expression "(__s1 == (char *)0x0)" (( "(") (binary_expression "__s1 == (char *)0x0" (identifier "__s1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_0001dc15:\n            iVar3 = FUN_0001d480();\n            if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }\n            goto LAB_0001dc28;\n          }" ({ "{") (labeled_statement "LAB_0001dc15:\n            iVar3 = FUN_0001d480();" (statement_identifier "LAB_0001dc15") (: ":") (expression_statement "iVar3 = FUN_0001d480();" (assignment_expression "iVar3 = FUN_0001d480()" (identifier "iVar3") (= "=") (call_expression "FUN_0001d480()" (identifier "FUN_0001d480") (argument_list "()" (( "(") () ")")))) (; ";"))) (if_statement "if (iVar3 != 0) {\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);\n              return 1;\n            }" ({ "{") (expression_statement "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);" (assignment_expression "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8)" (pointer_expression "*(undefined4 *)(iVar1 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8)" (* "*") (cast_expression "(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar4[1] + 0xc) + 8)" (( "(") (binary_expression "*(int *)(puVar4[1] + 0xc) + 8" (pointer_expression "*(int *)(puVar4[1] + 0xc)" (* "*") (cast_expression "(int *)(puVar4[1] + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4[1] + 0xc)" (( "(") (binary_expression "puVar4[1] + 0xc" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (goto_statement "goto LAB_0001dc28;" (goto "goto") (statement_identifier "LAB_0001dc28") (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined4 *)*puVar4;" (assignment_expression "puVar4 = (undefined4 *)*puVar4" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)*puVar4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";")) (} "}")) (else_clause "else {\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }" (else "else") (compound_statement "{\nLAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;\n        }" ({ "{") (labeled_statement "LAB_0001dc28:\n          puVar4 = (undefined4 *)*puVar4;" (statement_identifier "LAB_0001dc28") (: ":") (expression_statement "puVar4 = (undefined4 *)*puVar4;" (assignment_expression "puVar4 = (undefined4 *)*puVar4" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)*puVar4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";"))) (} "}")))) (if_statement "if (puVar4 == (undefined4 *)0x0) break;" (if "if") (parenthesized_expression "(puVar4 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar4 == (undefined4 *)0x0" (identifier "puVar4") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar3 = *param_3;" (assignment_expression "iVar3 = *param_3" (identifier "iVar3") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "iVar3 = *(int *)(param_1 + 0x1c) + 1;" (assignment_expression "iVar3 = *(int *)(param_1 + 0x1c) + 1" (identifier "iVar3") (= "=") (binary_expression "*(int *)(param_1 + 0x1c) + 1" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x1c) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x1c) = iVar3" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(int *)(iVar1 + 8) = iVar3;" (assignment_expression "*(int *)(iVar1 + 8) = iVar3" (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "puVar4 = (undefined4 *)xmalloc(0xc);" (assignment_expression "puVar4 = (undefined4 *)xmalloc(0xc)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)xmalloc(0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0xc)" (identifier "xmalloc") (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x2c);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x2c)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (expression_statement "puVar4[1] = param_3;" (assignment_expression "puVar4[1] = param_3" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "puVar4[2] = param_2;" (assignment_expression "puVar4[2] = param_2" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*puVar4 = uVar2;" (assignment_expression "*puVar4 = uVar2" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x2c) = puVar4;" (assignment_expression "*(undefined4 **)(param_1 + 0x2c) = puVar4" (pointer_expression "*(undefined4 **)(param_1 + 0x2c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x2c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (identifier "puVar4")) (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

type_1 __regparm3 function_1(type_2 *info,char *var_5,type_3 *type)

{
  type_3 *pdVar1;
  type_3 *t1;
  char *var_6;
  int var_8;
  type_1 var_10;
  type_4 var_1;
  type_5 pdVar5;
  type_6 *pdVar6;
  type_6 *var_4;
  
  var_1 = type->kind;
  if (3 < var_1 - var_2) {
                    /* WARNING: Subroutine does not return */
    var_3("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"
                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");
  }
  pdVar1 = (type->u).kpointer;
  if (pdVar1->pointer <= (type_5)info->base_id) {
    var_4 = info->id_list;
    if (var_4 != (type_6 *)0x0) {
      do {
        t1 = var_4->type;
        if (t1->kind == var_1) {
          var_6 = var_4->var_5;
          if (var_5 != (char *)0x0) {
            if (((var_6 != (char *)0x0) && (*var_6 == *var_5)) && (var_8 = var_7(var_6,var_5), var_8 == 0)
               ) goto LAB_0001dc15;
            goto LAB_0001dc28;
          }
          if (var_6 == (char *)0x0) {
LAB_0001dc15:
            var_10 = var_9(info,t1,type);
            if (var_10 != 0) {
              pdVar1->pointer = (type_5)((var_4->type->u).kclass)->id;
              return 1;
            }
            goto LAB_0001dc28;
          }
          var_4 = var_4->next;
        }
        else {
LAB_0001dc28:
          var_4 = var_4->next;
        }
        if (var_4 == (type_6 *)0x0) break;
        var_1 = type->kind;
      } while( true );
    }
    pdVar5 = (type_5)(info->class_id + 1);
    info->class_id = (type_7)pdVar5;
    pdVar1->pointer = pdVar5;
    pdVar6 = (type_6 *)var_11(0xc);
    var_4 = info->id_list;
    pdVar6->type = type;
    pdVar6->var_5 = var_5;
    pdVar6->next = var_4;
    info->id_list = pdVar6;
  }
  return 1;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  int iVar1;
  char *__s1;
  undefined4 uVar2;
  int iVar3;
  undefined4 *puVar4;
  
  iVar3 = *param_3;
  if (3 < iVar3 - 7U) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("type->kind == DEBUG_KIND_STRUCT || type->kind == DEBUG_KIND_UNION || type->kind == DEBUG_KIND_CLASS || type->kind == DEBUG_KIND_UNION_CLASS"
                  ,"../../binutils/debug.c",0xb80,"debug_set_class_id");
  }
  iVar1 = param_3[3];
  if (*(uint *)(iVar1 + 8) <= *(uint *)(param_1 + 0x20)) {
    puVar4 = *(undefined4 **)(param_1 + 0x2c);
    if (puVar4 != (undefined4 *)0x0) {
      do {
        if (*(int *)puVar4[1] == iVar3) {
          __s1 = (char *)puVar4[2];
          if (param_2 != (char *)0x0) {
            if (((__s1 != (char *)0x0) && (*__s1 == *param_2)) &&
               (iVar3 = strcmp(__s1,param_2), iVar3 == 0)) goto LAB_0001dc15;
            goto LAB_0001dc28;
          }
          if (__s1 == (char *)0x0) {
LAB_0001dc15:
            iVar3 = FUN_0001d480();
            if (iVar3 != 0) {
              *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(*(int *)(puVar4[1] + 0xc) + 8);
              return 1;
            }
            goto LAB_0001dc28;
          }
          puVar4 = (undefined4 *)*puVar4;
        }
        else {
LAB_0001dc28:
          puVar4 = (undefined4 *)*puVar4;
        }
        if (puVar4 == (undefined4 *)0x0) break;
        iVar3 = *param_3;
      } while( true );
    }
    iVar3 = *(int *)(param_1 + 0x1c) + 1;
    *(int *)(param_1 + 0x1c) = iVar3;
    *(int *)(iVar1 + 8) = iVar3;
    puVar4 = (undefined4 *)xmalloc(0xc);
    uVar2 = *(undefined4 *)(param_1 + 0x2c);
    puVar4[1] = param_3;
    puVar4[2] = param_2;
    *puVar4 = uVar2;
    *(undefined4 **)(param_1 + 0x2c) = puVar4;
  }
  return 1;
}

