
debug_type_s * debug_get_real_type(void *handle,debug_type_conflict type,debug_type_real_list *list)

{
  bool bVar1;
  debug_type_real_list *pdVar2;
  undefined4 uVar3;
  debug_type_conflict pdVar4;
  debug_type_kind dVar5;
  debug_name *type_00;
  char *pcVar6;
  undefined4 uVar7;
  debug_type_real_list rl;
  
  dVar5 = type->kind;
  if ((dVar5 < (DEBUG_KIND_ARRAY|DEBUG_KIND_UNION)) &&
     ((1 << (dVar5 & (DEBUG_KIND_ARRAY|DEBUG_KIND_RANGE)) & 0xc00002U) != 0)) {
    if (list != (debug_type_real_list *)0x0) {
      if ((type != list->t) && (pdVar2 = list->next, list->next != list)) {
        do {
          if (pdVar2 == (debug_type_real_list *)0x0) goto LAB_0004907c;
        } while ((pdVar2->t != type) &&
                (bVar1 = pdVar2->next != pdVar2, pdVar2 = pdVar2->next, bVar1));
      }
      uVar7 = *(undefined4 *)PTR_stderr_00082438;
      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);
      do {
        if (type->kind != DEBUG_KIND_INDIRECT) {
          pcVar6 = (char *)0x0;
          if (1 < type->kind - DEBUG_KIND_NAMED) goto LAB_00049120;
          pdVar4 = ((type->u).kfunction)->return_type;
          break;
        }
        pdVar4 = (debug_type_conflict)(type->u).kindirect;
        type = *(debug_type_conflict *)pdVar4->kind;
      } while (type != (debug_type_conflict)0x0);
      pcVar6 = (char *)pdVar4->size;
LAB_00049120:
      (*(code *)PTR_fprintf_00082340)(uVar7,uVar3,pcVar6);
      return (debug_type_s *)0x0;
    }
LAB_0004907c:
    rl.next = list;
    rl.t = type;
    if (dVar5 - DEBUG_KIND_NAMED < 2) {
      type = debug_get_real_type(handle,((type->u).knamed)->type,&rl);
    }
    else {
      type_00 = ((type->u).knamed)->name->next;
      if (type_00 != (debug_name *)0x0) {
        type = debug_get_real_type(handle,(debug_type_conflict)type_00,&rl);
      }
    }
  }
  return type;
}



uint * FUN_00048fe0(undefined4 param_1,uint *param_2,int *param_3)

{
  bool bVar1;
  int *piVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  uint uVar5;
  int iVar6;
  undefined4 uVar7;
  undefined4 uVar8;
  int *local_18;
  uint *local_14;
  
  uVar5 = *param_2;
  if ((uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)) {
    if (param_3 != (int *)0x0) {
      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))
      {
        do {
          if (piVar2 == (int *)0x0) goto LAB_0004907c;
        } while (((uint *)piVar2[1] != param_2) &&
                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));
      }
      uVar8 = *(undefined4 *)PTR_stderr_00082438;
      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);
      do {
        if (*param_2 != 1) {
          uVar7 = 0;
          if (1 < *param_2 - 0x16) goto LAB_00049120;
          puVar4 = *(undefined4 **)param_2[3];
          break;
        }
        puVar4 = (undefined4 *)param_2[3];
        param_2 = *(uint **)*puVar4;
      } while (param_2 != (uint *)0x0);
      uVar7 = puVar4[1];
LAB_00049120:
      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);
      return (uint *)0x0;
    }
LAB_0004907c:
    local_18 = param_3;
    local_14 = param_2;
    if (uVar5 - 0x16 < 2) {
      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);
    }
    else {
      iVar6 = **(int **)param_2[3];
      if (iVar6 != 0) {
        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);
      }
    }
  }
  return param_2;
}


