
/* DWARF original prototype: bfd_boolean debug_write_linenos(debug_handle * info, debug_write_fns *
   fns, void * fhandle, bfd_vma address, debug_handle * info) */

bfd_boolean __regparm3
debug_write_linenos(debug_handle *info,debug_write_fns *fns,void *fhandle,bfd_vma address,
                   debug_handle *info_1)

{
  debug_lineno *pdVar1;
  int iVar2;
  _func_bfd_boolean_void_ptr_char_ptr *p_Var3;
  debug_unit *pdVar4;
  debug_handle *pdVar5;
  debug_unit *pdVar6;
  
  pdVar6 = info->units;
  if (pdVar6 != (debug_unit *)0x0) {
    p_Var3 = fns->start_compilation_unit;
    if ((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3) goto LAB_0001d35e;
    do {
      pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 2)];
      if (pdVar4 != (debug_unit *)0xffffffff) {
        pdVar5 = (debug_handle *)(&pdVar6[4].files)[(int)p_Var3 * 2];
        pdVar1 = (debug_lineno *)(&pdVar6[4].next)[(int)p_Var3 * 2];
        if (info_1 <= pdVar5 && (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1))
        {
          return 1;
        }
        while( true ) {
                    /* WARNING: Load size is inaccurate */
          iVar2 = (**fhandle)((undefined4)address,pdVar6->files->filename,pdVar4,pdVar1,pdVar5);
          if (iVar2 == 0) {
            return 0;
          }
          p_Var3 = fns->start_compilation_unit;
          fns->start_compilation_unit = p_Var3 + 1;
          if (((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3 + 1) ||
             (pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)], pdVar4 == (debug_unit *)0xffffffff))
          break;
          pdVar5 = (debug_handle *)(&pdVar6[5].next)[(int)p_Var3 * 2];
          pdVar1 = (&pdVar6[4].linenos)[(int)p_Var3 * 2];
          if (info_1 <= pdVar5 &&
              (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1)) {
            return 1;
          }
        }
      }
LAB_0001d35e:
      pdVar6 = pdVar6->next;
      info->units = pdVar6;
      p_Var3 = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;
      fns->start_compilation_unit = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;
    } while (pdVar6 != (debug_unit *)0x0);
  }
  return 1;
}



undefined4 __regparm3
FUN_0001d2b0(int *param_1,uint *param_2,undefined4 *param_3,undefined4 param_4,uint param_5,
            uint param_6)

{
  int iVar1;
  uint uVar2;
  uint uVar3;
  int *piVar4;
  
  piVar4 = (int *)*param_1;
  if (piVar4 != (int *)0x0) {
    uVar2 = *param_2;
    if (9 < uVar2) goto LAB_0001d35e;
    do {
      iVar1 = piVar4[uVar2 + 2];
      if (iVar1 != -1) {
        uVar3 = piVar4[uVar2 * 2 + 0xd];
        uVar2 = piVar4[uVar2 * 2 + 0xc];
        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {
          return 1;
        }
        while( true ) {
          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);
          if (iVar1 == 0) {
            return 0;
          }
          uVar2 = *param_2;
          *param_2 = uVar2 + 1;
          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;
          uVar3 = piVar4[uVar2 * 2 + 0xf];
          uVar2 = piVar4[uVar2 * 2 + 0xe];
          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {
            return 1;
          }
        }
      }
LAB_0001d35e:
      piVar4 = (int *)*piVar4;
      *param_1 = (int)piVar4;
      uVar2 = 0;
      *param_2 = 0;
    } while (piVar4 != (int *)0x0);
  }
  return 1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EDI,dword ptr [EAX]
MOV EBX,dword ptr [ESP + 0x34]
MOV dword ptr [ESP + 0x4],EBX
MOV EBX,dword ptr [ESP + 0x38]
MOV dword ptr [ESP + 0x8],EBX
TEST EDI,EDI
JZ 0x0001d377
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [EDX]
MOV EBX,ECX
MOV EBP,EDX
CMP EAX,0x9
JA 0x0001d35e
MOV ECX,dword ptr [EDI + EAX*0x4 + 0x8]
CMP ECX,-0x1
JZ 0x0001d35e
MOV EDX,dword ptr [EDI + EAX*0x8 + 0x34]
MOV EAX,dword ptr [EDI + EAX*0x8 + 0x30]
CMP EAX,dword ptr [ESP + 0x4]
MOV ESI,EDX
SBB ESI,dword ptr [ESP + 0x8]
MOV ESI,EBP
MOV EBP,EDI
MOV EDI,ESI
JC 0x0001d331
JMP 0x0001d377
MOV EAX,dword ptr [EDI]
LEA EDX,[EAX + 0x1]
MOV dword ptr [EDI],EDX
CMP EDX,0x9
JA 0x0001d358
MOV ECX,dword ptr [EBP + EDX*0x4 + 0x8]
CMP ECX,-0x1
JZ 0x0001d358
MOV EDX,dword ptr [EBP + EAX*0x8 + 0x3c]
MOV EAX,dword ptr [EBP + EAX*0x8 + 0x38]
CMP EAX,dword ptr [ESP + 0x4]
MOV ESI,EDX
SBB ESI,dword ptr [ESP + 0x8]
JNC 0x0001d377
SUB ESP,0xc
PUSH EDX
PUSH EAX
MOV EAX,dword ptr [EBP + 0x4]
PUSH ECX
PUSH dword ptr [EAX + 0x4]
PUSH dword ptr [ESP + 0x4c]
CALL dword ptr [EBX]
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x0001d308
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,EDI
MOV EDI,EBP
MOV EBP,EAX
MOV EDI,dword ptr [EDI]
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [EAX],EDI
XOR EAX,EAX
MOV dword ptr [EBP],0x0
TEST EDI,EDI
JNZ 0x0001d2e0
ADD ESP,0x1c
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "undefined4 __regparm3\nFUN_0001d2b0(int *param_1,uint *param_2,undefined4 *param_3,undefined4 param_4,uint param_5,\n            uint param_6)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int *piVar4;\n  \n  piVar4 = (int *)*param_1;\n  if (piVar4 != (int *)0x0) {\n    uVar2 = *param_2;\n    if (9 < uVar2) goto LAB_0001d35e;\n    do {\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    } while (piVar4 != (int *)0x0);\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 __regparm3\nFUN_0001d2b0(int *param_1,uint *param_2,undefined4 *param_3,undefined4 param_4,uint param_5,\n            uint param_6)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int *piVar4;\n  \n  piVar4 = (int *)*param_1;\n  if (piVar4 != (int *)0x0) {\n    uVar2 = *param_2;\n    if (9 < uVar2) goto LAB_0001d35e;\n    do {\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    } while (piVar4 != (int *)0x0);\n  }\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0001d2b0(int *param_1,uint *param_2,undefined4 *param_3,undefined4 param_4,uint param_5,\n            uint param_6)" identifier (parameter_list "(int *param_1,uint *param_2,undefined4 *param_3,undefined4 param_4,uint param_5,\n            uint param_6)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "uint param_6" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int *piVar4;\n  \n  piVar4 = (int *)*param_1;\n  if (piVar4 != (int *)0x0) {\n    uVar2 = *param_2;\n    if (9 < uVar2) goto LAB_0001d35e;\n    do {\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    } while (piVar4 != (int *)0x0);\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (expression_statement "piVar4 = (int *)*param_1;" (assignment_expression "piVar4 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (piVar4 != (int *)0x0) {\n    uVar2 = *param_2;\n    if (9 < uVar2) goto LAB_0001d35e;\n    do {\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    } while (piVar4 != (int *)0x0);\n  }" if (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar2 = *param_2;\n    if (9 < uVar2) goto LAB_0001d35e;\n    do {\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    } while (piVar4 != (int *)0x0);\n  }" { (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (9 < uVar2) goto LAB_0001d35e;" if (parenthesized_expression "(9 < uVar2)" ( (binary_expression "9 < uVar2" number_literal < identifier) )) (goto_statement "goto LAB_0001d35e;" goto statement_identifier ;)) (do_statement "do {\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    } while (piVar4 != (int *)0x0);" do (compound_statement "{\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    }" { (expression_statement "iVar1 = piVar4[uVar2 + 2];" (assignment_expression "iVar1 = piVar4[uVar2 + 2]" identifier = (subscript_expression "piVar4[uVar2 + 2]" identifier [ (binary_expression "uVar2 + 2" identifier + number_literal) ])) ;) (if_statement "if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }" if (parenthesized_expression "(iVar1 != -1)" ( (binary_expression "iVar1 != -1" identifier != number_literal) )) (compound_statement "{\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }" { (expression_statement "uVar3 = piVar4[uVar2 * 2 + 0xd];" (assignment_expression "uVar3 = piVar4[uVar2 * 2 + 0xd]" identifier = (subscript_expression "piVar4[uVar2 * 2 + 0xd]" identifier [ (binary_expression "uVar2 * 2 + 0xd" (binary_expression "uVar2 * 2" identifier * number_literal) + number_literal) ])) ;) (expression_statement "uVar2 = piVar4[uVar2 * 2 + 0xc];" (assignment_expression "uVar2 = piVar4[uVar2 * 2 + 0xc]" identifier = (subscript_expression "piVar4[uVar2 * 2 + 0xc]" identifier [ (binary_expression "uVar2 * 2 + 0xc" (binary_expression "uVar2 * 2" identifier * number_literal) + number_literal) ])) ;) (if_statement "if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }" if (parenthesized_expression "(param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6)" ( (binary_expression "param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6" (binary_expression "param_6 <= uVar3" identifier <= identifier) && (binary_expression "(uint)(uVar2 < param_5) <= uVar3 - param_6" (call_expression "(uint)(uVar2 < param_5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 < param_5)" ( (binary_expression "uVar2 < param_5" identifier < identifier) ))) <= (binary_expression "uVar3 - param_6" identifier - identifier))) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) (while_statement "while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }" { (expression_statement "iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);" (assignment_expression "iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3)" identifier = (call_expression "(*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3)" (parenthesized_expression "(*(code *)*param_3)" ( (pointer_expression "*(code *)*param_3" * (cast_expression "(code *)*param_3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) )) (argument_list "(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3)" ( identifier , (pointer_expression "*(undefined4 *)(piVar4[1] + 4)" * (cast_expression "(undefined4 *)(piVar4[1] + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4[1] + 4)" ( (binary_expression "piVar4[1] + 4" (subscript_expression "piVar4[1]" identifier [ number_literal ]) + number_literal) )))) , identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n            return 0;\n          }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_2 = uVar2 + 1;" (assignment_expression "*param_2 = uVar2 + 1" (pointer_expression "*param_2" * identifier) = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (if_statement "if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;" if (parenthesized_expression "((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1))" ( (binary_expression "(9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)" (parenthesized_expression "(9 < uVar2 + 1)" ( (binary_expression "9 < uVar2 + 1" number_literal < (binary_expression "uVar2 + 1" identifier + number_literal)) )) || (parenthesized_expression "(iVar1 = piVar4[uVar2 + 3], iVar1 == -1)" ( (comma_expression "iVar1 = piVar4[uVar2 + 3], iVar1 == -1" (assignment_expression "iVar1 = piVar4[uVar2 + 3]" identifier = (subscript_expression "piVar4[uVar2 + 3]" identifier [ (binary_expression "uVar2 + 3" identifier + number_literal) ])) , (binary_expression "iVar1 == -1" identifier == number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "uVar3 = piVar4[uVar2 * 2 + 0xf];" (assignment_expression "uVar3 = piVar4[uVar2 * 2 + 0xf]" identifier = (subscript_expression "piVar4[uVar2 * 2 + 0xf]" identifier [ (binary_expression "uVar2 * 2 + 0xf" (binary_expression "uVar2 * 2" identifier * number_literal) + number_literal) ])) ;) (expression_statement "uVar2 = piVar4[uVar2 * 2 + 0xe];" (assignment_expression "uVar2 = piVar4[uVar2 * 2 + 0xe]" identifier = (subscript_expression "piVar4[uVar2 * 2 + 0xe]" identifier [ (binary_expression "uVar2 * 2 + 0xe" (binary_expression "uVar2 * 2" identifier * number_literal) + number_literal) ])) ;) (if_statement "if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }" if (parenthesized_expression "(param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6)" ( (binary_expression "param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6" (binary_expression "param_6 <= uVar3" identifier <= identifier) && (binary_expression "(uint)(uVar2 < param_5) <= uVar3 - param_6" (call_expression "(uint)(uVar2 < param_5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 < param_5)" ( (binary_expression "uVar2 < param_5" identifier < identifier) ))) <= (binary_expression "uVar3 - param_6" identifier - identifier))) )) (compound_statement "{\n            return 1;\n          }" { (return_statement "return 1;" return number_literal ;) })) })) })) (labeled_statement "LAB_0001d35e:\n      piVar4 = (int *)*piVar4;" statement_identifier : (expression_statement "piVar4 = (int *)*piVar4;" (assignment_expression "piVar4 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;)) (expression_statement "*param_1 = (int)piVar4;" (assignment_expression "*param_1 = (int)piVar4" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) }) while (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* DWARF original prototype: bfd_boolean debug_write_linenos(debug_handle * info, debug_write_fns *\n   fns, void * fhandle, bfd_vma address, debug_handle * info) */\n\nbfd_boolean __regparm3\ndebug_write_linenos(debug_handle *info,debug_write_fns *fns,void *fhandle,bfd_vma address,\n                   debug_handle *info_1)\n\n{\n  debug_lineno *pdVar1;\n  int iVar2;\n  _func_bfd_boolean_void_ptr_char_ptr *p_Var3;\n  debug_unit *pdVar4;\n  debug_handle *pdVar5;\n  debug_unit *pdVar6;\n  \n  pdVar6 = info->units;\n  if (pdVar6 != (debug_unit *)0x0) {\n    p_Var3 = fns->start_compilation_unit;\n    if ((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3) goto LAB_0001d35e;\n    do {\n      pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 2)];\n      if (pdVar4 != (debug_unit *)0xffffffff) {\n        pdVar5 = (debug_handle *)(&pdVar6[4].files)[(int)p_Var3 * 2];\n        pdVar1 = (debug_lineno *)(&pdVar6[4].next)[(int)p_Var3 * 2];\n        if (info_1 <= pdVar5 && (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1))\n        {\n          return 1;\n        }\n        while( true ) {\n                    /* WARNING: Load size is inaccurate */\n          iVar2 = (**fhandle)((undefined4)address,pdVar6->files->filename,pdVar4,pdVar1,pdVar5);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          p_Var3 = fns->start_compilation_unit;\n          fns->start_compilation_unit = p_Var3 + 1;\n          if (((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3 + 1) ||\n             (pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)], pdVar4 == (debug_unit *)0xffffffff))\n          break;\n          pdVar5 = (debug_handle *)(&pdVar6[5].next)[(int)p_Var3 * 2];\n          pdVar1 = (&pdVar6[4].linenos)[(int)p_Var3 * 2];\n          if (info_1 <= pdVar5 &&\n              (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1)) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      pdVar6 = pdVar6->next;\n      info->units = pdVar6;\n      p_Var3 = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;\n      fns->start_compilation_unit = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;\n    } while (pdVar6 != (debug_unit *)0x0);\n  }\n  return 1;\n}\n\n" comment (function_definition "bfd_boolean __regparm3\ndebug_write_linenos(debug_handle *info,debug_write_fns *fns,void *fhandle,bfd_vma address,\n                   debug_handle *info_1)\n\n{\n  debug_lineno *pdVar1;\n  int iVar2;\n  _func_bfd_boolean_void_ptr_char_ptr *p_Var3;\n  debug_unit *pdVar4;\n  debug_handle *pdVar5;\n  debug_unit *pdVar6;\n  \n  pdVar6 = info->units;\n  if (pdVar6 != (debug_unit *)0x0) {\n    p_Var3 = fns->start_compilation_unit;\n    if ((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3) goto LAB_0001d35e;\n    do {\n      pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 2)];\n      if (pdVar4 != (debug_unit *)0xffffffff) {\n        pdVar5 = (debug_handle *)(&pdVar6[4].files)[(int)p_Var3 * 2];\n        pdVar1 = (debug_lineno *)(&pdVar6[4].next)[(int)p_Var3 * 2];\n        if (info_1 <= pdVar5 && (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1))\n        {\n          return 1;\n        }\n        while( true ) {\n                    /* WARNING: Load size is inaccurate */\n          iVar2 = (**fhandle)((undefined4)address,pdVar6->files->filename,pdVar4,pdVar1,pdVar5);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          p_Var3 = fns->start_compilation_unit;\n          fns->start_compilation_unit = p_Var3 + 1;\n          if (((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3 + 1) ||\n             (pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)], pdVar4 == (debug_unit *)0xffffffff))\n          break;\n          pdVar5 = (debug_handle *)(&pdVar6[5].next)[(int)p_Var3 * 2];\n          pdVar1 = (&pdVar6[4].linenos)[(int)p_Var3 * 2];\n          if (info_1 <= pdVar5 &&\n              (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1)) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      pdVar6 = pdVar6->next;\n      info->units = pdVar6;\n      p_Var3 = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;\n      fns->start_compilation_unit = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;\n    } while (pdVar6 != (debug_unit *)0x0);\n  }\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "debug_write_linenos(debug_handle *info,debug_write_fns *fns,void *fhandle,bfd_vma address,\n                   debug_handle *info_1)" identifier (parameter_list "(debug_handle *info,debug_write_fns *fns,void *fhandle,bfd_vma address,\n                   debug_handle *info_1)" ( (parameter_declaration "debug_handle *info" type_identifier (pointer_declarator "*info" * identifier)) , (parameter_declaration "debug_write_fns *fns" type_identifier (pointer_declarator "*fns" * identifier)) , (parameter_declaration "void *fhandle" primitive_type (pointer_declarator "*fhandle" * identifier)) , (parameter_declaration "bfd_vma address" type_identifier identifier) , (parameter_declaration "debug_handle *info_1" type_identifier (pointer_declarator "*info_1" * identifier)) ))) (compound_statement "{\n  debug_lineno *pdVar1;\n  int iVar2;\n  _func_bfd_boolean_void_ptr_char_ptr *p_Var3;\n  debug_unit *pdVar4;\n  debug_handle *pdVar5;\n  debug_unit *pdVar6;\n  \n  pdVar6 = info->units;\n  if (pdVar6 != (debug_unit *)0x0) {\n    p_Var3 = fns->start_compilation_unit;\n    if ((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3) goto LAB_0001d35e;\n    do {\n      pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 2)];\n      if (pdVar4 != (debug_unit *)0xffffffff) {\n        pdVar5 = (debug_handle *)(&pdVar6[4].files)[(int)p_Var3 * 2];\n        pdVar1 = (debug_lineno *)(&pdVar6[4].next)[(int)p_Var3 * 2];\n        if (info_1 <= pdVar5 && (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1))\n        {\n          return 1;\n        }\n        while( true ) {\n                    /* WARNING: Load size is inaccurate */\n          iVar2 = (**fhandle)((undefined4)address,pdVar6->files->filename,pdVar4,pdVar1,pdVar5);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          p_Var3 = fns->start_compilation_unit;\n          fns->start_compilation_unit = p_Var3 + 1;\n          if (((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3 + 1) ||\n             (pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)], pdVar4 == (debug_unit *)0xffffffff))\n          break;\n          pdVar5 = (debug_handle *)(&pdVar6[5].next)[(int)p_Var3 * 2];\n          pdVar1 = (&pdVar6[4].linenos)[(int)p_Var3 * 2];\n          if (info_1 <= pdVar5 &&\n              (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1)) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      pdVar6 = pdVar6->next;\n      info->units = pdVar6;\n      p_Var3 = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;\n      fns->start_compilation_unit = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;\n    } while (pdVar6 != (debug_unit *)0x0);\n  }\n  return 1;\n}" { (declaration "debug_lineno *pdVar1;" type_identifier (pointer_declarator "*pdVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "_func_bfd_boolean_void_ptr_char_ptr *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (declaration "debug_unit *pdVar4;" type_identifier (pointer_declarator "*pdVar4" * identifier) ;) (declaration "debug_handle *pdVar5;" type_identifier (pointer_declarator "*pdVar5" * identifier) ;) (declaration "debug_unit *pdVar6;" type_identifier (pointer_declarator "*pdVar6" * identifier) ;) (expression_statement "pdVar6 = info->units;" (assignment_expression "pdVar6 = info->units" identifier = (field_expression "info->units" identifier -> field_identifier)) ;) (if_statement "if (pdVar6 != (debug_unit *)0x0) {\n    p_Var3 = fns->start_compilation_unit;\n    if ((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3) goto LAB_0001d35e;\n    do {\n      pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 2)];\n      if (pdVar4 != (debug_unit *)0xffffffff) {\n        pdVar5 = (debug_handle *)(&pdVar6[4].files)[(int)p_Var3 * 2];\n        pdVar1 = (debug_lineno *)(&pdVar6[4].next)[(int)p_Var3 * 2];\n        if (info_1 <= pdVar5 && (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1))\n        {\n          return 1;\n        }\n        while( true ) {\n                    /* WARNING: Load size is inaccurate */\n          iVar2 = (**fhandle)((undefined4)address,pdVar6->files->filename,pdVar4,pdVar1,pdVar5);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          p_Var3 = fns->start_compilation_unit;\n          fns->start_compilation_unit = p_Var3 + 1;\n          if (((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3 + 1) ||\n             (pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)], pdVar4 == (debug_unit *)0xffffffff))\n          break;\n          pdVar5 = (debug_handle *)(&pdVar6[5].next)[(int)p_Var3 * 2];\n          pdVar1 = (&pdVar6[4].linenos)[(int)p_Var3 * 2];\n          if (info_1 <= pdVar5 &&\n              (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1)) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      pdVar6 = pdVar6->next;\n      info->units = pdVar6;\n      p_Var3 = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;\n      fns->start_compilation_unit = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;\n    } while (pdVar6 != (debug_unit *)0x0);\n  }" if (parenthesized_expression "(pdVar6 != (debug_unit *)0x0)" ( (binary_expression "pdVar6 != (debug_unit *)0x0" identifier != (cast_expression "(debug_unit *)0x0" ( (type_descriptor "debug_unit *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    p_Var3 = fns->start_compilation_unit;\n    if ((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3) goto LAB_0001d35e;\n    do {\n      pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 2)];\n      if (pdVar4 != (debug_unit *)0xffffffff) {\n        pdVar5 = (debug_handle *)(&pdVar6[4].files)[(int)p_Var3 * 2];\n        pdVar1 = (debug_lineno *)(&pdVar6[4].next)[(int)p_Var3 * 2];\n        if (info_1 <= pdVar5 && (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1))\n        {\n          return 1;\n        }\n        while( true ) {\n                    /* WARNING: Load size is inaccurate */\n          iVar2 = (**fhandle)((undefined4)address,pdVar6->files->filename,pdVar4,pdVar1,pdVar5);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          p_Var3 = fns->start_compilation_unit;\n          fns->start_compilation_unit = p_Var3 + 1;\n          if (((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3 + 1) ||\n             (pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)], pdVar4 == (debug_unit *)0xffffffff))\n          break;\n          pdVar5 = (debug_handle *)(&pdVar6[5].next)[(int)p_Var3 * 2];\n          pdVar1 = (&pdVar6[4].linenos)[(int)p_Var3 * 2];\n          if (info_1 <= pdVar5 &&\n              (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1)) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      pdVar6 = pdVar6->next;\n      info->units = pdVar6;\n      p_Var3 = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;\n      fns->start_compilation_unit = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;\n    } while (pdVar6 != (debug_unit *)0x0);\n  }" { (expression_statement "p_Var3 = fns->start_compilation_unit;" (assignment_expression "p_Var3 = fns->start_compilation_unit" identifier = (field_expression "fns->start_compilation_unit" identifier -> field_identifier)) ;) (if_statement "if ((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3) goto LAB_0001d35e;" if (parenthesized_expression "((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3)" ( (binary_expression "(_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3" (cast_expression "(_func_bfd_boolean_void_ptr_char_ptr *)0x9" ( (type_descriptor "_func_bfd_boolean_void_ptr_char_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) (goto_statement "goto LAB_0001d35e;" goto statement_identifier ;)) (do_statement "do {\n      pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 2)];\n      if (pdVar4 != (debug_unit *)0xffffffff) {\n        pdVar5 = (debug_handle *)(&pdVar6[4].files)[(int)p_Var3 * 2];\n        pdVar1 = (debug_lineno *)(&pdVar6[4].next)[(int)p_Var3 * 2];\n        if (info_1 <= pdVar5 && (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1))\n        {\n          return 1;\n        }\n        while( true ) {\n                    /* WARNING: Load size is inaccurate */\n          iVar2 = (**fhandle)((undefined4)address,pdVar6->files->filename,pdVar4,pdVar1,pdVar5);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          p_Var3 = fns->start_compilation_unit;\n          fns->start_compilation_unit = p_Var3 + 1;\n          if (((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3 + 1) ||\n             (pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)], pdVar4 == (debug_unit *)0xffffffff))\n          break;\n          pdVar5 = (debug_handle *)(&pdVar6[5].next)[(int)p_Var3 * 2];\n          pdVar1 = (&pdVar6[4].linenos)[(int)p_Var3 * 2];\n          if (info_1 <= pdVar5 &&\n              (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1)) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      pdVar6 = pdVar6->next;\n      info->units = pdVar6;\n      p_Var3 = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;\n      fns->start_compilation_unit = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;\n    } while (pdVar6 != (debug_unit *)0x0);" do (compound_statement "{\n      pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 2)];\n      if (pdVar4 != (debug_unit *)0xffffffff) {\n        pdVar5 = (debug_handle *)(&pdVar6[4].files)[(int)p_Var3 * 2];\n        pdVar1 = (debug_lineno *)(&pdVar6[4].next)[(int)p_Var3 * 2];\n        if (info_1 <= pdVar5 && (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1))\n        {\n          return 1;\n        }\n        while( true ) {\n                    /* WARNING: Load size is inaccurate */\n          iVar2 = (**fhandle)((undefined4)address,pdVar6->files->filename,pdVar4,pdVar1,pdVar5);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          p_Var3 = fns->start_compilation_unit;\n          fns->start_compilation_unit = p_Var3 + 1;\n          if (((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3 + 1) ||\n             (pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)], pdVar4 == (debug_unit *)0xffffffff))\n          break;\n          pdVar5 = (debug_handle *)(&pdVar6[5].next)[(int)p_Var3 * 2];\n          pdVar1 = (&pdVar6[4].linenos)[(int)p_Var3 * 2];\n          if (info_1 <= pdVar5 &&\n              (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1)) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      pdVar6 = pdVar6->next;\n      info->units = pdVar6;\n      p_Var3 = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;\n      fns->start_compilation_unit = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;\n    }" { (expression_statement "pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 2)];" (assignment_expression "pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 2)]" identifier = (subscript_expression "(&pdVar6->next)[(int)(p_Var3 + 2)]" (parenthesized_expression "(&pdVar6->next)" ( (pointer_expression "&pdVar6->next" & (field_expression "pdVar6->next" identifier -> field_identifier)) )) [ (cast_expression "(int)(p_Var3 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(p_Var3 + 2)" ( (binary_expression "p_Var3 + 2" identifier + number_literal) ))) ])) ;) (if_statement "if (pdVar4 != (debug_unit *)0xffffffff) {\n        pdVar5 = (debug_handle *)(&pdVar6[4].files)[(int)p_Var3 * 2];\n        pdVar1 = (debug_lineno *)(&pdVar6[4].next)[(int)p_Var3 * 2];\n        if (info_1 <= pdVar5 && (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1))\n        {\n          return 1;\n        }\n        while( true ) {\n                    /* WARNING: Load size is inaccurate */\n          iVar2 = (**fhandle)((undefined4)address,pdVar6->files->filename,pdVar4,pdVar1,pdVar5);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          p_Var3 = fns->start_compilation_unit;\n          fns->start_compilation_unit = p_Var3 + 1;\n          if (((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3 + 1) ||\n             (pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)], pdVar4 == (debug_unit *)0xffffffff))\n          break;\n          pdVar5 = (debug_handle *)(&pdVar6[5].next)[(int)p_Var3 * 2];\n          pdVar1 = (&pdVar6[4].linenos)[(int)p_Var3 * 2];\n          if (info_1 <= pdVar5 &&\n              (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1)) {\n            return 1;\n          }\n        }\n      }" if (parenthesized_expression "(pdVar4 != (debug_unit *)0xffffffff)" ( (binary_expression "pdVar4 != (debug_unit *)0xffffffff" identifier != (cast_expression "(debug_unit *)0xffffffff" ( (type_descriptor "debug_unit *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pdVar5 = (debug_handle *)(&pdVar6[4].files)[(int)p_Var3 * 2];\n        pdVar1 = (debug_lineno *)(&pdVar6[4].next)[(int)p_Var3 * 2];\n        if (info_1 <= pdVar5 && (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1))\n        {\n          return 1;\n        }\n        while( true ) {\n                    /* WARNING: Load size is inaccurate */\n          iVar2 = (**fhandle)((undefined4)address,pdVar6->files->filename,pdVar4,pdVar1,pdVar5);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          p_Var3 = fns->start_compilation_unit;\n          fns->start_compilation_unit = p_Var3 + 1;\n          if (((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3 + 1) ||\n             (pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)], pdVar4 == (debug_unit *)0xffffffff))\n          break;\n          pdVar5 = (debug_handle *)(&pdVar6[5].next)[(int)p_Var3 * 2];\n          pdVar1 = (&pdVar6[4].linenos)[(int)p_Var3 * 2];\n          if (info_1 <= pdVar5 &&\n              (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1)) {\n            return 1;\n          }\n        }\n      }" { (expression_statement "pdVar5 = (debug_handle *)(&pdVar6[4].files)[(int)p_Var3 * 2];" (assignment_expression "pdVar5 = (debug_handle *)(&pdVar6[4].files)[(int)p_Var3 * 2]" identifier = (cast_expression "(debug_handle *)(&pdVar6[4].files)[(int)p_Var3 * 2]" ( (type_descriptor "debug_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "(&pdVar6[4].files)[(int)p_Var3 * 2]" (parenthesized_expression "(&pdVar6[4].files)" ( (pointer_expression "&pdVar6[4].files" & (field_expression "pdVar6[4].files" (subscript_expression "pdVar6[4]" identifier [ number_literal ]) . field_identifier)) )) [ (binary_expression "(int)p_Var3 * 2" (cast_expression "(int)p_Var3" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) ]))) ;) (expression_statement "pdVar1 = (debug_lineno *)(&pdVar6[4].next)[(int)p_Var3 * 2];" (assignment_expression "pdVar1 = (debug_lineno *)(&pdVar6[4].next)[(int)p_Var3 * 2]" identifier = (cast_expression "(debug_lineno *)(&pdVar6[4].next)[(int)p_Var3 * 2]" ( (type_descriptor "debug_lineno *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "(&pdVar6[4].next)[(int)p_Var3 * 2]" (parenthesized_expression "(&pdVar6[4].next)" ( (pointer_expression "&pdVar6[4].next" & (field_expression "pdVar6[4].next" (subscript_expression "pdVar6[4]" identifier [ number_literal ]) . field_identifier)) )) [ (binary_expression "(int)p_Var3 * 2" (cast_expression "(int)p_Var3" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) ]))) ;) (if_statement "if (info_1 <= pdVar5 && (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1))\n        {\n          return 1;\n        }" if (parenthesized_expression "(info_1 <= pdVar5 && (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1))" ( (binary_expression "info_1 <= pdVar5 && (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1)" (binary_expression "info_1 <= pdVar5" identifier <= identifier) && (binary_expression "(uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1)" (call_expression "(uint)(pdVar1 < address._4_4_)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pdVar1 < address._4_4_)" ( (binary_expression "pdVar1 < address._4_4_" identifier < (field_expression "address._4_4_" identifier . field_identifier)) ))) <= (call_expression "(uint)((int)pdVar5 - (int)info_1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)pdVar5 - (int)info_1)" ( (binary_expression "(int)pdVar5 - (int)info_1" (cast_expression "(int)pdVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)info_1" ( (type_descriptor "int" primitive_type) ) identifier)) ))))) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) (while_statement "while( true ) {\n                    /* WARNING: Load size is inaccurate */\n          iVar2 = (**fhandle)((undefined4)address,pdVar6->files->filename,pdVar4,pdVar1,pdVar5);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          p_Var3 = fns->start_compilation_unit;\n          fns->start_compilation_unit = p_Var3 + 1;\n          if (((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3 + 1) ||\n             (pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)], pdVar4 == (debug_unit *)0xffffffff))\n          break;\n          pdVar5 = (debug_handle *)(&pdVar6[5].next)[(int)p_Var3 * 2];\n          pdVar1 = (&pdVar6[4].linenos)[(int)p_Var3 * 2];\n          if (info_1 <= pdVar5 &&\n              (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1)) {\n            return 1;\n          }\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n          iVar2 = (**fhandle)((undefined4)address,pdVar6->files->filename,pdVar4,pdVar1,pdVar5);\n          if (iVar2 == 0) {\n            return 0;\n          }\n          p_Var3 = fns->start_compilation_unit;\n          fns->start_compilation_unit = p_Var3 + 1;\n          if (((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3 + 1) ||\n             (pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)], pdVar4 == (debug_unit *)0xffffffff))\n          break;\n          pdVar5 = (debug_handle *)(&pdVar6[5].next)[(int)p_Var3 * 2];\n          pdVar1 = (&pdVar6[4].linenos)[(int)p_Var3 * 2];\n          if (info_1 <= pdVar5 &&\n              (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1)) {\n            return 1;\n          }\n        }" { comment (expression_statement "iVar2 = (**fhandle)((undefined4)address,pdVar6->files->filename,pdVar4,pdVar1,pdVar5);" (assignment_expression "iVar2 = (**fhandle)((undefined4)address,pdVar6->files->filename,pdVar4,pdVar1,pdVar5)" identifier = (call_expression "(**fhandle)((undefined4)address,pdVar6->files->filename,pdVar4,pdVar1,pdVar5)" (parenthesized_expression "(**fhandle)" ( (pointer_expression "**fhandle" * (pointer_expression "*fhandle" * identifier)) )) (argument_list "((undefined4)address,pdVar6->files->filename,pdVar4,pdVar1,pdVar5)" ( (cast_expression "(undefined4)address" ( (type_descriptor "undefined4" type_identifier) ) identifier) , (field_expression "pdVar6->files->filename" (field_expression "pdVar6->files" identifier -> field_identifier) -> field_identifier) , identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n            return 0;\n          }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "p_Var3 = fns->start_compilation_unit;" (assignment_expression "p_Var3 = fns->start_compilation_unit" identifier = (field_expression "fns->start_compilation_unit" identifier -> field_identifier)) ;) (expression_statement "fns->start_compilation_unit = p_Var3 + 1;" (assignment_expression "fns->start_compilation_unit = p_Var3 + 1" (field_expression "fns->start_compilation_unit" identifier -> field_identifier) = (binary_expression "p_Var3 + 1" identifier + number_literal)) ;) (if_statement "if (((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3 + 1) ||\n             (pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)], pdVar4 == (debug_unit *)0xffffffff))\n          break;" if (parenthesized_expression "(((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3 + 1) ||\n             (pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)], pdVar4 == (debug_unit *)0xffffffff))" ( (binary_expression "((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3 + 1) ||\n             (pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)], pdVar4 == (debug_unit *)0xffffffff)" (parenthesized_expression "((_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3 + 1)" ( (binary_expression "(_func_bfd_boolean_void_ptr_char_ptr *)0x9 < p_Var3 + 1" (cast_expression "(_func_bfd_boolean_void_ptr_char_ptr *)0x9" ( (type_descriptor "_func_bfd_boolean_void_ptr_char_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < (binary_expression "p_Var3 + 1" identifier + number_literal)) )) || (parenthesized_expression "(pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)], pdVar4 == (debug_unit *)0xffffffff)" ( (comma_expression "pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)], pdVar4 == (debug_unit *)0xffffffff" (assignment_expression "pdVar4 = (&pdVar6->next)[(int)(p_Var3 + 3)]" identifier = (subscript_expression "(&pdVar6->next)[(int)(p_Var3 + 3)]" (parenthesized_expression "(&pdVar6->next)" ( (pointer_expression "&pdVar6->next" & (field_expression "pdVar6->next" identifier -> field_identifier)) )) [ (cast_expression "(int)(p_Var3 + 3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(p_Var3 + 3)" ( (binary_expression "p_Var3 + 3" identifier + number_literal) ))) ])) , (binary_expression "pdVar4 == (debug_unit *)0xffffffff" identifier == (cast_expression "(debug_unit *)0xffffffff" ( (type_descriptor "debug_unit *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (break_statement "break;" break ;)) (expression_statement "pdVar5 = (debug_handle *)(&pdVar6[5].next)[(int)p_Var3 * 2];" (assignment_expression "pdVar5 = (debug_handle *)(&pdVar6[5].next)[(int)p_Var3 * 2]" identifier = (cast_expression "(debug_handle *)(&pdVar6[5].next)[(int)p_Var3 * 2]" ( (type_descriptor "debug_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "(&pdVar6[5].next)[(int)p_Var3 * 2]" (parenthesized_expression "(&pdVar6[5].next)" ( (pointer_expression "&pdVar6[5].next" & (field_expression "pdVar6[5].next" (subscript_expression "pdVar6[5]" identifier [ number_literal ]) . field_identifier)) )) [ (binary_expression "(int)p_Var3 * 2" (cast_expression "(int)p_Var3" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) ]))) ;) (expression_statement "pdVar1 = (&pdVar6[4].linenos)[(int)p_Var3 * 2];" (assignment_expression "pdVar1 = (&pdVar6[4].linenos)[(int)p_Var3 * 2]" identifier = (subscript_expression "(&pdVar6[4].linenos)[(int)p_Var3 * 2]" (parenthesized_expression "(&pdVar6[4].linenos)" ( (pointer_expression "&pdVar6[4].linenos" & (field_expression "pdVar6[4].linenos" (subscript_expression "pdVar6[4]" identifier [ number_literal ]) . field_identifier)) )) [ (binary_expression "(int)p_Var3 * 2" (cast_expression "(int)p_Var3" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) ])) ;) (if_statement "if (info_1 <= pdVar5 &&\n              (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1)) {\n            return 1;\n          }" if (parenthesized_expression "(info_1 <= pdVar5 &&\n              (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1))" ( (binary_expression "info_1 <= pdVar5 &&\n              (uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1)" (binary_expression "info_1 <= pdVar5" identifier <= identifier) && (binary_expression "(uint)(pdVar1 < address._4_4_) <= (uint)((int)pdVar5 - (int)info_1)" (call_expression "(uint)(pdVar1 < address._4_4_)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pdVar1 < address._4_4_)" ( (binary_expression "pdVar1 < address._4_4_" identifier < (field_expression "address._4_4_" identifier . field_identifier)) ))) <= (call_expression "(uint)((int)pdVar5 - (int)info_1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)pdVar5 - (int)info_1)" ( (binary_expression "(int)pdVar5 - (int)info_1" (cast_expression "(int)pdVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)info_1" ( (type_descriptor "int" primitive_type) ) identifier)) ))))) )) (compound_statement "{\n            return 1;\n          }" { (return_statement "return 1;" return number_literal ;) })) })) })) (labeled_statement "LAB_0001d35e:\n      pdVar6 = pdVar6->next;" statement_identifier : (expression_statement "pdVar6 = pdVar6->next;" (assignment_expression "pdVar6 = pdVar6->next" identifier = (field_expression "pdVar6->next" identifier -> field_identifier)) ;)) (expression_statement "info->units = pdVar6;" (assignment_expression "info->units = pdVar6" (field_expression "info->units" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var3 = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;" (assignment_expression "p_Var3 = (_func_bfd_boolean_void_ptr_char_ptr *)0x0" identifier = (cast_expression "(_func_bfd_boolean_void_ptr_char_ptr *)0x0" ( (type_descriptor "_func_bfd_boolean_void_ptr_char_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "fns->start_compilation_unit = (_func_bfd_boolean_void_ptr_char_ptr *)0x0;" (assignment_expression "fns->start_compilation_unit = (_func_bfd_boolean_void_ptr_char_ptr *)0x0" (field_expression "fns->start_compilation_unit" identifier -> field_identifier) = (cast_expression "(_func_bfd_boolean_void_ptr_char_ptr *)0x0" ( (type_descriptor "_func_bfd_boolean_void_ptr_char_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) while (parenthesized_expression "(pdVar6 != (debug_unit *)0x0)" ( (binary_expression "pdVar6 != (debug_unit *)0x0" identifier != (cast_expression "(debug_unit *)0x0" ( (type_descriptor "debug_unit *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 __regparm3\nFUN_0001d2b0(int *param_1,uint *param_2,undefined4 *param_3,undefined4 param_4,uint param_5,\n            uint param_6)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int *piVar4;\n  \n  piVar4 = (int *)*param_1;\n  if (piVar4 != (int *)0x0) {\n    uVar2 = *param_2;\n    if (9 < uVar2) goto LAB_0001d35e;\n    do {\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    } while (piVar4 != (int *)0x0);\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 __regparm3\nFUN_0001d2b0(int *param_1,uint *param_2,undefined4 *param_3,undefined4 param_4,uint param_5,\n            uint param_6)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int *piVar4;\n  \n  piVar4 = (int *)*param_1;\n  if (piVar4 != (int *)0x0) {\n    uVar2 = *param_2;\n    if (9 < uVar2) goto LAB_0001d35e;\n    do {\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    } while (piVar4 != (int *)0x0);\n  }\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0001d2b0(int *param_1,uint *param_2,undefined4 *param_3,undefined4 param_4,uint param_5,\n            uint param_6)" identifier (parameter_list "(int *param_1,uint *param_2,undefined4 *param_3,undefined4 param_4,uint param_5,\n            uint param_6)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "uint param_6" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int *piVar4;\n  \n  piVar4 = (int *)*param_1;\n  if (piVar4 != (int *)0x0) {\n    uVar2 = *param_2;\n    if (9 < uVar2) goto LAB_0001d35e;\n    do {\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    } while (piVar4 != (int *)0x0);\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (expression_statement "piVar4 = (int *)*param_1;" (assignment_expression "piVar4 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (piVar4 != (int *)0x0) {\n    uVar2 = *param_2;\n    if (9 < uVar2) goto LAB_0001d35e;\n    do {\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    } while (piVar4 != (int *)0x0);\n  }" if (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar2 = *param_2;\n    if (9 < uVar2) goto LAB_0001d35e;\n    do {\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    } while (piVar4 != (int *)0x0);\n  }" { (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (9 < uVar2) goto LAB_0001d35e;" if (parenthesized_expression "(9 < uVar2)" ( (binary_expression "9 < uVar2" number_literal < identifier) )) (goto_statement "goto LAB_0001d35e;" goto statement_identifier ;)) (do_statement "do {\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    } while (piVar4 != (int *)0x0);" do (compound_statement "{\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    }" { (expression_statement "iVar1 = piVar4[uVar2 + 2];" (assignment_expression "iVar1 = piVar4[uVar2 + 2]" identifier = (subscript_expression "piVar4[uVar2 + 2]" identifier [ (binary_expression "uVar2 + 2" identifier + number_literal) ])) ;) (if_statement "if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }" if (parenthesized_expression "(iVar1 != -1)" ( (binary_expression "iVar1 != -1" identifier != number_literal) )) (compound_statement "{\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }" { (expression_statement "uVar3 = piVar4[uVar2 * 2 + 0xd];" (assignment_expression "uVar3 = piVar4[uVar2 * 2 + 0xd]" identifier = (subscript_expression "piVar4[uVar2 * 2 + 0xd]" identifier [ (binary_expression "uVar2 * 2 + 0xd" (binary_expression "uVar2 * 2" identifier * number_literal) + number_literal) ])) ;) (expression_statement "uVar2 = piVar4[uVar2 * 2 + 0xc];" (assignment_expression "uVar2 = piVar4[uVar2 * 2 + 0xc]" identifier = (subscript_expression "piVar4[uVar2 * 2 + 0xc]" identifier [ (binary_expression "uVar2 * 2 + 0xc" (binary_expression "uVar2 * 2" identifier * number_literal) + number_literal) ])) ;) (if_statement "if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }" if (parenthesized_expression "(param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6)" ( (binary_expression "param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6" (binary_expression "param_6 <= uVar3" identifier <= identifier) && (binary_expression "(uint)(uVar2 < param_5) <= uVar3 - param_6" (call_expression "(uint)(uVar2 < param_5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 < param_5)" ( (binary_expression "uVar2 < param_5" identifier < identifier) ))) <= (binary_expression "uVar3 - param_6" identifier - identifier))) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) (while_statement "while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }" { (expression_statement "iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);" (assignment_expression "iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3)" identifier = (call_expression "(*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3)" (parenthesized_expression "(*(code *)*param_3)" ( (pointer_expression "*(code *)*param_3" * (cast_expression "(code *)*param_3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) )) (argument_list "(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3)" ( identifier , (pointer_expression "*(undefined4 *)(piVar4[1] + 4)" * (cast_expression "(undefined4 *)(piVar4[1] + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4[1] + 4)" ( (binary_expression "piVar4[1] + 4" (subscript_expression "piVar4[1]" identifier [ number_literal ]) + number_literal) )))) , identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n            return 0;\n          }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_2 = uVar2 + 1;" (assignment_expression "*param_2 = uVar2 + 1" (pointer_expression "*param_2" * identifier) = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (if_statement "if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;" if (parenthesized_expression "((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1))" ( (binary_expression "(9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)" (parenthesized_expression "(9 < uVar2 + 1)" ( (binary_expression "9 < uVar2 + 1" number_literal < (binary_expression "uVar2 + 1" identifier + number_literal)) )) || (parenthesized_expression "(iVar1 = piVar4[uVar2 + 3], iVar1 == -1)" ( (comma_expression "iVar1 = piVar4[uVar2 + 3], iVar1 == -1" (assignment_expression "iVar1 = piVar4[uVar2 + 3]" identifier = (subscript_expression "piVar4[uVar2 + 3]" identifier [ (binary_expression "uVar2 + 3" identifier + number_literal) ])) , (binary_expression "iVar1 == -1" identifier == number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "uVar3 = piVar4[uVar2 * 2 + 0xf];" (assignment_expression "uVar3 = piVar4[uVar2 * 2 + 0xf]" identifier = (subscript_expression "piVar4[uVar2 * 2 + 0xf]" identifier [ (binary_expression "uVar2 * 2 + 0xf" (binary_expression "uVar2 * 2" identifier * number_literal) + number_literal) ])) ;) (expression_statement "uVar2 = piVar4[uVar2 * 2 + 0xe];" (assignment_expression "uVar2 = piVar4[uVar2 * 2 + 0xe]" identifier = (subscript_expression "piVar4[uVar2 * 2 + 0xe]" identifier [ (binary_expression "uVar2 * 2 + 0xe" (binary_expression "uVar2 * 2" identifier * number_literal) + number_literal) ])) ;) (if_statement "if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }" if (parenthesized_expression "(param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6)" ( (binary_expression "param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6" (binary_expression "param_6 <= uVar3" identifier <= identifier) && (binary_expression "(uint)(uVar2 < param_5) <= uVar3 - param_6" (call_expression "(uint)(uVar2 < param_5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 < param_5)" ( (binary_expression "uVar2 < param_5" identifier < identifier) ))) <= (binary_expression "uVar3 - param_6" identifier - identifier))) )) (compound_statement "{\n            return 1;\n          }" { (return_statement "return 1;" return number_literal ;) })) })) })) (labeled_statement "LAB_0001d35e:\n      piVar4 = (int *)*piVar4;" statement_identifier : (expression_statement "piVar4 = (int *)*piVar4;" (assignment_expression "piVar4 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;)) (expression_statement "*param_1 = (int)piVar4;" (assignment_expression "*param_1 = (int)piVar4" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) }) while (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression IDENT + LIT) ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT <= IDENT) && (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) <= (binary_expression IDENT - IDENT))) )) (compound_statement { (return_statement return LIT ;) })) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT + LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression IDENT + LIT) ])) , (binary_expression IDENT == LIT)) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT <= IDENT) && (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) <= (binary_expression IDENT - IDENT))) )) (compound_statement { (return_statement return LIT ;) })) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3\nFUN_0001d2b0(int *param_1,uint *param_2,undefined4 *param_3,undefined4 param_4,uint param_5,\n            uint param_6)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int *piVar4;\n  \n  piVar4 = (int *)*param_1;\n  if (piVar4 != (int *)0x0) {\n    uVar2 = *param_2;\n    if (9 < uVar2) goto LAB_0001d35e;\n    do {\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    } while (piVar4 != (int *)0x0);\n  }\n  return 1;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001d2b0(int *param_1,uint *param_2,undefined4 *param_3,undefined4 param_4,uint param_5,\n            uint param_6)" (identifier "FUN_0001d2b0") (parameter_list "(int *param_1,uint *param_2,undefined4 *param_3,undefined4 param_4,uint param_5,\n            uint param_6)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "uint param_5" (type_identifier "uint") (identifier "param_5")) (, ",") (parameter_declaration "uint param_6" (type_identifier "uint") (identifier "param_6")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int *piVar4;\n  \n  piVar4 = (int *)*param_1;\n  if (piVar4 != (int *)0x0) {\n    uVar2 = *param_2;\n    if (9 < uVar2) goto LAB_0001d35e;\n    do {\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    } while (piVar4 != (int *)0x0);\n  }\n  return 1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (expression_statement "piVar4 = (int *)*param_1;" (assignment_expression "piVar4 = (int *)*param_1" (identifier "piVar4") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (piVar4 != (int *)0x0) {\n    uVar2 = *param_2;\n    if (9 < uVar2) goto LAB_0001d35e;\n    do {\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    } while (piVar4 != (int *)0x0);\n  }" (if "if") (parenthesized_expression "(piVar4 != (int *)0x0)" (( "(") (binary_expression "piVar4 != (int *)0x0" (identifier "piVar4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar2 = *param_2;\n    if (9 < uVar2) goto LAB_0001d35e;\n    do {\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    } while (piVar4 != (int *)0x0);\n  }" ({ "{") (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" (identifier "uVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (9 < uVar2) goto LAB_0001d35e;" (if "if") (parenthesized_expression "(9 < uVar2)" (( "(") (binary_expression "9 < uVar2" (number_literal "9") (< "<") (identifier "uVar2")) () ")")) (goto_statement "goto LAB_0001d35e;" (goto "goto") (statement_identifier "LAB_0001d35e") (; ";"))) (do_statement "do {\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    } while (piVar4 != (int *)0x0);" (do "do") (compound_statement "{\n      iVar1 = piVar4[uVar2 + 2];\n      if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }\nLAB_0001d35e:\n      piVar4 = (int *)*piVar4;\n      *param_1 = (int)piVar4;\n      uVar2 = 0;\n      *param_2 = 0;\n    }" ({ "{") (expression_statement "iVar1 = piVar4[uVar2 + 2];" (assignment_expression "iVar1 = piVar4[uVar2 + 2]" (identifier "iVar1") (= "=") (subscript_expression "piVar4[uVar2 + 2]" (identifier "piVar4") ([ "[") (binary_expression "uVar2 + 2" (identifier "uVar2") (+ "+") (number_literal "2")) (] "]"))) (; ";")) (if_statement "if (iVar1 != -1) {\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }" (if "if") (parenthesized_expression "(iVar1 != -1)" (( "(") (binary_expression "iVar1 != -1" (identifier "iVar1") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n        uVar3 = piVar4[uVar2 * 2 + 0xd];\n        uVar2 = piVar4[uVar2 * 2 + 0xc];\n        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }\n        while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }\n      }" ({ "{") (expression_statement "uVar3 = piVar4[uVar2 * 2 + 0xd];" (assignment_expression "uVar3 = piVar4[uVar2 * 2 + 0xd]" (identifier "uVar3") (= "=") (subscript_expression "piVar4[uVar2 * 2 + 0xd]" (identifier "piVar4") ([ "[") (binary_expression "uVar2 * 2 + 0xd" (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2")) (+ "+") (number_literal "0xd")) (] "]"))) (; ";")) (expression_statement "uVar2 = piVar4[uVar2 * 2 + 0xc];" (assignment_expression "uVar2 = piVar4[uVar2 * 2 + 0xc]" (identifier "uVar2") (= "=") (subscript_expression "piVar4[uVar2 * 2 + 0xc]" (identifier "piVar4") ([ "[") (binary_expression "uVar2 * 2 + 0xc" (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2")) (+ "+") (number_literal "0xc")) (] "]"))) (; ";")) (if_statement "if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n          return 1;\n        }" (if "if") (parenthesized_expression "(param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6)" (( "(") (binary_expression "param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6" (binary_expression "param_6 <= uVar3" (identifier "param_6") (<= "<=") (identifier "uVar3")) (&& "&&") (binary_expression "(uint)(uVar2 < param_5) <= uVar3 - param_6" (call_expression "(uint)(uVar2 < param_5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar2 < param_5)" (( "(") (binary_expression "uVar2 < param_5" (identifier "uVar2") (< "<") (identifier "param_5")) () ")"))) (<= "<=") (binary_expression "uVar3 - param_6" (identifier "uVar3") (- "-") (identifier "param_6")))) () ")")) (compound_statement "{\n          return 1;\n        }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (while_statement "while( true ) {\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);\n          if (iVar1 == 0) {\n            return 0;\n          }\n          uVar2 = *param_2;\n          *param_2 = uVar2 + 1;\n          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;\n          uVar3 = piVar4[uVar2 * 2 + 0xf];\n          uVar2 = piVar4[uVar2 * 2 + 0xe];\n          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }\n        }" ({ "{") (expression_statement "iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);" (assignment_expression "iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3)" (identifier "iVar1") (= "=") (call_expression "(*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3)" (parenthesized_expression "(*(code *)*param_3)" (( "(") (pointer_expression "*(code *)*param_3" (* "*") (cast_expression "(code *)*param_3" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) () ")")) (argument_list "(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3)" (( "(") (identifier "param_4") (, ",") (pointer_expression "*(undefined4 *)(piVar4[1] + 4)" (* "*") (cast_expression "(undefined4 *)(piVar4[1] + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar4[1] + 4)" (( "(") (binary_expression "piVar4[1] + 4" (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "iVar1") (, ",") (identifier "uVar2") (, ",") (identifier "uVar3") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n            return 0;\n          }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            return 0;\n          }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" (identifier "uVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*param_2 = uVar2 + 1;" (assignment_expression "*param_2 = uVar2 + 1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;" (if "if") (parenthesized_expression "((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1))" (( "(") (binary_expression "(9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)" (parenthesized_expression "(9 < uVar2 + 1)" (( "(") (binary_expression "9 < uVar2 + 1" (number_literal "9") (< "<") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1"))) () ")")) (|| "||") (parenthesized_expression "(iVar1 = piVar4[uVar2 + 3], iVar1 == -1)" (( "(") (comma_expression "iVar1 = piVar4[uVar2 + 3], iVar1 == -1" (assignment_expression "iVar1 = piVar4[uVar2 + 3]" (identifier "iVar1") (= "=") (subscript_expression "piVar4[uVar2 + 3]" (identifier "piVar4") ([ "[") (binary_expression "uVar2 + 3" (identifier "uVar2") (+ "+") (number_literal "3")) (] "]"))) (, ",") (binary_expression "iVar1 == -1" (identifier "iVar1") (== "==") (number_literal "-1"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar3 = piVar4[uVar2 * 2 + 0xf];" (assignment_expression "uVar3 = piVar4[uVar2 * 2 + 0xf]" (identifier "uVar3") (= "=") (subscript_expression "piVar4[uVar2 * 2 + 0xf]" (identifier "piVar4") ([ "[") (binary_expression "uVar2 * 2 + 0xf" (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2")) (+ "+") (number_literal "0xf")) (] "]"))) (; ";")) (expression_statement "uVar2 = piVar4[uVar2 * 2 + 0xe];" (assignment_expression "uVar2 = piVar4[uVar2 * 2 + 0xe]" (identifier "uVar2") (= "=") (subscript_expression "piVar4[uVar2 * 2 + 0xe]" (identifier "piVar4") ([ "[") (binary_expression "uVar2 * 2 + 0xe" (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2")) (+ "+") (number_literal "0xe")) (] "]"))) (; ";")) (if_statement "if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {\n            return 1;\n          }" (if "if") (parenthesized_expression "(param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6)" (( "(") (binary_expression "param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6" (binary_expression "param_6 <= uVar3" (identifier "param_6") (<= "<=") (identifier "uVar3")) (&& "&&") (binary_expression "(uint)(uVar2 < param_5) <= uVar3 - param_6" (call_expression "(uint)(uVar2 < param_5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar2 < param_5)" (( "(") (binary_expression "uVar2 < param_5" (identifier "uVar2") (< "<") (identifier "param_5")) () ")"))) (<= "<=") (binary_expression "uVar3 - param_6" (identifier "uVar3") (- "-") (identifier "param_6")))) () ")")) (compound_statement "{\n            return 1;\n          }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}"))) (} "}"))) (labeled_statement "LAB_0001d35e:\n      piVar4 = (int *)*piVar4;" (statement_identifier "LAB_0001d35e") (: ":") (expression_statement "piVar4 = (int *)*piVar4;" (assignment_expression "piVar4 = (int *)*piVar4" (identifier "piVar4") (= "=") (cast_expression "(int *)*piVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")))) (; ";"))) (expression_statement "*param_1 = (int)piVar4;" (assignment_expression "*param_1 = (int)piVar4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)piVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar4"))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar4 != (int *)0x0)" (( "(") (binary_expression "piVar4 != (int *)0x0" (identifier "piVar4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

/* DWARF original prototype: bfd_boolean debug_write_linenos(debug_handle * info, debug_write_fns *
   fns, void * fhandle, bfd_vma address, debug_handle * info) */

type_1 __regparm3
function_1(type_2 *info,type_3 *fns,void *fhandle,type_4 address,
                   type_2 *var_4)

{
  type_5 *var_6;
  int var_7;
  type_6 *var_2;
  type_7 *var_3;
  type_2 *var_5;
  type_7 *var_1;
  
  var_1 = info->units;
  if (var_1 != (type_7 *)0x0) {
    var_2 = fns->start_compilation_unit;
    if ((type_6 *)0x9 < var_2) goto LAB_0001d35e;
    do {
      var_3 = (&var_1->next)[(int)(var_2 + 2)];
      if (var_3 != (type_7 *)0xffffffff) {
        var_5 = (type_2 *)(&var_1[4].files)[(int)var_2 * 2];
        var_6 = (type_5 *)(&var_1[4].next)[(int)var_2 * 2];
        if (var_4 <= var_5 && (uint)(var_6 < address._4_4_) <= (uint)((int)var_5 - (int)var_4))
        {
          return 1;
        }
        while( true ) {
                    /* WARNING: Load size is inaccurate */
          var_7 = (**fhandle)((type_8)address,var_1->files->filename,var_3,var_6,var_5);
          if (var_7 == 0) {
            return 0;
          }
          var_2 = fns->start_compilation_unit;
          fns->start_compilation_unit = var_2 + 1;
          if (((type_6 *)0x9 < var_2 + 1) ||
             (var_3 = (&var_1->next)[(int)(var_2 + 3)], var_3 == (type_7 *)0xffffffff))
          break;
          var_5 = (type_2 *)(&var_1[5].next)[(int)var_2 * 2];
          var_6 = (&var_1[4].linenos)[(int)var_2 * 2];
          if (var_4 <= var_5 &&
              (uint)(var_6 < address._4_4_) <= (uint)((int)var_5 - (int)var_4)) {
            return 1;
          }
        }
      }
LAB_0001d35e:
      var_1 = var_1->next;
      info->units = var_1;
      var_2 = (type_6 *)0x0;
      fns->start_compilation_unit = (type_6 *)0x0;
    } while (var_1 != (type_7 *)0x0);
  }
  return 1;
}


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

undefined4 __regparm3
MASKED(int *param_1,uint *param_2,undefined4 *param_3,undefined4 param_4,uint param_5,
            uint param_6)

{
  int iVar1;
  uint uVar2;
  uint uVar3;
  int *piVar4;
  
  piVar4 = (int *)*param_1;
  if (piVar4 != (int *)0x0) {
    uVar2 = *param_2;
    if (9 < uVar2) goto LAB_0001d35e;
    do {
      iVar1 = piVar4[uVar2 + 2];
      if (iVar1 != -1) {
        uVar3 = piVar4[uVar2 * 2 + 0xd];
        uVar2 = piVar4[uVar2 * 2 + 0xc];
        if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {
          return 1;
        }
        while( true ) {
          iVar1 = (*(code *)*param_3)(param_4,*(undefined4 *)(piVar4[1] + 4),iVar1,uVar2,uVar3);
          if (iVar1 == 0) {
            return 0;
          }
          uVar2 = *param_2;
          *param_2 = uVar2 + 1;
          if ((9 < uVar2 + 1) || (iVar1 = piVar4[uVar2 + 3], iVar1 == -1)) break;
          uVar3 = piVar4[uVar2 * 2 + 0xf];
          uVar2 = piVar4[uVar2 * 2 + 0xe];
          if (param_6 <= uVar3 && (uint)(uVar2 < param_5) <= uVar3 - param_6) {
            return 1;
          }
        }
      }
LAB_0001d35e:
      piVar4 = (int *)*piVar4;
      *param_1 = (int)piVar4;
      uVar2 = 0;
      *param_2 = 0;
    } while (piVar4 != (int *)0x0);
  }
  return 1;
}