lui gp,0x4
addiu gp,gp,0xf90
addu gp,gp,t9
addiu sp,sp,-0x30
sw s0,0x24(sp)
or s0,a1,zero
sw gp,0x10(sp)
sw ra,0x2c(sp)
sw s1,0x28(sp)
lw a1,0x0(a1)
sltiu v0,a1,0x18
beq v0,zero,0x000490a8
_or v0,s0,zero
li v0,0x1
lui v1,0xc0
sllv v0,v0,a1
addiu v1,v1,0x2
and v0,v0,v1
beq v0,zero,0x000490a8
_or v0,s0,zero
beq a2,zero,0x0004907c
_nop
lw v0,0x4(a2)
beq s0,v0,0x000490bc
_nop
lw v0,0x0(a2)
bne v0,a2,0x00049074
_nop
b 0x000490c0
_lw a1,-0x7f58(gp)
lw v1,0x4(v0)
beq v1,s0,0x000490bc
_nop
lw v1,0x0(v0)
beq v1,v0,0x000490bc
_nop
or v0,v1,zero
bne v0,zero,0x00049058
_nop
addiu a1,a1,-0x16
lw v0,0xc(s0)
sw a2,0x18(sp)
sltiu a1,a1,0x2
bne a1,zero,0x0004915c
_sw s0,0x1c(sp)
lw v0,0x0(v0)
lw a1,0x0(v0)
bne a1,zero,0x00049148
_lw t9,-0x7e7c(gp)
or v0,s0,zero
lw ra,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x30
lw a1,-0x7f58(gp)
li a2,0x5
lw v0,-0x7b38(gp)
or a0,zero,zero
lw t9,-0x7b7c(gp)
addiu a1,a1,-0x5378
jalr t9
_lw s1,0x0(v0)
li a2,0x1
b 0x000490fc
_lw gp,0x10(sp)
lw v1,0xc(s0)
lw a0,0x0(v1)
lw s0,0x0(a0)
beq s0,zero,0x0004911c
_nop
lw v1,0x0(s0)
beq v1,a2,0x000490e8
_addiu v1,v1,-0x16
sltiu v1,v1,0x2
beq v1,zero,0x00049120
_or a2,zero,zero
lw v1,0xc(s0)
lw v1,0x0(v1)
lw a2,0x4(v1)
lw t9,-0x7c30(gp)
or a0,s1,zero
jalr t9
_or a1,v0,zero
or v0,zero,zero
lw ra,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x30
addiu t9,t9,-0x7020
bal 0x00048fe0
_addiu a2,sp,0x18
b 0x000490ac
_lw ra,0x2c(sp)
lw t9,-0x7e7c(gp)
addiu a2,sp,0x18
addiu t9,t9,-0x7020
bal 0x00048fe0
_lw a1,0x4(v0)
b 0x000490ac
_lw ra,0x2c(sp)
(translation_unit "uint * FUN_00048fe0(undefined4 param_1,uint *param_2,int *param_3)\n\n{\n  bool bVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int *local_18;\n  uint *local_14;\n  \n  uVar5 = *param_2;\n  if ((uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)) {\n    if (param_3 != (int *)0x0) {\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }\nLAB_0004907c:\n    local_18 = param_3;\n    local_14 = param_2;\n    if (uVar5 - 0x16 < 2) {\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }\n    else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }\n  }\n  return param_2;\n}\n\n" (function_definition "uint * FUN_00048fe0(undefined4 param_1,uint *param_2,int *param_3)\n\n{\n  bool bVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int *local_18;\n  uint *local_14;\n  \n  uVar5 = *param_2;\n  if ((uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)) {\n    if (param_3 != (int *)0x0) {\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }\nLAB_0004907c:\n    local_18 = param_3;\n    local_14 = param_2;\n    if (uVar5 - 0x16 < 2) {\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }\n    else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }\n  }\n  return param_2;\n}" type_identifier (pointer_declarator "* FUN_00048fe0(undefined4 param_1,uint *param_2,int *param_3)" * (function_declarator "FUN_00048fe0(undefined4 param_1,uint *param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,uint *param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  bool bVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int *local_18;\n  uint *local_14;\n  \n  uVar5 = *param_2;\n  if ((uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)) {\n    if (param_3 != (int *)0x0) {\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }\nLAB_0004907c:\n    local_18 = param_3;\n    local_14 = param_2;\n    if (uVar5 - 0x16 < 2) {\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }\n    else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }\n  }\n  return param_2;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int *local_18;" primitive_type (pointer_declarator "*local_18" * identifier) ;) (declaration "uint *local_14;" type_identifier (pointer_declarator "*local_14" * identifier) ;) (expression_statement "uVar5 = *param_2;" (assignment_expression "uVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if ((uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)) {\n    if (param_3 != (int *)0x0) {\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }\nLAB_0004907c:\n    local_18 = param_3;\n    local_14 = param_2;\n    if (uVar5 - 0x16 < 2) {\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }\n    else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }\n  }" if (parenthesized_expression "((uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0))" ( (binary_expression "(uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)" (parenthesized_expression "(uVar5 < 0x18)" ( (binary_expression "uVar5 < 0x18" identifier < number_literal) )) && (parenthesized_expression "((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)" ( (binary_expression "(1 << (uVar5 & 0x1f) & 0xc00002U) != 0" (parenthesized_expression "(1 << (uVar5 & 0x1f) & 0xc00002U)" ( (binary_expression "1 << (uVar5 & 0x1f) & 0xc00002U" (binary_expression "1 << (uVar5 & 0x1f)" number_literal << (parenthesized_expression "(uVar5 & 0x1f)" ( (binary_expression "uVar5 & 0x1f" identifier & number_literal) ))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    if (param_3 != (int *)0x0) {\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }\nLAB_0004907c:\n    local_18 = param_3;\n    local_14 = param_2;\n    if (uVar5 - 0x16 < 2) {\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }\n    else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }\n  }" { (if_statement "if (param_3 != (int *)0x0) {\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }" if (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }" { (if_statement "if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }" if (parenthesized_expression "((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))" ( (binary_expression "(param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3)" (parenthesized_expression "(param_2 != (uint *)param_3[1])" ( (binary_expression "param_2 != (uint *)param_3[1]" identifier != (cast_expression "(uint *)param_3[1]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) )) && (parenthesized_expression "(piVar2 = (int *)*param_3, (int *)*param_3 != param_3)" ( (comma_expression "piVar2 = (int *)*param_3, (int *)*param_3 != param_3" (assignment_expression "piVar2 = (int *)*param_3" identifier = (cast_expression "(int *)*param_3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) , (binary_expression "(int *)*param_3 != param_3" (cast_expression "(int *)*param_3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier)) != identifier)) ))) )) (compound_statement "{\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }" { (do_statement "do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));" do (compound_statement "{\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        }" { (if_statement "if (piVar2 == (int *)0x0) goto LAB_0004907c;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0004907c;" goto statement_identifier ;)) }) while (parenthesized_expression "(((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1))" ( (binary_expression "((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1)" (parenthesized_expression "((uint *)piVar2[1] != param_2)" ( (binary_expression "(uint *)piVar2[1] != param_2" (cast_expression "(uint *)piVar2[1]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[1]" identifier [ number_literal ])) != identifier) )) && (parenthesized_expression "(bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1)" ( (comma_expression "bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1" (assignment_expression "bVar1 = (int *)*piVar2 != piVar2" identifier = (binary_expression "(int *)*piVar2 != piVar2" (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier)) != identifier)) , (comma_expression "piVar2 = (int *)*piVar2, bVar1" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) , identifier)) ))) )) ;) })) (expression_statement "uVar8 = *(undefined4 *)PTR_stderr_00082438;" (assignment_expression "uVar8 = *(undefined4 *)PTR_stderr_00082438" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_00082438" * (cast_expression "(undefined4 *)PTR_stderr_00082438" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_UINT_00082018 + -0x5378,5)" ( number_literal , (binary_expression "PTR_UINT_00082018 + -0x5378" identifier + number_literal) , number_literal )))) ;) (do_statement "do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);" do (compound_statement "{\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      }" { (if_statement "if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }" if (parenthesized_expression "(*param_2 != 1)" ( (binary_expression "*param_2 != 1" (pointer_expression "*param_2" * identifier) != number_literal) )) (compound_statement "{\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (if_statement "if (1 < *param_2 - 0x16) goto LAB_00049120;" if (parenthesized_expression "(1 < *param_2 - 0x16)" ( (binary_expression "1 < *param_2 - 0x16" number_literal < (binary_expression "*param_2 - 0x16" (pointer_expression "*param_2" * identifier) - number_literal)) )) (goto_statement "goto LAB_00049120;" goto statement_identifier ;)) (expression_statement "puVar4 = *(undefined4 **)param_2[3];" (assignment_expression "puVar4 = *(undefined4 **)param_2[3]" identifier = (pointer_expression "*(undefined4 **)param_2[3]" * (cast_expression "(undefined4 **)param_2[3]" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_2[3]" identifier [ number_literal ])))) ;) (break_statement "break;" break ;) })) (expression_statement "puVar4 = (undefined4 *)param_2[3];" (assignment_expression "puVar4 = (undefined4 *)param_2[3]" identifier = (cast_expression "(undefined4 *)param_2[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[3]" identifier [ number_literal ]))) ;) (expression_statement "param_2 = *(uint **)*puVar4;" (assignment_expression "param_2 = *(uint **)*puVar4" identifier = (pointer_expression "*(uint **)*puVar4" * (cast_expression "(uint **)*puVar4" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*puVar4" * identifier)))) ;) }) while (parenthesized_expression "(param_2 != (uint *)0x0)" ( (binary_expression "param_2 != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "uVar7 = puVar4[1];" (assignment_expression "uVar7 = puVar4[1]" identifier = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (labeled_statement "LAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);" statement_identifier : (expression_statement "(*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);" (call_expression "(*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7)" (parenthesized_expression "(*(code *)PTR_fprintf_00082340)" ( (pointer_expression "*(code *)PTR_fprintf_00082340" * (cast_expression "(code *)PTR_fprintf_00082340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8,uVar3,uVar7)" ( identifier , identifier , identifier ))) ;)) (return_statement "return (uint *)0x0;" return (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (labeled_statement "LAB_0004907c:\n    local_18 = param_3;" statement_identifier : (expression_statement "local_18 = param_3;" (assignment_expression "local_18 = param_3" identifier = identifier) ;)) (expression_statement "local_14 = param_2;" (assignment_expression "local_14 = param_2" identifier = identifier) ;) (if_statement "if (uVar5 - 0x16 < 2) {\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }\n    else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }" if (parenthesized_expression "(uVar5 - 0x16 < 2)" ( (binary_expression "uVar5 - 0x16 < 2" (binary_expression "uVar5 - 0x16" identifier - number_literal) < number_literal) )) (compound_statement "{\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }" { (expression_statement "param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);" (assignment_expression "param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18)" identifier = (cast_expression "(uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18)" identifier (argument_list "(param_1,((undefined4 *)param_2[3])[1],&local_18)" ( identifier , (subscript_expression "((undefined4 *)param_2[3])[1]" (parenthesized_expression "((undefined4 *)param_2[3])" ( (cast_expression "(undefined4 *)param_2[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[3]" identifier [ number_literal ])) )) [ number_literal ]) , (pointer_expression "&local_18" & identifier) ))))) ;) }) (else_clause "else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }" else (compound_statement "{\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }" { (expression_statement "iVar6 = **(int **)param_2[3];" (assignment_expression "iVar6 = **(int **)param_2[3]" identifier = (pointer_expression "**(int **)param_2[3]" * (pointer_expression "*(int **)param_2[3]" * (cast_expression "(int **)param_2[3]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_2[3]" identifier [ number_literal ]))))) ;) (if_statement "if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }" { (expression_statement "param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);" (assignment_expression "param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18)" identifier = (cast_expression "(uint *)FUN_00048fe0(param_1,iVar6,&local_18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00048fe0(param_1,iVar6,&local_18)" identifier (argument_list "(param_1,iVar6,&local_18)" ( identifier , identifier , (pointer_expression "&local_18" & identifier) ))))) ;) })) }))) })) (return_statement "return param_2;" return identifier ;) })))
(translation_unit "debug_type_s * debug_get_real_type(void *handle,debug_type_conflict type,debug_type_real_list *list)\n\n{\n  bool bVar1;\n  debug_type_real_list *pdVar2;\n  undefined4 uVar3;\n  debug_type_conflict pdVar4;\n  debug_type_kind dVar5;\n  debug_name *type_00;\n  char *pcVar6;\n  undefined4 uVar7;\n  debug_type_real_list rl;\n  \n  dVar5 = type->kind;\n  if ((dVar5 < (DEBUG_KIND_ARRAY|DEBUG_KIND_UNION)) &&\n     ((1 << (dVar5 & (DEBUG_KIND_ARRAY|DEBUG_KIND_RANGE)) & 0xc00002U) != 0)) {\n    if (list != (debug_type_real_list *)0x0) {\n      if ((type != list->t) && (pdVar2 = list->next, list->next != list)) {\n        do {\n          if (pdVar2 == (debug_type_real_list *)0x0) goto LAB_0004907c;\n        } while ((pdVar2->t != type) &&\n                (bVar1 = pdVar2->next != pdVar2, pdVar2 = pdVar2->next, bVar1));\n      }\n      uVar7 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (type->kind != DEBUG_KIND_INDIRECT) {\n          pcVar6 = (char *)0x0;\n          if (1 < type->kind - DEBUG_KIND_NAMED) goto LAB_00049120;\n          pdVar4 = ((type->u).kfunction)->return_type;\n          break;\n        }\n        pdVar4 = (debug_type_conflict)(type->u).kindirect;\n        type = *(debug_type_conflict *)pdVar4->kind;\n      } while (type != (debug_type_conflict)0x0);\n      pcVar6 = (char *)pdVar4->size;\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar7,uVar3,pcVar6);\n      return (debug_type_s *)0x0;\n    }\nLAB_0004907c:\n    rl.next = list;\n    rl.t = type;\n    if (dVar5 - DEBUG_KIND_NAMED < 2) {\n      type = debug_get_real_type(handle,((type->u).knamed)->type,&rl);\n    }\n    else {\n      type_00 = ((type->u).knamed)->name->next;\n      if (type_00 != (debug_name *)0x0) {\n        type = debug_get_real_type(handle,(debug_type_conflict)type_00,&rl);\n      }\n    }\n  }\n  return type;\n}\n\n" (function_definition "debug_type_s * debug_get_real_type(void *handle,debug_type_conflict type,debug_type_real_list *list)\n\n{\n  bool bVar1;\n  debug_type_real_list *pdVar2;\n  undefined4 uVar3;\n  debug_type_conflict pdVar4;\n  debug_type_kind dVar5;\n  debug_name *type_00;\n  char *pcVar6;\n  undefined4 uVar7;\n  debug_type_real_list rl;\n  \n  dVar5 = type->kind;\n  if ((dVar5 < (DEBUG_KIND_ARRAY|DEBUG_KIND_UNION)) &&\n     ((1 << (dVar5 & (DEBUG_KIND_ARRAY|DEBUG_KIND_RANGE)) & 0xc00002U) != 0)) {\n    if (list != (debug_type_real_list *)0x0) {\n      if ((type != list->t) && (pdVar2 = list->next, list->next != list)) {\n        do {\n          if (pdVar2 == (debug_type_real_list *)0x0) goto LAB_0004907c;\n        } while ((pdVar2->t != type) &&\n                (bVar1 = pdVar2->next != pdVar2, pdVar2 = pdVar2->next, bVar1));\n      }\n      uVar7 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (type->kind != DEBUG_KIND_INDIRECT) {\n          pcVar6 = (char *)0x0;\n          if (1 < type->kind - DEBUG_KIND_NAMED) goto LAB_00049120;\n          pdVar4 = ((type->u).kfunction)->return_type;\n          break;\n        }\n        pdVar4 = (debug_type_conflict)(type->u).kindirect;\n        type = *(debug_type_conflict *)pdVar4->kind;\n      } while (type != (debug_type_conflict)0x0);\n      pcVar6 = (char *)pdVar4->size;\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar7,uVar3,pcVar6);\n      return (debug_type_s *)0x0;\n    }\nLAB_0004907c:\n    rl.next = list;\n    rl.t = type;\n    if (dVar5 - DEBUG_KIND_NAMED < 2) {\n      type = debug_get_real_type(handle,((type->u).knamed)->type,&rl);\n    }\n    else {\n      type_00 = ((type->u).knamed)->name->next;\n      if (type_00 != (debug_name *)0x0) {\n        type = debug_get_real_type(handle,(debug_type_conflict)type_00,&rl);\n      }\n    }\n  }\n  return type;\n}" type_identifier (pointer_declarator "* debug_get_real_type(void *handle,debug_type_conflict type,debug_type_real_list *list)" * (function_declarator "debug_get_real_type(void *handle,debug_type_conflict type,debug_type_real_list *list)" identifier (parameter_list "(void *handle,debug_type_conflict type,debug_type_real_list *list)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "debug_type_conflict type" type_identifier identifier) , (parameter_declaration "debug_type_real_list *list" type_identifier (pointer_declarator "*list" * identifier)) )))) (compound_statement "{\n  bool bVar1;\n  debug_type_real_list *pdVar2;\n  undefined4 uVar3;\n  debug_type_conflict pdVar4;\n  debug_type_kind dVar5;\n  debug_name *type_00;\n  char *pcVar6;\n  undefined4 uVar7;\n  debug_type_real_list rl;\n  \n  dVar5 = type->kind;\n  if ((dVar5 < (DEBUG_KIND_ARRAY|DEBUG_KIND_UNION)) &&\n     ((1 << (dVar5 & (DEBUG_KIND_ARRAY|DEBUG_KIND_RANGE)) & 0xc00002U) != 0)) {\n    if (list != (debug_type_real_list *)0x0) {\n      if ((type != list->t) && (pdVar2 = list->next, list->next != list)) {\n        do {\n          if (pdVar2 == (debug_type_real_list *)0x0) goto LAB_0004907c;\n        } while ((pdVar2->t != type) &&\n                (bVar1 = pdVar2->next != pdVar2, pdVar2 = pdVar2->next, bVar1));\n      }\n      uVar7 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (type->kind != DEBUG_KIND_INDIRECT) {\n          pcVar6 = (char *)0x0;\n          if (1 < type->kind - DEBUG_KIND_NAMED) goto LAB_00049120;\n          pdVar4 = ((type->u).kfunction)->return_type;\n          break;\n        }\n        pdVar4 = (debug_type_conflict)(type->u).kindirect;\n        type = *(debug_type_conflict *)pdVar4->kind;\n      } while (type != (debug_type_conflict)0x0);\n      pcVar6 = (char *)pdVar4->size;\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar7,uVar3,pcVar6);\n      return (debug_type_s *)0x0;\n    }\nLAB_0004907c:\n    rl.next = list;\n    rl.t = type;\n    if (dVar5 - DEBUG_KIND_NAMED < 2) {\n      type = debug_get_real_type(handle,((type->u).knamed)->type,&rl);\n    }\n    else {\n      type_00 = ((type->u).knamed)->name->next;\n      if (type_00 != (debug_name *)0x0) {\n        type = debug_get_real_type(handle,(debug_type_conflict)type_00,&rl);\n      }\n    }\n  }\n  return type;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "debug_type_real_list *pdVar2;" type_identifier (pointer_declarator "*pdVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "debug_type_conflict pdVar4;" type_identifier identifier ;) (declaration "debug_type_kind dVar5;" type_identifier identifier ;) (declaration "debug_name *type_00;" type_identifier (pointer_declarator "*type_00" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "debug_type_real_list rl;" type_identifier identifier ;) (expression_statement "dVar5 = type->kind;" (assignment_expression "dVar5 = type->kind" identifier = (field_expression "type->kind" identifier -> field_identifier)) ;) (if_statement "if ((dVar5 < (DEBUG_KIND_ARRAY|DEBUG_KIND_UNION)) &&\n     ((1 << (dVar5 & (DEBUG_KIND_ARRAY|DEBUG_KIND_RANGE)) & 0xc00002U) != 0)) {\n    if (list != (debug_type_real_list *)0x0) {\n      if ((type != list->t) && (pdVar2 = list->next, list->next != list)) {\n        do {\n          if (pdVar2 == (debug_type_real_list *)0x0) goto LAB_0004907c;\n        } while ((pdVar2->t != type) &&\n                (bVar1 = pdVar2->next != pdVar2, pdVar2 = pdVar2->next, bVar1));\n      }\n      uVar7 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (type->kind != DEBUG_KIND_INDIRECT) {\n          pcVar6 = (char *)0x0;\n          if (1 < type->kind - DEBUG_KIND_NAMED) goto LAB_00049120;\n          pdVar4 = ((type->u).kfunction)->return_type;\n          break;\n        }\n        pdVar4 = (debug_type_conflict)(type->u).kindirect;\n        type = *(debug_type_conflict *)pdVar4->kind;\n      } while (type != (debug_type_conflict)0x0);\n      pcVar6 = (char *)pdVar4->size;\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar7,uVar3,pcVar6);\n      return (debug_type_s *)0x0;\n    }\nLAB_0004907c:\n    rl.next = list;\n    rl.t = type;\n    if (dVar5 - DEBUG_KIND_NAMED < 2) {\n      type = debug_get_real_type(handle,((type->u).knamed)->type,&rl);\n    }\n    else {\n      type_00 = ((type->u).knamed)->name->next;\n      if (type_00 != (debug_name *)0x0) {\n        type = debug_get_real_type(handle,(debug_type_conflict)type_00,&rl);\n      }\n    }\n  }" if (parenthesized_expression "((dVar5 < (DEBUG_KIND_ARRAY|DEBUG_KIND_UNION)) &&\n     ((1 << (dVar5 & (DEBUG_KIND_ARRAY|DEBUG_KIND_RANGE)) & 0xc00002U) != 0))" ( (binary_expression "(dVar5 < (DEBUG_KIND_ARRAY|DEBUG_KIND_UNION)) &&\n     ((1 << (dVar5 & (DEBUG_KIND_ARRAY|DEBUG_KIND_RANGE)) & 0xc00002U) != 0)" (parenthesized_expression "(dVar5 < (DEBUG_KIND_ARRAY|DEBUG_KIND_UNION))" ( (binary_expression "dVar5 < (DEBUG_KIND_ARRAY|DEBUG_KIND_UNION)" identifier < (parenthesized_expression "(DEBUG_KIND_ARRAY|DEBUG_KIND_UNION)" ( (binary_expression "DEBUG_KIND_ARRAY|DEBUG_KIND_UNION" identifier | identifier) ))) )) && (parenthesized_expression "((1 << (dVar5 & (DEBUG_KIND_ARRAY|DEBUG_KIND_RANGE)) & 0xc00002U) != 0)" ( (binary_expression "(1 << (dVar5 & (DEBUG_KIND_ARRAY|DEBUG_KIND_RANGE)) & 0xc00002U) != 0" (parenthesized_expression "(1 << (dVar5 & (DEBUG_KIND_ARRAY|DEBUG_KIND_RANGE)) & 0xc00002U)" ( (binary_expression "1 << (dVar5 & (DEBUG_KIND_ARRAY|DEBUG_KIND_RANGE)) & 0xc00002U" (binary_expression "1 << (dVar5 & (DEBUG_KIND_ARRAY|DEBUG_KIND_RANGE))" number_literal << (parenthesized_expression "(dVar5 & (DEBUG_KIND_ARRAY|DEBUG_KIND_RANGE))" ( (binary_expression "dVar5 & (DEBUG_KIND_ARRAY|DEBUG_KIND_RANGE)" identifier & (parenthesized_expression "(DEBUG_KIND_ARRAY|DEBUG_KIND_RANGE)" ( (binary_expression "DEBUG_KIND_ARRAY|DEBUG_KIND_RANGE" identifier | identifier) ))) ))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    if (list != (debug_type_real_list *)0x0) {\n      if ((type != list->t) && (pdVar2 = list->next, list->next != list)) {\n        do {\n          if (pdVar2 == (debug_type_real_list *)0x0) goto LAB_0004907c;\n        } while ((pdVar2->t != type) &&\n                (bVar1 = pdVar2->next != pdVar2, pdVar2 = pdVar2->next, bVar1));\n      }\n      uVar7 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (type->kind != DEBUG_KIND_INDIRECT) {\n          pcVar6 = (char *)0x0;\n          if (1 < type->kind - DEBUG_KIND_NAMED) goto LAB_00049120;\n          pdVar4 = ((type->u).kfunction)->return_type;\n          break;\n        }\n        pdVar4 = (debug_type_conflict)(type->u).kindirect;\n        type = *(debug_type_conflict *)pdVar4->kind;\n      } while (type != (debug_type_conflict)0x0);\n      pcVar6 = (char *)pdVar4->size;\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar7,uVar3,pcVar6);\n      return (debug_type_s *)0x0;\n    }\nLAB_0004907c:\n    rl.next = list;\n    rl.t = type;\n    if (dVar5 - DEBUG_KIND_NAMED < 2) {\n      type = debug_get_real_type(handle,((type->u).knamed)->type,&rl);\n    }\n    else {\n      type_00 = ((type->u).knamed)->name->next;\n      if (type_00 != (debug_name *)0x0) {\n        type = debug_get_real_type(handle,(debug_type_conflict)type_00,&rl);\n      }\n    }\n  }" { (if_statement "if (list != (debug_type_real_list *)0x0) {\n      if ((type != list->t) && (pdVar2 = list->next, list->next != list)) {\n        do {\n          if (pdVar2 == (debug_type_real_list *)0x0) goto LAB_0004907c;\n        } while ((pdVar2->t != type) &&\n                (bVar1 = pdVar2->next != pdVar2, pdVar2 = pdVar2->next, bVar1));\n      }\n      uVar7 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (type->kind != DEBUG_KIND_INDIRECT) {\n          pcVar6 = (char *)0x0;\n          if (1 < type->kind - DEBUG_KIND_NAMED) goto LAB_00049120;\n          pdVar4 = ((type->u).kfunction)->return_type;\n          break;\n        }\n        pdVar4 = (debug_type_conflict)(type->u).kindirect;\n        type = *(debug_type_conflict *)pdVar4->kind;\n      } while (type != (debug_type_conflict)0x0);\n      pcVar6 = (char *)pdVar4->size;\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar7,uVar3,pcVar6);\n      return (debug_type_s *)0x0;\n    }" if (parenthesized_expression "(list != (debug_type_real_list *)0x0)" ( (binary_expression "list != (debug_type_real_list *)0x0" identifier != (cast_expression "(debug_type_real_list *)0x0" ( (type_descriptor "debug_type_real_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if ((type != list->t) && (pdVar2 = list->next, list->next != list)) {\n        do {\n          if (pdVar2 == (debug_type_real_list *)0x0) goto LAB_0004907c;\n        } while ((pdVar2->t != type) &&\n                (bVar1 = pdVar2->next != pdVar2, pdVar2 = pdVar2->next, bVar1));\n      }\n      uVar7 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (type->kind != DEBUG_KIND_INDIRECT) {\n          pcVar6 = (char *)0x0;\n          if (1 < type->kind - DEBUG_KIND_NAMED) goto LAB_00049120;\n          pdVar4 = ((type->u).kfunction)->return_type;\n          break;\n        }\n        pdVar4 = (debug_type_conflict)(type->u).kindirect;\n        type = *(debug_type_conflict *)pdVar4->kind;\n      } while (type != (debug_type_conflict)0x0);\n      pcVar6 = (char *)pdVar4->size;\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar7,uVar3,pcVar6);\n      return (debug_type_s *)0x0;\n    }" { (if_statement "if ((type != list->t) && (pdVar2 = list->next, list->next != list)) {\n        do {\n          if (pdVar2 == (debug_type_real_list *)0x0) goto LAB_0004907c;\n        } while ((pdVar2->t != type) &&\n                (bVar1 = pdVar2->next != pdVar2, pdVar2 = pdVar2->next, bVar1));\n      }" if (parenthesized_expression "((type != list->t) && (pdVar2 = list->next, list->next != list))" ( (binary_expression "(type != list->t) && (pdVar2 = list->next, list->next != list)" (parenthesized_expression "(type != list->t)" ( (binary_expression "type != list->t" identifier != (field_expression "list->t" identifier -> field_identifier)) )) && (parenthesized_expression "(pdVar2 = list->next, list->next != list)" ( (comma_expression "pdVar2 = list->next, list->next != list" (assignment_expression "pdVar2 = list->next" identifier = (field_expression "list->next" identifier -> field_identifier)) , (binary_expression "list->next != list" (field_expression "list->next" identifier -> field_identifier) != identifier)) ))) )) (compound_statement "{\n        do {\n          if (pdVar2 == (debug_type_real_list *)0x0) goto LAB_0004907c;\n        } while ((pdVar2->t != type) &&\n                (bVar1 = pdVar2->next != pdVar2, pdVar2 = pdVar2->next, bVar1));\n      }" { (do_statement "do {\n          if (pdVar2 == (debug_type_real_list *)0x0) goto LAB_0004907c;\n        } while ((pdVar2->t != type) &&\n                (bVar1 = pdVar2->next != pdVar2, pdVar2 = pdVar2->next, bVar1));" do (compound_statement "{\n          if (pdVar2 == (debug_type_real_list *)0x0) goto LAB_0004907c;\n        }" { (if_statement "if (pdVar2 == (debug_type_real_list *)0x0) goto LAB_0004907c;" if (parenthesized_expression "(pdVar2 == (debug_type_real_list *)0x0)" ( (binary_expression "pdVar2 == (debug_type_real_list *)0x0" identifier == (cast_expression "(debug_type_real_list *)0x0" ( (type_descriptor "debug_type_real_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0004907c;" goto statement_identifier ;)) }) while (parenthesized_expression "((pdVar2->t != type) &&\n                (bVar1 = pdVar2->next != pdVar2, pdVar2 = pdVar2->next, bVar1))" ( (binary_expression "(pdVar2->t != type) &&\n                (bVar1 = pdVar2->next != pdVar2, pdVar2 = pdVar2->next, bVar1)" (parenthesized_expression "(pdVar2->t != type)" ( (binary_expression "pdVar2->t != type" (field_expression "pdVar2->t" identifier -> field_identifier) != identifier) )) && (parenthesized_expression "(bVar1 = pdVar2->next != pdVar2, pdVar2 = pdVar2->next, bVar1)" ( (comma_expression "bVar1 = pdVar2->next != pdVar2, pdVar2 = pdVar2->next, bVar1" (assignment_expression "bVar1 = pdVar2->next != pdVar2" identifier = (binary_expression "pdVar2->next != pdVar2" (field_expression "pdVar2->next" identifier -> field_identifier) != identifier)) , (comma_expression "pdVar2 = pdVar2->next, bVar1" (assignment_expression "pdVar2 = pdVar2->next" identifier = (field_expression "pdVar2->next" identifier -> field_identifier)) , identifier)) ))) )) ;) })) (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_00082438;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_00082438" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_00082438" * (cast_expression "(undefined4 *)PTR_stderr_00082438" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_UINT_00082018 + -0x5378,5)" ( number_literal , (binary_expression "PTR_UINT_00082018 + -0x5378" identifier + number_literal) , number_literal )))) ;) (do_statement "do {\n        if (type->kind != DEBUG_KIND_INDIRECT) {\n          pcVar6 = (char *)0x0;\n          if (1 < type->kind - DEBUG_KIND_NAMED) goto LAB_00049120;\n          pdVar4 = ((type->u).kfunction)->return_type;\n          break;\n        }\n        pdVar4 = (debug_type_conflict)(type->u).kindirect;\n        type = *(debug_type_conflict *)pdVar4->kind;\n      } while (type != (debug_type_conflict)0x0);" do (compound_statement "{\n        if (type->kind != DEBUG_KIND_INDIRECT) {\n          pcVar6 = (char *)0x0;\n          if (1 < type->kind - DEBUG_KIND_NAMED) goto LAB_00049120;\n          pdVar4 = ((type->u).kfunction)->return_type;\n          break;\n        }\n        pdVar4 = (debug_type_conflict)(type->u).kindirect;\n        type = *(debug_type_conflict *)pdVar4->kind;\n      }" { (if_statement "if (type->kind != DEBUG_KIND_INDIRECT) {\n          pcVar6 = (char *)0x0;\n          if (1 < type->kind - DEBUG_KIND_NAMED) goto LAB_00049120;\n          pdVar4 = ((type->u).kfunction)->return_type;\n          break;\n        }" if (parenthesized_expression "(type->kind != DEBUG_KIND_INDIRECT)" ( (binary_expression "type->kind != DEBUG_KIND_INDIRECT" (field_expression "type->kind" identifier -> field_identifier) != identifier) )) (compound_statement "{\n          pcVar6 = (char *)0x0;\n          if (1 < type->kind - DEBUG_KIND_NAMED) goto LAB_00049120;\n          pdVar4 = ((type->u).kfunction)->return_type;\n          break;\n        }" { (expression_statement "pcVar6 = (char *)0x0;" (assignment_expression "pcVar6 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (1 < type->kind - DEBUG_KIND_NAMED) goto LAB_00049120;" if (parenthesized_expression "(1 < type->kind - DEBUG_KIND_NAMED)" ( (binary_expression "1 < type->kind - DEBUG_KIND_NAMED" number_literal < (binary_expression "type->kind - DEBUG_KIND_NAMED" (field_expression "type->kind" identifier -> field_identifier) - identifier)) )) (goto_statement "goto LAB_00049120;" goto statement_identifier ;)) (expression_statement "pdVar4 = ((type->u).kfunction)->return_type;" (assignment_expression "pdVar4 = ((type->u).kfunction)->return_type" identifier = (field_expression "((type->u).kfunction)->return_type" (parenthesized_expression "((type->u).kfunction)" ( (field_expression "(type->u).kfunction" (parenthesized_expression "(type->u)" ( (field_expression "type->u" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier)) ;) (break_statement "break;" break ;) })) (expression_statement "pdVar4 = (debug_type_conflict)(type->u).kindirect;" (assignment_expression "pdVar4 = (debug_type_conflict)(type->u).kindirect" identifier = (field_expression "(debug_type_conflict)(type->u).kindirect" (call_expression "(debug_type_conflict)(type->u)" (parenthesized_expression "(debug_type_conflict)" ( identifier )) (argument_list "(type->u)" ( (field_expression "type->u" identifier -> field_identifier) ))) . field_identifier)) ;) (expression_statement "type = *(debug_type_conflict *)pdVar4->kind;" (assignment_expression "type = *(debug_type_conflict *)pdVar4->kind" identifier = (pointer_expression "*(debug_type_conflict *)pdVar4->kind" * (cast_expression "(debug_type_conflict *)pdVar4->kind" ( (type_descriptor "debug_type_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pdVar4->kind" identifier -> field_identifier)))) ;) }) while (parenthesized_expression "(type != (debug_type_conflict)0x0)" ( (binary_expression "type != (debug_type_conflict)0x0" identifier != (cast_expression "(debug_type_conflict)0x0" ( (type_descriptor "debug_type_conflict" type_identifier) ) number_literal)) )) ;) (expression_statement "pcVar6 = (char *)pdVar4->size;" (assignment_expression "pcVar6 = (char *)pdVar4->size" identifier = (cast_expression "(char *)pdVar4->size" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "pdVar4->size" identifier -> field_identifier))) ;) (labeled_statement "LAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar7,uVar3,pcVar6);" statement_identifier : (expression_statement "(*(code *)PTR_fprintf_00082340)(uVar7,uVar3,pcVar6);" (call_expression "(*(code *)PTR_fprintf_00082340)(uVar7,uVar3,pcVar6)" (parenthesized_expression "(*(code *)PTR_fprintf_00082340)" ( (pointer_expression "*(code *)PTR_fprintf_00082340" * (cast_expression "(code *)PTR_fprintf_00082340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,uVar3,pcVar6)" ( identifier , identifier , identifier ))) ;)) (return_statement "return (debug_type_s *)0x0;" return (cast_expression "(debug_type_s *)0x0" ( (type_descriptor "debug_type_s *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (labeled_statement "LAB_0004907c:\n    rl.next = list;" statement_identifier : (expression_statement "rl.next = list;" (assignment_expression "rl.next = list" (field_expression "rl.next" identifier . field_identifier) = identifier) ;)) (expression_statement "rl.t = type;" (assignment_expression "rl.t = type" (field_expression "rl.t" identifier . field_identifier) = identifier) ;) (if_statement "if (dVar5 - DEBUG_KIND_NAMED < 2) {\n      type = debug_get_real_type(handle,((type->u).knamed)->type,&rl);\n    }\n    else {\n      type_00 = ((type->u).knamed)->name->next;\n      if (type_00 != (debug_name *)0x0) {\n        type = debug_get_real_type(handle,(debug_type_conflict)type_00,&rl);\n      }\n    }" if (parenthesized_expression "(dVar5 - DEBUG_KIND_NAMED < 2)" ( (binary_expression "dVar5 - DEBUG_KIND_NAMED < 2" (binary_expression "dVar5 - DEBUG_KIND_NAMED" identifier - identifier) < number_literal) )) (compound_statement "{\n      type = debug_get_real_type(handle,((type->u).knamed)->type,&rl);\n    }" { (expression_statement "type = debug_get_real_type(handle,((type->u).knamed)->type,&rl);" (assignment_expression "type = debug_get_real_type(handle,((type->u).knamed)->type,&rl)" identifier = (call_expression "debug_get_real_type(handle,((type->u).knamed)->type,&rl)" identifier (argument_list "(handle,((type->u).knamed)->type,&rl)" ( identifier , (field_expression "((type->u).knamed)->type" (parenthesized_expression "((type->u).knamed)" ( (field_expression "(type->u).knamed" (parenthesized_expression "(type->u)" ( (field_expression "type->u" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) , (pointer_expression "&rl" & identifier) )))) ;) }) (else_clause "else {\n      type_00 = ((type->u).knamed)->name->next;\n      if (type_00 != (debug_name *)0x0) {\n        type = debug_get_real_type(handle,(debug_type_conflict)type_00,&rl);\n      }\n    }" else (compound_statement "{\n      type_00 = ((type->u).knamed)->name->next;\n      if (type_00 != (debug_name *)0x0) {\n        type = debug_get_real_type(handle,(debug_type_conflict)type_00,&rl);\n      }\n    }" { (expression_statement "type_00 = ((type->u).knamed)->name->next;" (assignment_expression "type_00 = ((type->u).knamed)->name->next" identifier = (field_expression "((type->u).knamed)->name->next" (field_expression "((type->u).knamed)->name" (parenthesized_expression "((type->u).knamed)" ( (field_expression "(type->u).knamed" (parenthesized_expression "(type->u)" ( (field_expression "type->u" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) -> field_identifier)) ;) (if_statement "if (type_00 != (debug_name *)0x0) {\n        type = debug_get_real_type(handle,(debug_type_conflict)type_00,&rl);\n      }" if (parenthesized_expression "(type_00 != (debug_name *)0x0)" ( (binary_expression "type_00 != (debug_name *)0x0" identifier != (cast_expression "(debug_name *)0x0" ( (type_descriptor "debug_name *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        type = debug_get_real_type(handle,(debug_type_conflict)type_00,&rl);\n      }" { (expression_statement "type = debug_get_real_type(handle,(debug_type_conflict)type_00,&rl);" (assignment_expression "type = debug_get_real_type(handle,(debug_type_conflict)type_00,&rl)" identifier = (call_expression "debug_get_real_type(handle,(debug_type_conflict)type_00,&rl)" identifier (argument_list "(handle,(debug_type_conflict)type_00,&rl)" ( identifier , (cast_expression "(debug_type_conflict)type_00" ( (type_descriptor "debug_type_conflict" type_identifier) ) identifier) , (pointer_expression "&rl" & identifier) )))) ;) })) }))) })) (return_statement "return type;" return identifier ;) })))
(translation_unit "uint * FUN_00048fe0(undefined4 param_1,uint *param_2,int *param_3)\n\n{\n  bool bVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int *local_18;\n  uint *local_14;\n  \n  uVar5 = *param_2;\n  if ((uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)) {\n    if (param_3 != (int *)0x0) {\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }\nLAB_0004907c:\n    local_18 = param_3;\n    local_14 = param_2;\n    if (uVar5 - 0x16 < 2) {\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }\n    else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }\n  }\n  return param_2;\n}\n\n" (function_definition "uint * FUN_00048fe0(undefined4 param_1,uint *param_2,int *param_3)\n\n{\n  bool bVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int *local_18;\n  uint *local_14;\n  \n  uVar5 = *param_2;\n  if ((uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)) {\n    if (param_3 != (int *)0x0) {\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }\nLAB_0004907c:\n    local_18 = param_3;\n    local_14 = param_2;\n    if (uVar5 - 0x16 < 2) {\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }\n    else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }\n  }\n  return param_2;\n}" type_identifier (pointer_declarator "* FUN_00048fe0(undefined4 param_1,uint *param_2,int *param_3)" * (function_declarator "FUN_00048fe0(undefined4 param_1,uint *param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,uint *param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  bool bVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int *local_18;\n  uint *local_14;\n  \n  uVar5 = *param_2;\n  if ((uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)) {\n    if (param_3 != (int *)0x0) {\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }\nLAB_0004907c:\n    local_18 = param_3;\n    local_14 = param_2;\n    if (uVar5 - 0x16 < 2) {\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }\n    else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }\n  }\n  return param_2;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int *local_18;" primitive_type (pointer_declarator "*local_18" * identifier) ;) (declaration "uint *local_14;" type_identifier (pointer_declarator "*local_14" * identifier) ;) (expression_statement "uVar5 = *param_2;" (assignment_expression "uVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if ((uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)) {\n    if (param_3 != (int *)0x0) {\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }\nLAB_0004907c:\n    local_18 = param_3;\n    local_14 = param_2;\n    if (uVar5 - 0x16 < 2) {\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }\n    else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }\n  }" if (parenthesized_expression "((uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0))" ( (binary_expression "(uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)" (parenthesized_expression "(uVar5 < 0x18)" ( (binary_expression "uVar5 < 0x18" identifier < number_literal) )) && (parenthesized_expression "((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)" ( (binary_expression "(1 << (uVar5 & 0x1f) & 0xc00002U) != 0" (parenthesized_expression "(1 << (uVar5 & 0x1f) & 0xc00002U)" ( (binary_expression "1 << (uVar5 & 0x1f) & 0xc00002U" (binary_expression "1 << (uVar5 & 0x1f)" number_literal << (parenthesized_expression "(uVar5 & 0x1f)" ( (binary_expression "uVar5 & 0x1f" identifier & number_literal) ))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    if (param_3 != (int *)0x0) {\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }\nLAB_0004907c:\n    local_18 = param_3;\n    local_14 = param_2;\n    if (uVar5 - 0x16 < 2) {\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }\n    else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }\n  }" { (if_statement "if (param_3 != (int *)0x0) {\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }" if (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }" { (if_statement "if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }" if (parenthesized_expression "((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))" ( (binary_expression "(param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3)" (parenthesized_expression "(param_2 != (uint *)param_3[1])" ( (binary_expression "param_2 != (uint *)param_3[1]" identifier != (cast_expression "(uint *)param_3[1]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) )) && (parenthesized_expression "(piVar2 = (int *)*param_3, (int *)*param_3 != param_3)" ( (comma_expression "piVar2 = (int *)*param_3, (int *)*param_3 != param_3" (assignment_expression "piVar2 = (int *)*param_3" identifier = (cast_expression "(int *)*param_3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) , (binary_expression "(int *)*param_3 != param_3" (cast_expression "(int *)*param_3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier)) != identifier)) ))) )) (compound_statement "{\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }" { (do_statement "do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));" do (compound_statement "{\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        }" { (if_statement "if (piVar2 == (int *)0x0) goto LAB_0004907c;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0004907c;" goto statement_identifier ;)) }) while (parenthesized_expression "(((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1))" ( (binary_expression "((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1)" (parenthesized_expression "((uint *)piVar2[1] != param_2)" ( (binary_expression "(uint *)piVar2[1] != param_2" (cast_expression "(uint *)piVar2[1]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[1]" identifier [ number_literal ])) != identifier) )) && (parenthesized_expression "(bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1)" ( (comma_expression "bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1" (assignment_expression "bVar1 = (int *)*piVar2 != piVar2" identifier = (binary_expression "(int *)*piVar2 != piVar2" (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier)) != identifier)) , (comma_expression "piVar2 = (int *)*piVar2, bVar1" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) , identifier)) ))) )) ;) })) (expression_statement "uVar8 = *(undefined4 *)PTR_stderr_00082438;" (assignment_expression "uVar8 = *(undefined4 *)PTR_stderr_00082438" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_00082438" * (cast_expression "(undefined4 *)PTR_stderr_00082438" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_UINT_00082018 + -0x5378,5)" ( number_literal , (binary_expression "PTR_UINT_00082018 + -0x5378" identifier + number_literal) , number_literal )))) ;) (do_statement "do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);" do (compound_statement "{\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      }" { (if_statement "if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }" if (parenthesized_expression "(*param_2 != 1)" ( (binary_expression "*param_2 != 1" (pointer_expression "*param_2" * identifier) != number_literal) )) (compound_statement "{\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (if_statement "if (1 < *param_2 - 0x16) goto LAB_00049120;" if (parenthesized_expression "(1 < *param_2 - 0x16)" ( (binary_expression "1 < *param_2 - 0x16" number_literal < (binary_expression "*param_2 - 0x16" (pointer_expression "*param_2" * identifier) - number_literal)) )) (goto_statement "goto LAB_00049120;" goto statement_identifier ;)) (expression_statement "puVar4 = *(undefined4 **)param_2[3];" (assignment_expression "puVar4 = *(undefined4 **)param_2[3]" identifier = (pointer_expression "*(undefined4 **)param_2[3]" * (cast_expression "(undefined4 **)param_2[3]" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_2[3]" identifier [ number_literal ])))) ;) (break_statement "break;" break ;) })) (expression_statement "puVar4 = (undefined4 *)param_2[3];" (assignment_expression "puVar4 = (undefined4 *)param_2[3]" identifier = (cast_expression "(undefined4 *)param_2[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[3]" identifier [ number_literal ]))) ;) (expression_statement "param_2 = *(uint **)*puVar4;" (assignment_expression "param_2 = *(uint **)*puVar4" identifier = (pointer_expression "*(uint **)*puVar4" * (cast_expression "(uint **)*puVar4" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*puVar4" * identifier)))) ;) }) while (parenthesized_expression "(param_2 != (uint *)0x0)" ( (binary_expression "param_2 != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "uVar7 = puVar4[1];" (assignment_expression "uVar7 = puVar4[1]" identifier = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (labeled_statement "LAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);" statement_identifier : (expression_statement "(*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);" (call_expression "(*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7)" (parenthesized_expression "(*(code *)PTR_fprintf_00082340)" ( (pointer_expression "*(code *)PTR_fprintf_00082340" * (cast_expression "(code *)PTR_fprintf_00082340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8,uVar3,uVar7)" ( identifier , identifier , identifier ))) ;)) (return_statement "return (uint *)0x0;" return (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (labeled_statement "LAB_0004907c:\n    local_18 = param_3;" statement_identifier : (expression_statement "local_18 = param_3;" (assignment_expression "local_18 = param_3" identifier = identifier) ;)) (expression_statement "local_14 = param_2;" (assignment_expression "local_14 = param_2" identifier = identifier) ;) (if_statement "if (uVar5 - 0x16 < 2) {\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }\n    else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }" if (parenthesized_expression "(uVar5 - 0x16 < 2)" ( (binary_expression "uVar5 - 0x16 < 2" (binary_expression "uVar5 - 0x16" identifier - number_literal) < number_literal) )) (compound_statement "{\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }" { (expression_statement "param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);" (assignment_expression "param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18)" identifier = (cast_expression "(uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18)" identifier (argument_list "(param_1,((undefined4 *)param_2[3])[1],&local_18)" ( identifier , (subscript_expression "((undefined4 *)param_2[3])[1]" (parenthesized_expression "((undefined4 *)param_2[3])" ( (cast_expression "(undefined4 *)param_2[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[3]" identifier [ number_literal ])) )) [ number_literal ]) , (pointer_expression "&local_18" & identifier) ))))) ;) }) (else_clause "else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }" else (compound_statement "{\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }" { (expression_statement "iVar6 = **(int **)param_2[3];" (assignment_expression "iVar6 = **(int **)param_2[3]" identifier = (pointer_expression "**(int **)param_2[3]" * (pointer_expression "*(int **)param_2[3]" * (cast_expression "(int **)param_2[3]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_2[3]" identifier [ number_literal ]))))) ;) (if_statement "if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }" { (expression_statement "param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);" (assignment_expression "param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18)" identifier = (cast_expression "(uint *)FUN_00048fe0(param_1,iVar6,&local_18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00048fe0(param_1,iVar6,&local_18)" identifier (argument_list "(param_1,iVar6,&local_18)" ( identifier , identifier , (pointer_expression "&local_18" & identifier) ))))) ;) })) }))) })) (return_statement "return param_2;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) & LIT) )) != LIT) ))) )) (compound_statement { (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 IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != IDENT)) ))) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != IDENT)) , (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , IDENT)) ))) )) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression (pointer_expression * IDENT) - LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ])))) ;) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (pointer_expression * IDENT)))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT ))) ;)) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) )) [ LIT ]) , (pointer_expression & IDENT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ]))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) ))))) ;) })) }))) })) (return_statement return IDENT ;) })))
(function_definition "uint * FUN_00048fe0(undefined4 param_1,uint *param_2,int *param_3)\n\n{\n  bool bVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int *local_18;\n  uint *local_14;\n  \n  uVar5 = *param_2;\n  if ((uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)) {\n    if (param_3 != (int *)0x0) {\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }\nLAB_0004907c:\n    local_18 = param_3;\n    local_14 = param_2;\n    if (uVar5 - 0x16 < 2) {\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }\n    else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }\n  }\n  return param_2;\n}" (type_identifier "uint") (pointer_declarator "* FUN_00048fe0(undefined4 param_1,uint *param_2,int *param_3)" (* "*") (function_declarator "FUN_00048fe0(undefined4 param_1,uint *param_2,int *param_3)" (identifier "FUN_00048fe0") (parameter_list "(undefined4 param_1,uint *param_2,int *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (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  bool bVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int *local_18;\n  uint *local_14;\n  \n  uVar5 = *param_2;\n  if ((uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)) {\n    if (param_3 != (int *)0x0) {\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }\nLAB_0004907c:\n    local_18 = param_3;\n    local_14 = param_2;\n    if (uVar5 - 0x16 < 2) {\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }\n    else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }\n  }\n  return param_2;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "int *local_18;" (primitive_type "int") (pointer_declarator "*local_18" (* "*") (identifier "local_18")) (; ";")) (declaration "uint *local_14;" (type_identifier "uint") (pointer_declarator "*local_14" (* "*") (identifier "local_14")) (; ";")) (expression_statement "uVar5 = *param_2;" (assignment_expression "uVar5 = *param_2" (identifier "uVar5") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if ((uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)) {\n    if (param_3 != (int *)0x0) {\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }\nLAB_0004907c:\n    local_18 = param_3;\n    local_14 = param_2;\n    if (uVar5 - 0x16 < 2) {\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }\n    else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }\n  }" (if "if") (parenthesized_expression "((uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0))" (( "(") (binary_expression "(uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)" (parenthesized_expression "(uVar5 < 0x18)" (( "(") (binary_expression "uVar5 < 0x18" (identifier "uVar5") (< "<") (number_literal "0x18")) () ")")) (&& "&&") (parenthesized_expression "((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)" (( "(") (binary_expression "(1 << (uVar5 & 0x1f) & 0xc00002U) != 0" (parenthesized_expression "(1 << (uVar5 & 0x1f) & 0xc00002U)" (( "(") (binary_expression "1 << (uVar5 & 0x1f) & 0xc00002U" (binary_expression "1 << (uVar5 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "(uVar5 & 0x1f)" (( "(") (binary_expression "uVar5 & 0x1f" (identifier "uVar5") (& "&") (number_literal "0x1f")) () ")"))) (& "&") (number_literal "0xc00002U")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    if (param_3 != (int *)0x0) {\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }\nLAB_0004907c:\n    local_18 = param_3;\n    local_14 = param_2;\n    if (uVar5 - 0x16 < 2) {\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }\n    else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }\n  }" ({ "{") (if_statement "if (param_3 != (int *)0x0) {\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }" (if "if") (parenthesized_expression "(param_3 != (int *)0x0)" (( "(") (binary_expression "param_3 != (int *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }\n      uVar8 = *(undefined4 *)PTR_stderr_00082438;\n      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);\n      do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);\n      uVar7 = puVar4[1];\nLAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);\n      return (uint *)0x0;\n    }" ({ "{") (if_statement "if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))\n      {\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }" (if "if") (parenthesized_expression "((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))" (( "(") (binary_expression "(param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3)" (parenthesized_expression "(param_2 != (uint *)param_3[1])" (( "(") (binary_expression "param_2 != (uint *)param_3[1]" (identifier "param_2") (!= "!=") (cast_expression "(uint *)param_3[1]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")))) () ")")) (&& "&&") (parenthesized_expression "(piVar2 = (int *)*param_3, (int *)*param_3 != param_3)" (( "(") (comma_expression "piVar2 = (int *)*param_3, (int *)*param_3 != param_3" (assignment_expression "piVar2 = (int *)*param_3" (identifier "piVar2") (= "=") (cast_expression "(int *)*param_3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) (, ",") (binary_expression "(int *)*param_3 != param_3" (cast_expression "(int *)*param_3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (!= "!=") (identifier "param_3"))) () ")"))) () ")")) (compound_statement "{\n        do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));\n      }" ({ "{") (do_statement "do {\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        } while (((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));" (do "do") (compound_statement "{\n          if (piVar2 == (int *)0x0) goto LAB_0004907c;\n        }" ({ "{") (if_statement "if (piVar2 == (int *)0x0) goto LAB_0004907c;" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0004907c;" (goto "goto") (statement_identifier "LAB_0004907c") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1))" (( "(") (binary_expression "((uint *)piVar2[1] != param_2) &&\n                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1)" (parenthesized_expression "((uint *)piVar2[1] != param_2)" (( "(") (binary_expression "(uint *)piVar2[1] != param_2" (cast_expression "(uint *)piVar2[1]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (identifier "param_2")) () ")")) (&& "&&") (parenthesized_expression "(bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1)" (( "(") (comma_expression "bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1" (assignment_expression "bVar1 = (int *)*piVar2 != piVar2" (identifier "bVar1") (= "=") (binary_expression "(int *)*piVar2 != piVar2" (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (!= "!=") (identifier "piVar2"))) (, ",") (comma_expression "piVar2 = (int *)*piVar2, bVar1" (assignment_expression "piVar2 = (int *)*piVar2" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (, ",") (identifier "bVar1"))) () ")"))) () ")")) (; ";")) (} "}"))) (expression_statement "uVar8 = *(undefined4 *)PTR_stderr_00082438;" (assignment_expression "uVar8 = *(undefined4 *)PTR_stderr_00082438" (identifier "uVar8") (= "=") (pointer_expression "*(undefined4 *)PTR_stderr_00082438" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00082438" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00082438")))) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000823f4" (* "*") (cast_expression "(code *)PTR_dcgettext_000823f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000823f4"))) () ")")) (argument_list "(0,PTR_UINT_00082018 + -0x5378,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_UINT_00082018 + -0x5378" (identifier "PTR_UINT_00082018") (+ "+") (number_literal "-0x5378")) (, ",") (number_literal "5") () ")")))) (; ";")) (do_statement "do {\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      } while (param_2 != (uint *)0x0);" (do "do") (compound_statement "{\n        if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }\n        puVar4 = (undefined4 *)param_2[3];\n        param_2 = *(uint **)*puVar4;\n      }" ({ "{") (if_statement "if (*param_2 != 1) {\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }" (if "if") (parenthesized_expression "(*param_2 != 1)" (( "(") (binary_expression "*param_2 != 1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n          uVar7 = 0;\n          if (1 < *param_2 - 0x16) goto LAB_00049120;\n          puVar4 = *(undefined4 **)param_2[3];\n          break;\n        }" ({ "{") (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (if_statement "if (1 < *param_2 - 0x16) goto LAB_00049120;" (if "if") (parenthesized_expression "(1 < *param_2 - 0x16)" (( "(") (binary_expression "1 < *param_2 - 0x16" (number_literal "1") (< "<") (binary_expression "*param_2 - 0x16" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (- "-") (number_literal "0x16"))) () ")")) (goto_statement "goto LAB_00049120;" (goto "goto") (statement_identifier "LAB_00049120") (; ";"))) (expression_statement "puVar4 = *(undefined4 **)param_2[3];" (assignment_expression "puVar4 = *(undefined4 **)param_2[3]" (identifier "puVar4") (= "=") (pointer_expression "*(undefined4 **)param_2[3]" (* "*") (cast_expression "(undefined4 **)param_2[3]" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))))) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined4 *)param_2[3];" (assignment_expression "puVar4 = (undefined4 *)param_2[3]" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)param_2[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "param_2 = *(uint **)*puVar4;" (assignment_expression "param_2 = *(uint **)*puVar4" (identifier "param_2") (= "=") (pointer_expression "*(uint **)*puVar4" (* "*") (cast_expression "(uint **)*puVar4" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 != (uint *)0x0)" (( "(") (binary_expression "param_2 != (uint *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "uVar7 = puVar4[1];" (assignment_expression "uVar7 = puVar4[1]" (identifier "uVar7") (= "=") (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (labeled_statement "LAB_00049120:\n      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);" (statement_identifier "LAB_00049120") (: ":") (expression_statement "(*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);" (call_expression "(*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7)" (parenthesized_expression "(*(code *)PTR_fprintf_00082340)" (( "(") (pointer_expression "*(code *)PTR_fprintf_00082340" (* "*") (cast_expression "(code *)PTR_fprintf_00082340" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fprintf_00082340"))) () ")")) (argument_list "(uVar8,uVar3,uVar7)" (( "(") (identifier "uVar8") (, ",") (identifier "uVar3") (, ",") (identifier "uVar7") () ")"))) (; ";"))) (return_statement "return (uint *)0x0;" (return "return") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (labeled_statement "LAB_0004907c:\n    local_18 = param_3;" (statement_identifier "LAB_0004907c") (: ":") (expression_statement "local_18 = param_3;" (assignment_expression "local_18 = param_3" (identifier "local_18") (= "=") (identifier "param_3")) (; ";"))) (expression_statement "local_14 = param_2;" (assignment_expression "local_14 = param_2" (identifier "local_14") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (uVar5 - 0x16 < 2) {\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }\n    else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }" (if "if") (parenthesized_expression "(uVar5 - 0x16 < 2)" (( "(") (binary_expression "uVar5 - 0x16 < 2" (binary_expression "uVar5 - 0x16" (identifier "uVar5") (- "-") (number_literal "0x16")) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n      param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);\n    }" ({ "{") (expression_statement "param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18);" (assignment_expression "param_2 = (uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18)" (identifier "param_2") (= "=") (cast_expression "(uint *)FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00048fe0(param_1,((undefined4 *)param_2[3])[1],&local_18)" (identifier "FUN_00048fe0") (argument_list "(param_1,((undefined4 *)param_2[3])[1],&local_18)" (( "(") (identifier "param_1") (, ",") (subscript_expression "((undefined4 *)param_2[3])[1]" (parenthesized_expression "((undefined4 *)param_2[3])" (( "(") (cast_expression "(undefined4 *)param_2[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) () ")")) ([ "[") (number_literal "1") (] "]")) (, ",") (pointer_expression "&local_18" (& "&") (identifier "local_18")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }" (else "else") (compound_statement "{\n      iVar6 = **(int **)param_2[3];\n      if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }\n    }" ({ "{") (expression_statement "iVar6 = **(int **)param_2[3];" (assignment_expression "iVar6 = **(int **)param_2[3]" (identifier "iVar6") (= "=") (pointer_expression "**(int **)param_2[3]" (* "*") (pointer_expression "*(int **)param_2[3]" (* "*") (cast_expression "(int **)param_2[3]" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")))))) (; ";")) (if_statement "if (iVar6 != 0) {\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);\n      }" ({ "{") (expression_statement "param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18);" (assignment_expression "param_2 = (uint *)FUN_00048fe0(param_1,iVar6,&local_18)" (identifier "param_2") (= "=") (cast_expression "(uint *)FUN_00048fe0(param_1,iVar6,&local_18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00048fe0(param_1,iVar6,&local_18)" (identifier "FUN_00048fe0") (argument_list "(param_1,iVar6,&local_18)" (( "(") (identifier "param_1") (, ",") (identifier "iVar6") (, ",") (pointer_expression "&local_18" (& "&") (identifier "local_18")) () ")"))))) (; ";")) (} "}"))) (} "}")))) (} "}"))) (return_statement "return param_2;" (return "return") (identifier "param_2") (; ";")) (} "}")))

type_1 * function_1(void *handle,type_2 var_6,type_3 *var_5)

{
  bool bVar1;
  type_3 *var_7;
  type_4 uVar3;
  type_2 pdVar4;
  type_5 var_1;
  type_6 *var_11;
  char *pcVar6;
  type_4 uVar7;
  type_3 rl;
  
  var_1 = var_6->kind;
  if ((var_1 < (var_2|var_3)) &&
     ((1 << (var_1 & (var_2|var_4)) & 0xc00002U) != 0)) {
    if (var_5 != (type_3 *)0x0) {
      if ((var_6 != var_5->t) && (var_7 = var_5->next, var_5->next != var_5)) {
        do {
          if (var_7 == (type_3 *)0x0) goto LAB_0004907c;
        } while ((var_7->t != var_6) &&
                (bVar1 = var_7->next != var_7, var_7 = var_7->next, bVar1));
      }
      uVar7 = *(type_4 *)PTR_stderr_00082438;
      uVar3 = (*(type_7 *)PTR_dcgettext_000823f4)(0,var_8 + -0x5378,5);
      do {
        if (var_6->kind != var_9) {
          pcVar6 = (char *)0x0;
          if (1 < var_6->kind - var_10) goto LAB_00049120;
          pdVar4 = ((var_6->u).kfunction)->return_type;
          break;
        }
        pdVar4 = (type_2)(var_6->u).kindirect;
        var_6 = *(type_2 *)pdVar4->kind;
      } while (var_6 != (type_2)0x0);
      pcVar6 = (char *)pdVar4->size;
LAB_00049120:
      (*(type_7 *)PTR_fprintf_00082340)(uVar7,uVar3,pcVar6);
      return (type_1 *)0x0;
    }
LAB_0004907c:
    rl.next = var_5;
    rl.t = var_6;
    if (var_1 - var_10 < 2) {
      var_6 = function_1(handle,((var_6->u).knamed)->var_6,&rl);
    }
    else {
      var_11 = ((var_6->u).knamed)->name->next;
      if (var_11 != (type_6 *)0x0) {
        var_6 = function_1(handle,(type_2)var_11,&rl);
      }
    }
  }
  return var_6;
}


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

uint * MASKED(undefined4 param_1,uint *param_2,int *param_3)

{
  bool bVar1;
  int *piVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  uint uVar5;
  int iVar6;
  undefined4 uVar7;
  undefined4 uVar8;
  int *local_18;
  uint *local_14;
  
  uVar5 = *param_2;
  if ((uVar5 < 0x18) && ((1 << (uVar5 & 0x1f) & 0xc00002U) != 0)) {
    if (param_3 != (int *)0x0) {
      if ((param_2 != (uint *)param_3[1]) && (piVar2 = (int *)*param_3, (int *)*param_3 != param_3))
      {
        do {
          if (piVar2 == (int *)0x0) goto LAB_0004907c;
        } while (((uint *)piVar2[1] != param_2) &&
                (bVar1 = (int *)*piVar2 != piVar2, piVar2 = (int *)*piVar2, bVar1));
      }
      uVar8 = *(undefined4 *)PTR_stderr_00082438;
      uVar3 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x5378,5);
      do {
        if (*param_2 != 1) {
          uVar7 = 0;
          if (1 < *param_2 - 0x16) goto LAB_00049120;
          puVar4 = *(undefined4 **)param_2[3];
          break;
        }
        puVar4 = (undefined4 *)param_2[3];
        param_2 = *(uint **)*puVar4;
      } while (param_2 != (uint *)0x0);
      uVar7 = puVar4[1];
LAB_00049120:
      (*(code *)PTR_fprintf_00082340)(uVar8,uVar3,uVar7);
      return (uint *)0x0;
    }
LAB_0004907c:
    local_18 = param_3;
    local_14 = param_2;
    if (uVar5 - 0x16 < 2) {
      param_2 = (uint *)MASKED(param_1,((undefined4 *)param_2[3])[1],&local_18);
    }
    else {
      iVar6 = **(int **)param_2[3];
      if (iVar6 != 0) {
        param_2 = (uint *)MASKED(param_1,iVar6,&local_18);
      }
    }
  }
  return param_2;
}

