
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void read_next_header(const_iterator * this) */

void __thiscall gold::Archive::const_iterator::read_next_header(const_iterator *this)

{
  Header *pname;
  uint uVar1;
  void *pvVar2;
  size_type sVar3;
  Archive *pAVar4;
  _func_int_varargs *p_Var5;
  pointer pcVar6;
  uint uVar7;
  uint __fd;
  int iVar8;
  char *format;
  File_read *pFVar9;
  uint uVar10;
  Input_file *pIVar11;
  void *__buf;
  bool bVar12;
  off_t oVar13;
  uchar buf [60];
  
  pIVar11 = this->archive_->input_file_;
  uVar1 = (uint)(pIVar11->file_).size_;
  pvVar2 = *(void **)((int)&(pIVar11->file_).size_ + 4);
  __fd = (uint)this->off_;
  __buf = *(void **)((int)&this->off_ + 4);
  if ((int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf)) < (int)(uint)(0x3b < uVar1 - __fd))
  {
    pname = &this->header_;
    while( true ) {
      File_read::read(&pIVar11->file_,__fd,__buf,0x3c);
      oVar13 = interpret_header(this->archive_,(Archive_header *)buf,this->off_,&pname->name,
                                &(this->header_).nested_off);
      if (oVar13 == -1) break;
      uVar10 = (uint)this->off_;
      iVar8 = *(int *)((int)&this->off_ + 4);
      sVar3 = (this->header_).name._M_string_length;
      (this->header_).size = oVar13;
      *(uint *)&(this->header_).off = uVar10;
      *(int *)((int)&(this->header_).off + 4) = iVar8;
      if (sVar3 != 0) {
        iVar8 = std::string::compare((string *)pname,"/");
        if (iVar8 != 0) {
          iVar8 = std::string::compare((string *)pname,"/SYM64/");
          if (iVar8 != 0) {
            return;
          }
        }
        uVar10 = (uint)this->off_;
        iVar8 = *(int *)((int)&this->off_ + 4);
        oVar13 = (this->header_).size;
      }
      uVar7 = (uint)oVar13 + 0x3c;
      __fd = uVar7 + uVar10;
      __buf = (void *)((int)((ulonglong)oVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)oVar13) + iVar8
                      + (uint)CARRY4(uVar7,uVar10));
      if ((__fd & 1) != 0) {
        bVar12 = 0xfffffffe < __fd;
        __fd = __fd + 1;
        __buf = (void *)((int)__buf + (uint)bVar12);
      }
      *(uint *)&this->off_ = __fd;
      *(void **)((int)&this->off_ + 4) = __buf;
      if ((int)(uint)(0x3b < uVar1 - __fd) <=
          (int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf))) goto LAB_00194920;
      pIVar11 = this->archive_->input_file_;
    }
  }
  else {
LAB_00194920:
    if (pvVar2 != __buf || uVar1 != __fd) {
      pAVar4 = this->archive_;
      p_Var5 = (pAVar4->super_Library_base)._vptr_Library_base[2];
      if (p_Var5 == do_filename) {
        pFVar9 = &pAVar4->input_file_->file_;
      }
      else {
        pFVar9 = (File_read *)(*p_Var5)(pAVar4);
      }
      pcVar6 = (pFVar9->name_)._M_dataplus._M_p;
      format = (char *)gettext("%s: short archive header at %zu");
      gold_error(format,pcVar6,__fd);
      *(uint *)&this->off_ = uVar1;
      *(void **)((int)&this->off_ + 4) = pvVar2;
    }
  }
  *(uint *)&(this->header_).off = uVar1;
  *(void **)((int)&(this->header_).off + 4) = pvVar2;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_001947a0(int *param_1)

{
  uint uVar1;
  int iVar2;
  int *piVar3;
  undefined4 uVar4;
  uint uVar5;
  uint uVar6;
  int iVar7;
  undefined4 *puVar8;
  undefined4 uVar9;
  uint uVar10;
  int iVar11;
  bool bVar12;
  longlong lVar13;
  undefined1 local_58 [72];
  
  iVar7 = *(int *)(*param_1 + 0x24);
  uVar1 = *(uint *)(iVar7 + 0x40);
  iVar2 = *(int *)(iVar7 + 0x44);
  uVar6 = param_1[1];
  iVar11 = param_1[2];
  if ((int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6)) {
    piVar3 = param_1 + 3;
    while( true ) {
      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);
      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);
      if (lVar13 == -1) break;
      uVar10 = param_1[1];
      iVar7 = param_1[2];
      *(longlong *)(param_1 + 0xd) = lVar13;
      param_1[9] = uVar10;
      param_1[10] = iVar7;
      if (param_1[4] != 0) {
        iVar7 = FUN_001f1370(piVar3,"/");
        if (iVar7 != 0) {
          iVar7 = FUN_001f1370(piVar3,"/SYM64/");
          if (iVar7 != 0) {
            return;
          }
        }
        uVar10 = param_1[1];
        iVar7 = param_1[2];
        lVar13 = *(longlong *)(param_1 + 0xd);
      }
      uVar5 = (uint)lVar13 + 0x3c;
      uVar6 = uVar5 + uVar10;
      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +
               (uint)CARRY4(uVar5,uVar10);
      if ((uVar6 & 1) != 0) {
        bVar12 = 0xfffffffe < uVar6;
        uVar6 = uVar6 + 1;
        iVar11 = iVar11 + (uint)bVar12;
      }
      param_1[1] = uVar6;
      param_1[2] = iVar11;
      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))
      goto LAB_00194920;
      iVar7 = *(int *)(*param_1 + 0x24);
    }
  }
  else {
LAB_00194920:
    if (iVar2 != iVar11 || uVar1 != uVar6) {
      piVar3 = (int *)*param_1;
      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {
        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);
      }
      else {
        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);
      }
      uVar4 = *puVar8;
      uVar9 = gettext("%s: short archive header at %zu");
      FUN_000654b0(uVar9,uVar4,uVar6);
      param_1[1] = uVar1;
      param_1[2] = iVar2;
    }
  }
  param_1[9] = uVar1;
  param_1[10] = iVar2;
  return;
}


CALL 0x000559e6
ADD EAX,0x1fa85b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
MOV EBX,0x3b
SUB ESP,0x7c
MOV ESI,dword ptr [ESP + 0x90]
MOV dword ptr [ESP + 0x14],EAX
MOV EAX,dword ptr [ESI]
MOV ECX,dword ptr [EAX + 0x24]
MOV EAX,dword ptr [ECX + 0x40]
MOV EDX,dword ptr [ECX + 0x44]
MOV EDI,EAX
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [ESI + 0x4]
MOV EBP,EDX
MOV dword ptr [ESP + 0x1c],EDX
MOV EDX,dword ptr [ESI + 0x8]
SUB EDI,EAX
SBB EBP,EDX
CMP EBX,EDI
MOV EBX,0x0
SBB EBX,EBP
JGE 0x00194920
LEA EBX,[ESI + 0x2c]
LEA EDI,[ESP + 0x34]
MOV dword ptr [ESP + 0x24],EBX
LEA EBX,[ESI + 0xc]
MOV dword ptr [ESP + 0x20],EBX
MOV EBX,dword ptr [ESP + 0x14]
LEA EBP,[EBX + 0xfff0e530]
LEA EBX,[EBX + 0xfff0e52a]
MOV dword ptr [ESP + 0x28],EBP
MOV dword ptr [ESP + 0x2c],EBX
JMP 0x0019486e
ADD EAX,0x3c
ADC EDX,0x0
ADD EAX,ECX
MOV ECX,EAX
ADC EDX,EBX
AND ECX,0x1
JZ 0x00194837
ADD EAX,0x1
ADC EDX,0x0
MOV ECX,dword ptr [ESP + 0x18]
MOV EBX,dword ptr [ESP + 0x1c]
MOV EBP,0x3b
MOV dword ptr [ESI + 0x4],EAX
MOV dword ptr [ESI + 0x8],EDX
SUB ECX,EAX
SBB EBX,EDX
MOV dword ptr [ESP + 0x8],ECX
MOV ECX,0x0
CMP EBP,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0xc],EBX
SBB ECX,dword ptr [ESP + 0xc]
JGE 0x00194920
MOV ECX,dword ptr [ESI]
MOV ECX,dword ptr [ECX + 0x24]
SUB ESP,0xc
ADD ECX,0x1c
PUSH EDI
PUSH 0x3c
PUSH EDX
PUSH EAX
PUSH ECX
MOV EBX,dword ptr [ESP + 0x34]
CALL 0x00066be0
ADD ESP,0x18
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESI + 0x8]
PUSH dword ptr [ESI + 0x4]
PUSH EDI
PUSH dword ptr [ESI]
CALL 0x001943a0
ADD ESP,0x20
MOV ECX,EDX
AND ECX,EAX
CMP ECX,-0x1
JZ 0x0019498c
MOV ECX,dword ptr [ESI + 0x4]
MOV EBX,dword ptr [ESI + 0x8]
MOV dword ptr [ESI + 0x34],EAX
MOV EBP,dword ptr [ESI + 0x10]
MOV dword ptr [ESI + 0x38],EDX
MOV dword ptr [ESI + 0x24],ECX
MOV dword ptr [ESI + 0x28],EBX
TEST EBP,EBP
JZ 0x00194820
SUB ESP,0x8
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x2c]
MOV EBX,dword ptr [ESP + 0x24]
CALL 0x001f1370
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x001948f8
MOV ECX,dword ptr [ESI + 0x4]
MOV EBX,dword ptr [ESI + 0x8]
MOV EAX,dword ptr [ESI + 0x34]
MOV EDX,dword ptr [ESI + 0x38]
JMP 0x00194820
SUB ESP,0x8
PUSH dword ptr [ESP + 0x34]
PUSH dword ptr [ESP + 0x2c]
MOV EBX,dword ptr [ESP + 0x24]
CALL 0x001f1370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x001948e4
ADD ESP,0x7c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDI,dword ptr [ESP + 0x18]
MOV EBP,dword ptr [ESP + 0x1c]
MOV ECX,EDI
MOV EBX,EBP
XOR ECX,EAX
XOR EBX,EDX
OR EBX,ECX
JZ 0x0019498c
MOV EDI,EAX
MOV EAX,dword ptr [ESI]
MOV EBX,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [EAX]
LEA ECX,[EBX + 0xffe08b50]
MOV EDX,dword ptr [EDX + 0x8]
CMP EDX,ECX
JNZ 0x001949a2
MOV EAX,dword ptr [EAX + 0x24]
ADD EAX,0x1c
SUB ESP,0xc
MOV EBP,dword ptr [EAX]
MOV EDX,dword ptr [ESP + 0x20]
LEA EAX,[EDX + 0xfff0e680]
MOV EBX,EDX
PUSH EAX
MOV dword ptr [ESP + 0x24],EDX
CALL 0x000293b0
ADD ESP,0xc
PUSH EDI
PUSH EBP
PUSH EAX
MOV EBX,dword ptr [ESP + 0x24]
CALL 0x000654b0
MOV EAX,dword ptr [ESP + 0x28]
MOV EDX,dword ptr [ESP + 0x2c]
ADD ESP,0x10
MOV dword ptr [ESI + 0x4],EAX
MOV dword ptr [ESI + 0x8],EDX
MOV EAX,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESI + 0x24],EAX
MOV dword ptr [ESI + 0x28],EDX
ADD ESP,0x7c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH EAX
CALL EDX
ADD ESP,0x10
JMP 0x00194951
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_001947a0(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  bool bVar12;\n  longlong lVar13;\n  undefined1 local_58 [72];\n  \n  iVar7 = *(int *)(*param_1 + 0x24);\n  uVar1 = *(uint *)(iVar7 + 0x40);\n  iVar2 = *(int *)(iVar7 + 0x44);\n  uVar6 = param_1[1];\n  iVar11 = param_1[2];\n  if ((int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6)) {\n    piVar3 = param_1 + 3;\n    while( true ) {\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }\n  }\n  else {\nLAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }\n  }\n  param_1[9] = uVar1;\n  param_1[10] = iVar2;\n  return;\n}\n\n" comment (function_definition "void FUN_001947a0(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  bool bVar12;\n  longlong lVar13;\n  undefined1 local_58 [72];\n  \n  iVar7 = *(int *)(*param_1 + 0x24);\n  uVar1 = *(uint *)(iVar7 + 0x40);\n  iVar2 = *(int *)(iVar7 + 0x44);\n  uVar6 = param_1[1];\n  iVar11 = param_1[2];\n  if ((int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6)) {\n    piVar3 = param_1 + 3;\n    while( true ) {\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }\n  }\n  else {\nLAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }\n  }\n  param_1[9] = uVar1;\n  param_1[10] = iVar2;\n  return;\n}" primitive_type (function_declarator "FUN_001947a0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  bool bVar12;\n  longlong lVar13;\n  undefined1 local_58 [72];\n  \n  iVar7 = *(int *)(*param_1 + 0x24);\n  uVar1 = *(uint *)(iVar7 + 0x40);\n  iVar2 = *(int *)(iVar7 + 0x44);\n  uVar6 = param_1[1];\n  iVar11 = param_1[2];\n  if ((int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6)) {\n    piVar3 = param_1 + 3;\n    while( true ) {\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }\n  }\n  else {\nLAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }\n  }\n  param_1[9] = uVar1;\n  param_1[10] = iVar2;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "bool bVar12;" primitive_type identifier ;) (declaration "longlong lVar13;" type_identifier identifier ;) (declaration "undefined1 local_58 [72];" type_identifier (array_declarator "local_58 [72]" identifier [ number_literal ]) ;) (expression_statement "iVar7 = *(int *)(*param_1 + 0x24);" (assignment_expression "iVar7 = *(int *)(*param_1 + 0x24)" identifier = (pointer_expression "*(int *)(*param_1 + 0x24)" * (cast_expression "(int *)(*param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x24)" ( (binary_expression "*param_1 + 0x24" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (expression_statement "uVar1 = *(uint *)(iVar7 + 0x40);" (assignment_expression "uVar1 = *(uint *)(iVar7 + 0x40)" identifier = (pointer_expression "*(uint *)(iVar7 + 0x40)" * (cast_expression "(uint *)(iVar7 + 0x40)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x40)" ( (binary_expression "iVar7 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(iVar7 + 0x44);" (assignment_expression "iVar2 = *(int *)(iVar7 + 0x44)" identifier = (pointer_expression "*(int *)(iVar7 + 0x44)" * (cast_expression "(int *)(iVar7 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x44)" ( (binary_expression "iVar7 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = param_1[1];" (assignment_expression "uVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar11 = param_1[2];" (assignment_expression "iVar11 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (if_statement "if ((int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6)) {\n    piVar3 = param_1 + 3;\n    while( true ) {\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }\n  }\n  else {\nLAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }\n  }" if (parenthesized_expression "((int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6))" ( (binary_expression "(int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6)" (cast_expression "(int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" ( (type_descriptor "int" primitive_type) ) (unary_expression "-((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" - (parenthesized_expression "((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" ( (binary_expression "(iVar2 - iVar11) - (uint)(uVar1 < uVar6)" (parenthesized_expression "(iVar2 - iVar11)" ( (binary_expression "iVar2 - iVar11" identifier - identifier) )) - (call_expression "(uint)(uVar1 < uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < uVar6)" ( (binary_expression "uVar1 < uVar6" identifier < identifier) )))) )))) < (cast_expression "(int)(uint)(0x3b < uVar1 - uVar6)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(0x3b < uVar1 - uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x3b < uVar1 - uVar6)" ( (binary_expression "0x3b < uVar1 - uVar6" number_literal < (binary_expression "uVar1 - uVar6" identifier - identifier)) ))))) )) (compound_statement "{\n    piVar3 = param_1 + 3;\n    while( true ) {\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }\n  }" { (expression_statement "piVar3 = param_1 + 3;" (assignment_expression "piVar3 = param_1 + 3" identifier = (binary_expression "param_1 + 3" identifier + number_literal)) ;) (while_statement "while( true ) {\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }" { (expression_statement "FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);" (call_expression "FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58)" identifier (argument_list "(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58)" ( (binary_expression "iVar7 + 0x1c" identifier + number_literal) , identifier , identifier , number_literal , identifier ))) ;) (expression_statement "lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);" (assignment_expression "lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb)" identifier = (call_expression "FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb)" identifier (argument_list "(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb)" ( (pointer_expression "*param_1" * identifier) , identifier , (subscript_expression "param_1[1]" identifier [ number_literal ]) , (subscript_expression "param_1[2]" identifier [ number_literal ]) , identifier , (binary_expression "param_1 + 0xb" identifier + number_literal) )))) ;) (if_statement "if (lVar13 == -1) break;" if (parenthesized_expression "(lVar13 == -1)" ( (binary_expression "lVar13 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar10 = param_1[1];" (assignment_expression "uVar10 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = param_1[2];" (assignment_expression "iVar7 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "*(longlong *)(param_1 + 0xd) = lVar13;" (assignment_expression "*(longlong *)(param_1 + 0xd) = lVar13" (pointer_expression "*(longlong *)(param_1 + 0xd)" * (cast_expression "(longlong *)(param_1 + 0xd)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd)" ( (binary_expression "param_1 + 0xd" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[9] = uVar10;" (assignment_expression "param_1[9] = uVar10" (subscript_expression "param_1[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[10] = iVar7;" (assignment_expression "param_1[10] = iVar7" (subscript_expression "param_1[10]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }" if (parenthesized_expression "(param_1[4] != 0)" ( (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }" { (expression_statement "iVar7 = FUN_001f1370(piVar3,"/");" (assignment_expression "iVar7 = FUN_001f1370(piVar3,"/")" identifier = (call_expression "FUN_001f1370(piVar3,"/")" identifier (argument_list "(piVar3,"/")" ( identifier , (string_literal ""/"" " string_content ") )))) ;) (if_statement "if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }" { (expression_statement "iVar7 = FUN_001f1370(piVar3,"/SYM64/");" (assignment_expression "iVar7 = FUN_001f1370(piVar3,"/SYM64/")" identifier = (call_expression "FUN_001f1370(piVar3,"/SYM64/")" identifier (argument_list "(piVar3,"/SYM64/")" ( identifier , (string_literal ""/SYM64/"" " string_content ") )))) ;) (if_statement "if (iVar7 != 0) {\n            return;\n          }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) })) (expression_statement "uVar10 = param_1[1];" (assignment_expression "uVar10 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = param_1[2];" (assignment_expression "iVar7 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "lVar13 = *(longlong *)(param_1 + 0xd);" (assignment_expression "lVar13 = *(longlong *)(param_1 + 0xd)" identifier = (pointer_expression "*(longlong *)(param_1 + 0xd)" * (cast_expression "(longlong *)(param_1 + 0xd)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd)" ( (binary_expression "param_1 + 0xd" identifier + number_literal) ))))) ;) })) (expression_statement "uVar5 = (uint)lVar13 + 0x3c;" (assignment_expression "uVar5 = (uint)lVar13 + 0x3c" identifier = (binary_expression "(uint)lVar13 + 0x3c" (cast_expression "(uint)lVar13" ( (type_descriptor "uint" type_identifier) ) identifier) + number_literal)) ;) (expression_statement "uVar6 = uVar5 + uVar10;" (assignment_expression "uVar6 = uVar5 + uVar10" identifier = (binary_expression "uVar5 + uVar10" identifier + identifier)) ;) (expression_statement "iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);" (assignment_expression "iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10)" identifier = (binary_expression "(int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10)" (binary_expression "(int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7" (binary_expression "(int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13)" (cast_expression "(int)((ulonglong)lVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar13 >> 0x20)" ( (binary_expression "(ulonglong)lVar13 >> 0x20" (cast_expression "(ulonglong)lVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) + (call_expression "(uint)(0xffffffc3 < (uint)lVar13)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xffffffc3 < (uint)lVar13)" ( (binary_expression "0xffffffc3 < (uint)lVar13" number_literal < (cast_expression "(uint)lVar13" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) + identifier) + (cast_expression "(uint)CARRY4(uVar5,uVar10)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar5,uVar10)" identifier (argument_list "(uVar5,uVar10)" ( identifier , identifier )))))) ;) (if_statement "if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }" if (parenthesized_expression "((uVar6 & 1) != 0)" ( (binary_expression "(uVar6 & 1) != 0" (parenthesized_expression "(uVar6 & 1)" ( (binary_expression "uVar6 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }" { (expression_statement "bVar12 = 0xfffffffe < uVar6;" (assignment_expression "bVar12 = 0xfffffffe < uVar6" identifier = (binary_expression "0xfffffffe < uVar6" number_literal < identifier)) ;) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = iVar11 + (uint)bVar12;" (assignment_expression "iVar11 = iVar11 + (uint)bVar12" identifier = (binary_expression "iVar11 + (uint)bVar12" identifier + (cast_expression "(uint)bVar12" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) (expression_statement "param_1[1] = uVar6;" (assignment_expression "param_1[1] = uVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = iVar11;" (assignment_expression "param_1[2] = iVar11" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;" if (parenthesized_expression "((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))" ( (binary_expression "(int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" (cast_expression "(int)(uint)(0x3b < uVar1 - uVar6)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(0x3b < uVar1 - uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x3b < uVar1 - uVar6)" ( (binary_expression "0x3b < uVar1 - uVar6" number_literal < (binary_expression "uVar1 - uVar6" identifier - identifier)) )))) <= (cast_expression "(int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" ( (type_descriptor "int" primitive_type) ) (unary_expression "-((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" - (parenthesized_expression "((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" ( (binary_expression "(iVar2 - iVar11) - (uint)(uVar1 < uVar6)" (parenthesized_expression "(iVar2 - iVar11)" ( (binary_expression "iVar2 - iVar11" identifier - identifier) )) - (call_expression "(uint)(uVar1 < uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < uVar6)" ( (binary_expression "uVar1 < uVar6" identifier < identifier) )))) ))))) )) (goto_statement "goto LAB_00194920;" goto statement_identifier ;)) (expression_statement "iVar7 = *(int *)(*param_1 + 0x24);" (assignment_expression "iVar7 = *(int *)(*param_1 + 0x24)" identifier = (pointer_expression "*(int *)(*param_1 + 0x24)" * (cast_expression "(int *)(*param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x24)" ( (binary_expression "*param_1 + 0x24" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) })) }) (else_clause "else {\nLAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }\n  }" else (compound_statement "{\nLAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }\n  }" { (labeled_statement "LAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }" statement_identifier : (if_statement "if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }" if (parenthesized_expression "(iVar2 != iVar11 || uVar1 != uVar6)" ( (binary_expression "iVar2 != iVar11 || uVar1 != uVar6" (binary_expression "iVar2 != iVar11" identifier != identifier) || (binary_expression "uVar1 != uVar6" identifier != identifier)) )) (compound_statement "{\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }" { (expression_statement "piVar3 = (int *)*param_1;" (assignment_expression "piVar3 = (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 (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }" if (parenthesized_expression "(*(code **)(*piVar3 + 8) == FUN_00197b50)" ( (binary_expression "*(code **)(*piVar3 + 8) == FUN_00197b50" (pointer_expression "*(code **)(*piVar3 + 8)" * (cast_expression "(code **)(*piVar3 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 8)" ( (binary_expression "*piVar3 + 8" (pointer_expression "*piVar3" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }" { (expression_statement "puVar8 = (undefined4 *)(piVar3[9] + 0x1c);" (assignment_expression "puVar8 = (undefined4 *)(piVar3[9] + 0x1c)" identifier = (cast_expression "(undefined4 *)(piVar3[9] + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3[9] + 0x1c)" ( (binary_expression "piVar3[9] + 0x1c" (subscript_expression "piVar3[9]" identifier [ number_literal ]) + number_literal) )))) ;) }) (else_clause "else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }" else (compound_statement "{\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }" { (expression_statement "puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);" (assignment_expression "puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3)" identifier = (cast_expression "(undefined4 *)(**(code **)(*piVar3 + 8))(piVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(*piVar3 + 8))(piVar3)" (parenthesized_expression "(**(code **)(*piVar3 + 8))" ( (pointer_expression "**(code **)(*piVar3 + 8)" * (pointer_expression "*(code **)(*piVar3 + 8)" * (cast_expression "(code **)(*piVar3 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 8)" ( (binary_expression "*piVar3 + 8" (pointer_expression "*piVar3" * identifier) + number_literal) ))))) )) (argument_list "(piVar3)" ( identifier ))))) ;) }))) (expression_statement "uVar4 = *puVar8;" (assignment_expression "uVar4 = *puVar8" identifier = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "uVar9 = gettext("%s: short archive header at %zu");" (assignment_expression "uVar9 = gettext("%s: short archive header at %zu")" identifier = (call_expression "gettext("%s: short archive header at %zu")" identifier (argument_list "("%s: short archive header at %zu")" ( (string_literal ""%s: short archive header at %zu"" " string_content ") )))) ;) (expression_statement "FUN_000654b0(uVar9,uVar4,uVar6);" (call_expression "FUN_000654b0(uVar9,uVar4,uVar6)" identifier (argument_list "(uVar9,uVar4,uVar6)" ( identifier , identifier , identifier ))) ;) (expression_statement "param_1[1] = uVar1;" (assignment_expression "param_1[1] = uVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = iVar2;" (assignment_expression "param_1[2] = iVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) }))) }))) (expression_statement "param_1[9] = uVar1;" (assignment_expression "param_1[9] = uVar1" (subscript_expression "param_1[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[10] = iVar2;" (assignment_expression "param_1[10] = iVar2" (subscript_expression "param_1[10]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original prototype: void read_next_header(const_iterator * this) */\n\nvoid __thiscall gold::Archive::const_iterator::read_next_header(const_iterator *this)\n\n{\n  Header *pname;\n  uint uVar1;\n  void *pvVar2;\n  size_type sVar3;\n  Archive *pAVar4;\n  _func_int_varargs *p_Var5;\n  pointer pcVar6;\n  uint uVar7;\n  uint __fd;\n  int iVar8;\n  char *format;\n  File_read *pFVar9;\n  uint uVar10;\n  Input_file *pIVar11;\n  void *__buf;\n  bool bVar12;\n  off_t oVar13;\n  uchar buf [60];\n  \n  pIVar11 = this->archive_->input_file_;\n  uVar1 = (uint)(pIVar11->file_).size_;\n  pvVar2 = *(void **)((int)&(pIVar11->file_).size_ + 4);\n  __fd = (uint)this->off_;\n  __buf = *(void **)((int)&this->off_ + 4);\n  if ((int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf)) < (int)(uint)(0x3b < uVar1 - __fd))\n  {\n    pname = &this->header_;\n    while( true ) {\n      File_read::read(&pIVar11->file_,__fd,__buf,0x3c);\n      oVar13 = interpret_header(this->archive_,(Archive_header *)buf,this->off_,&pname->name,\n                                &(this->header_).nested_off);\n      if (oVar13 == -1) break;\n      uVar10 = (uint)this->off_;\n      iVar8 = *(int *)((int)&this->off_ + 4);\n      sVar3 = (this->header_).name._M_string_length;\n      (this->header_).size = oVar13;\n      *(uint *)&(this->header_).off = uVar10;\n      *(int *)((int)&(this->header_).off + 4) = iVar8;\n      if (sVar3 != 0) {\n        iVar8 = std::string::compare((string *)pname,"/");\n        if (iVar8 != 0) {\n          iVar8 = std::string::compare((string *)pname,"/SYM64/");\n          if (iVar8 != 0) {\n            return;\n          }\n        }\n        uVar10 = (uint)this->off_;\n        iVar8 = *(int *)((int)&this->off_ + 4);\n        oVar13 = (this->header_).size;\n      }\n      uVar7 = (uint)oVar13 + 0x3c;\n      __fd = uVar7 + uVar10;\n      __buf = (void *)((int)((ulonglong)oVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)oVar13) + iVar8\n                      + (uint)CARRY4(uVar7,uVar10));\n      if ((__fd & 1) != 0) {\n        bVar12 = 0xfffffffe < __fd;\n        __fd = __fd + 1;\n        __buf = (void *)((int)__buf + (uint)bVar12);\n      }\n      *(uint *)&this->off_ = __fd;\n      *(void **)((int)&this->off_ + 4) = __buf;\n      if ((int)(uint)(0x3b < uVar1 - __fd) <=\n          (int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf))) goto LAB_00194920;\n      pIVar11 = this->archive_->input_file_;\n    }\n  }\n  else {\nLAB_00194920:\n    if (pvVar2 != __buf || uVar1 != __fd) {\n      pAVar4 = this->archive_;\n      p_Var5 = (pAVar4->super_Library_base)._vptr_Library_base[2];\n      if (p_Var5 == do_filename) {\n        pFVar9 = &pAVar4->input_file_->file_;\n      }\n      else {\n        pFVar9 = (File_read *)(*p_Var5)(pAVar4);\n      }\n      pcVar6 = (pFVar9->name_)._M_dataplus._M_p;\n      format = (char *)gettext("%s: short archive header at %zu");\n      gold_error(format,pcVar6,__fd);\n      *(uint *)&this->off_ = uVar1;\n      *(void **)((int)&this->off_ + 4) = pvVar2;\n    }\n  }\n  *(uint *)&(this->header_).off = uVar1;\n  *(void **)((int)&(this->header_).off + 4) = pvVar2;\n  return;\n}\n\n" comment comment (function_definition "void __thiscall gold::Archive::const_iterator::read_next_header(const_iterator *this)\n\n{\n  Header *pname;\n  uint uVar1;\n  void *pvVar2;\n  size_type sVar3;\n  Archive *pAVar4;\n  _func_int_varargs *p_Var5;\n  pointer pcVar6;\n  uint uVar7;\n  uint __fd;\n  int iVar8;\n  char *format;\n  File_read *pFVar9;\n  uint uVar10;\n  Input_file *pIVar11;\n  void *__buf;\n  bool bVar12;\n  off_t oVar13;\n  uchar buf [60];\n  \n  pIVar11 = this->archive_->input_file_;\n  uVar1 = (uint)(pIVar11->file_).size_;\n  pvVar2 = *(void **)((int)&(pIVar11->file_).size_ + 4);\n  __fd = (uint)this->off_;\n  __buf = *(void **)((int)&this->off_ + 4);\n  if ((int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf)) < (int)(uint)(0x3b < uVar1 - __fd))\n  {\n    pname = &this->header_;\n    while( true ) {\n      File_read::read(&pIVar11->file_,__fd,__buf,0x3c);\n      oVar13 = interpret_header(this->archive_,(Archive_header *)buf,this->off_,&pname->name,\n                                &(this->header_).nested_off);\n      if (oVar13 == -1) break;\n      uVar10 = (uint)this->off_;\n      iVar8 = *(int *)((int)&this->off_ + 4);\n      sVar3 = (this->header_).name._M_string_length;\n      (this->header_).size = oVar13;\n      *(uint *)&(this->header_).off = uVar10;\n      *(int *)((int)&(this->header_).off + 4) = iVar8;\n      if (sVar3 != 0) {\n        iVar8 = std::string::compare((string *)pname,"/");\n        if (iVar8 != 0) {\n          iVar8 = std::string::compare((string *)pname,"/SYM64/");\n          if (iVar8 != 0) {\n            return;\n          }\n        }\n        uVar10 = (uint)this->off_;\n        iVar8 = *(int *)((int)&this->off_ + 4);\n        oVar13 = (this->header_).size;\n      }\n      uVar7 = (uint)oVar13 + 0x3c;\n      __fd = uVar7 + uVar10;\n      __buf = (void *)((int)((ulonglong)oVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)oVar13) + iVar8\n                      + (uint)CARRY4(uVar7,uVar10));\n      if ((__fd & 1) != 0) {\n        bVar12 = 0xfffffffe < __fd;\n        __fd = __fd + 1;\n        __buf = (void *)((int)__buf + (uint)bVar12);\n      }\n      *(uint *)&this->off_ = __fd;\n      *(void **)((int)&this->off_ + 4) = __buf;\n      if ((int)(uint)(0x3b < uVar1 - __fd) <=\n          (int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf))) goto LAB_00194920;\n      pIVar11 = this->archive_->input_file_;\n    }\n  }\n  else {\nLAB_00194920:\n    if (pvVar2 != __buf || uVar1 != __fd) {\n      pAVar4 = this->archive_;\n      p_Var5 = (pAVar4->super_Library_base)._vptr_Library_base[2];\n      if (p_Var5 == do_filename) {\n        pFVar9 = &pAVar4->input_file_->file_;\n      }\n      else {\n        pFVar9 = (File_read *)(*p_Var5)(pAVar4);\n      }\n      pcVar6 = (pFVar9->name_)._M_dataplus._M_p;\n      format = (char *)gettext("%s: short archive header at %zu");\n      gold_error(format,pcVar6,__fd);\n      *(uint *)&this->off_ = uVar1;\n      *(void **)((int)&this->off_ + 4) = pvVar2;\n    }\n  }\n  *(uint *)&(this->header_).off = uVar1;\n  *(void **)((int)&(this->header_).off + 4) = pvVar2;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Archive::const_iterator::" identifier : : identifier : : identifier : :) (function_declarator "read_next_header(const_iterator *this)" identifier (parameter_list "(const_iterator *this)" ( (parameter_declaration "const_iterator *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  Header *pname;\n  uint uVar1;\n  void *pvVar2;\n  size_type sVar3;\n  Archive *pAVar4;\n  _func_int_varargs *p_Var5;\n  pointer pcVar6;\n  uint uVar7;\n  uint __fd;\n  int iVar8;\n  char *format;\n  File_read *pFVar9;\n  uint uVar10;\n  Input_file *pIVar11;\n  void *__buf;\n  bool bVar12;\n  off_t oVar13;\n  uchar buf [60];\n  \n  pIVar11 = this->archive_->input_file_;\n  uVar1 = (uint)(pIVar11->file_).size_;\n  pvVar2 = *(void **)((int)&(pIVar11->file_).size_ + 4);\n  __fd = (uint)this->off_;\n  __buf = *(void **)((int)&this->off_ + 4);\n  if ((int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf)) < (int)(uint)(0x3b < uVar1 - __fd))\n  {\n    pname = &this->header_;\n    while( true ) {\n      File_read::read(&pIVar11->file_,__fd,__buf,0x3c);\n      oVar13 = interpret_header(this->archive_,(Archive_header *)buf,this->off_,&pname->name,\n                                &(this->header_).nested_off);\n      if (oVar13 == -1) break;\n      uVar10 = (uint)this->off_;\n      iVar8 = *(int *)((int)&this->off_ + 4);\n      sVar3 = (this->header_).name._M_string_length;\n      (this->header_).size = oVar13;\n      *(uint *)&(this->header_).off = uVar10;\n      *(int *)((int)&(this->header_).off + 4) = iVar8;\n      if (sVar3 != 0) {\n        iVar8 = std::string::compare((string *)pname,"/");\n        if (iVar8 != 0) {\n          iVar8 = std::string::compare((string *)pname,"/SYM64/");\n          if (iVar8 != 0) {\n            return;\n          }\n        }\n        uVar10 = (uint)this->off_;\n        iVar8 = *(int *)((int)&this->off_ + 4);\n        oVar13 = (this->header_).size;\n      }\n      uVar7 = (uint)oVar13 + 0x3c;\n      __fd = uVar7 + uVar10;\n      __buf = (void *)((int)((ulonglong)oVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)oVar13) + iVar8\n                      + (uint)CARRY4(uVar7,uVar10));\n      if ((__fd & 1) != 0) {\n        bVar12 = 0xfffffffe < __fd;\n        __fd = __fd + 1;\n        __buf = (void *)((int)__buf + (uint)bVar12);\n      }\n      *(uint *)&this->off_ = __fd;\n      *(void **)((int)&this->off_ + 4) = __buf;\n      if ((int)(uint)(0x3b < uVar1 - __fd) <=\n          (int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf))) goto LAB_00194920;\n      pIVar11 = this->archive_->input_file_;\n    }\n  }\n  else {\nLAB_00194920:\n    if (pvVar2 != __buf || uVar1 != __fd) {\n      pAVar4 = this->archive_;\n      p_Var5 = (pAVar4->super_Library_base)._vptr_Library_base[2];\n      if (p_Var5 == do_filename) {\n        pFVar9 = &pAVar4->input_file_->file_;\n      }\n      else {\n        pFVar9 = (File_read *)(*p_Var5)(pAVar4);\n      }\n      pcVar6 = (pFVar9->name_)._M_dataplus._M_p;\n      format = (char *)gettext("%s: short archive header at %zu");\n      gold_error(format,pcVar6,__fd);\n      *(uint *)&this->off_ = uVar1;\n      *(void **)((int)&this->off_ + 4) = pvVar2;\n    }\n  }\n  *(uint *)&(this->header_).off = uVar1;\n  *(void **)((int)&(this->header_).off + 4) = pvVar2;\n  return;\n}" { (declaration "Header *pname;" type_identifier (pointer_declarator "*pname" * identifier) ;) (declaration "uint uVar1;" type_identifier identifier ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "size_type sVar3;" type_identifier identifier ;) (declaration "Archive *pAVar4;" type_identifier (pointer_declarator "*pAVar4" * identifier) ;) (declaration "_func_int_varargs *p_Var5;" type_identifier (pointer_declarator "*p_Var5" * identifier) ;) (declaration "pointer pcVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint __fd;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "File_read *pFVar9;" type_identifier (pointer_declarator "*pFVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "Input_file *pIVar11;" type_identifier (pointer_declarator "*pIVar11" * identifier) ;) (declaration "void *__buf;" primitive_type (pointer_declarator "*__buf" * identifier) ;) (declaration "bool bVar12;" primitive_type identifier ;) (declaration "off_t oVar13;" type_identifier identifier ;) (declaration "uchar buf [60];" type_identifier (array_declarator "buf [60]" identifier [ number_literal ]) ;) (expression_statement "pIVar11 = this->archive_->input_file_;" (assignment_expression "pIVar11 = this->archive_->input_file_" identifier = (field_expression "this->archive_->input_file_" (field_expression "this->archive_" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "uVar1 = (uint)(pIVar11->file_).size_;" (assignment_expression "uVar1 = (uint)(pIVar11->file_).size_" identifier = (field_expression "(uint)(pIVar11->file_).size_" (call_expression "(uint)(pIVar11->file_)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pIVar11->file_)" ( (field_expression "pIVar11->file_" identifier -> field_identifier) ))) . field_identifier)) ;) (expression_statement "pvVar2 = *(void **)((int)&(pIVar11->file_).size_ + 4);" (assignment_expression "pvVar2 = *(void **)((int)&(pIVar11->file_).size_ + 4)" identifier = (pointer_expression "*(void **)((int)&(pIVar11->file_).size_ + 4)" * (cast_expression "(void **)((int)&(pIVar11->file_).size_ + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&(pIVar11->file_).size_ + 4)" ( (binary_expression "(int)&(pIVar11->file_).size_ + 4" (cast_expression "(int)&(pIVar11->file_).size_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(pIVar11->file_).size_" & (field_expression "(pIVar11->file_).size_" (parenthesized_expression "(pIVar11->file_)" ( (field_expression "pIVar11->file_" identifier -> field_identifier) )) . field_identifier))) + number_literal) ))))) ;) (expression_statement "__fd = (uint)this->off_;" (assignment_expression "__fd = (uint)this->off_" identifier = (cast_expression "(uint)this->off_" ( (type_descriptor "uint" type_identifier) ) (field_expression "this->off_" identifier -> field_identifier))) ;) (expression_statement "__buf = *(void **)((int)&this->off_ + 4);" (assignment_expression "__buf = *(void **)((int)&this->off_ + 4)" identifier = (pointer_expression "*(void **)((int)&this->off_ + 4)" * (cast_expression "(void **)((int)&this->off_ + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&this->off_ + 4)" ( (binary_expression "(int)&this->off_ + 4" (cast_expression "(int)&this->off_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->off_" & (field_expression "this->off_" identifier -> field_identifier))) + number_literal) ))))) ;) (if_statement "if ((int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf)) < (int)(uint)(0x3b < uVar1 - __fd))\n  {\n    pname = &this->header_;\n    while( true ) {\n      File_read::read(&pIVar11->file_,__fd,__buf,0x3c);\n      oVar13 = interpret_header(this->archive_,(Archive_header *)buf,this->off_,&pname->name,\n                                &(this->header_).nested_off);\n      if (oVar13 == -1) break;\n      uVar10 = (uint)this->off_;\n      iVar8 = *(int *)((int)&this->off_ + 4);\n      sVar3 = (this->header_).name._M_string_length;\n      (this->header_).size = oVar13;\n      *(uint *)&(this->header_).off = uVar10;\n      *(int *)((int)&(this->header_).off + 4) = iVar8;\n      if (sVar3 != 0) {\n        iVar8 = std::string::compare((string *)pname,"/");\n        if (iVar8 != 0) {\n          iVar8 = std::string::compare((string *)pname,"/SYM64/");\n          if (iVar8 != 0) {\n            return;\n          }\n        }\n        uVar10 = (uint)this->off_;\n        iVar8 = *(int *)((int)&this->off_ + 4);\n        oVar13 = (this->header_).size;\n      }\n      uVar7 = (uint)oVar13 + 0x3c;\n      __fd = uVar7 + uVar10;\n      __buf = (void *)((int)((ulonglong)oVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)oVar13) + iVar8\n                      + (uint)CARRY4(uVar7,uVar10));\n      if ((__fd & 1) != 0) {\n        bVar12 = 0xfffffffe < __fd;\n        __fd = __fd + 1;\n        __buf = (void *)((int)__buf + (uint)bVar12);\n      }\n      *(uint *)&this->off_ = __fd;\n      *(void **)((int)&this->off_ + 4) = __buf;\n      if ((int)(uint)(0x3b < uVar1 - __fd) <=\n          (int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf))) goto LAB_00194920;\n      pIVar11 = this->archive_->input_file_;\n    }\n  }\n  else {\nLAB_00194920:\n    if (pvVar2 != __buf || uVar1 != __fd) {\n      pAVar4 = this->archive_;\n      p_Var5 = (pAVar4->super_Library_base)._vptr_Library_base[2];\n      if (p_Var5 == do_filename) {\n        pFVar9 = &pAVar4->input_file_->file_;\n      }\n      else {\n        pFVar9 = (File_read *)(*p_Var5)(pAVar4);\n      }\n      pcVar6 = (pFVar9->name_)._M_dataplus._M_p;\n      format = (char *)gettext("%s: short archive header at %zu");\n      gold_error(format,pcVar6,__fd);\n      *(uint *)&this->off_ = uVar1;\n      *(void **)((int)&this->off_ + 4) = pvVar2;\n    }\n  }" if (parenthesized_expression "((int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf)) < (int)(uint)(0x3b < uVar1 - __fd))" ( (binary_expression "(int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf)) < (int)(uint)(0x3b < uVar1 - __fd)" (cast_expression "(int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf))" ( (type_descriptor "int" primitive_type) ) (unary_expression "-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf))" - (parenthesized_expression "((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf))" ( (binary_expression "(int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf)" (cast_expression "(int)pvVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-(uint)(uVar1 < __fd) - (int)__buf)" ( (binary_expression "-(uint)(uVar1 < __fd) - (int)__buf" (unary_expression "-(uint)(uVar1 < __fd)" - (call_expression "(uint)(uVar1 < __fd)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < __fd)" ( (binary_expression "uVar1 < __fd" identifier < identifier) )))) - (cast_expression "(int)__buf" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )))) < (cast_expression "(int)(uint)(0x3b < uVar1 - __fd)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(0x3b < uVar1 - __fd)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x3b < uVar1 - __fd)" ( (binary_expression "0x3b < uVar1 - __fd" number_literal < (binary_expression "uVar1 - __fd" identifier - identifier)) ))))) )) (compound_statement "{\n    pname = &this->header_;\n    while( true ) {\n      File_read::read(&pIVar11->file_,__fd,__buf,0x3c);\n      oVar13 = interpret_header(this->archive_,(Archive_header *)buf,this->off_,&pname->name,\n                                &(this->header_).nested_off);\n      if (oVar13 == -1) break;\n      uVar10 = (uint)this->off_;\n      iVar8 = *(int *)((int)&this->off_ + 4);\n      sVar3 = (this->header_).name._M_string_length;\n      (this->header_).size = oVar13;\n      *(uint *)&(this->header_).off = uVar10;\n      *(int *)((int)&(this->header_).off + 4) = iVar8;\n      if (sVar3 != 0) {\n        iVar8 = std::string::compare((string *)pname,"/");\n        if (iVar8 != 0) {\n          iVar8 = std::string::compare((string *)pname,"/SYM64/");\n          if (iVar8 != 0) {\n            return;\n          }\n        }\n        uVar10 = (uint)this->off_;\n        iVar8 = *(int *)((int)&this->off_ + 4);\n        oVar13 = (this->header_).size;\n      }\n      uVar7 = (uint)oVar13 + 0x3c;\n      __fd = uVar7 + uVar10;\n      __buf = (void *)((int)((ulonglong)oVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)oVar13) + iVar8\n                      + (uint)CARRY4(uVar7,uVar10));\n      if ((__fd & 1) != 0) {\n        bVar12 = 0xfffffffe < __fd;\n        __fd = __fd + 1;\n        __buf = (void *)((int)__buf + (uint)bVar12);\n      }\n      *(uint *)&this->off_ = __fd;\n      *(void **)((int)&this->off_ + 4) = __buf;\n      if ((int)(uint)(0x3b < uVar1 - __fd) <=\n          (int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf))) goto LAB_00194920;\n      pIVar11 = this->archive_->input_file_;\n    }\n  }" { (expression_statement "pname = &this->header_;" (assignment_expression "pname = &this->header_" identifier = (pointer_expression "&this->header_" & (field_expression "this->header_" identifier -> field_identifier))) ;) (while_statement "while( true ) {\n      File_read::read(&pIVar11->file_,__fd,__buf,0x3c);\n      oVar13 = interpret_header(this->archive_,(Archive_header *)buf,this->off_,&pname->name,\n                                &(this->header_).nested_off);\n      if (oVar13 == -1) break;\n      uVar10 = (uint)this->off_;\n      iVar8 = *(int *)((int)&this->off_ + 4);\n      sVar3 = (this->header_).name._M_string_length;\n      (this->header_).size = oVar13;\n      *(uint *)&(this->header_).off = uVar10;\n      *(int *)((int)&(this->header_).off + 4) = iVar8;\n      if (sVar3 != 0) {\n        iVar8 = std::string::compare((string *)pname,"/");\n        if (iVar8 != 0) {\n          iVar8 = std::string::compare((string *)pname,"/SYM64/");\n          if (iVar8 != 0) {\n            return;\n          }\n        }\n        uVar10 = (uint)this->off_;\n        iVar8 = *(int *)((int)&this->off_ + 4);\n        oVar13 = (this->header_).size;\n      }\n      uVar7 = (uint)oVar13 + 0x3c;\n      __fd = uVar7 + uVar10;\n      __buf = (void *)((int)((ulonglong)oVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)oVar13) + iVar8\n                      + (uint)CARRY4(uVar7,uVar10));\n      if ((__fd & 1) != 0) {\n        bVar12 = 0xfffffffe < __fd;\n        __fd = __fd + 1;\n        __buf = (void *)((int)__buf + (uint)bVar12);\n      }\n      *(uint *)&this->off_ = __fd;\n      *(void **)((int)&this->off_ + 4) = __buf;\n      if ((int)(uint)(0x3b < uVar1 - __fd) <=\n          (int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf))) goto LAB_00194920;\n      pIVar11 = this->archive_->input_file_;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      File_read::read(&pIVar11->file_,__fd,__buf,0x3c);\n      oVar13 = interpret_header(this->archive_,(Archive_header *)buf,this->off_,&pname->name,\n                                &(this->header_).nested_off);\n      if (oVar13 == -1) break;\n      uVar10 = (uint)this->off_;\n      iVar8 = *(int *)((int)&this->off_ + 4);\n      sVar3 = (this->header_).name._M_string_length;\n      (this->header_).size = oVar13;\n      *(uint *)&(this->header_).off = uVar10;\n      *(int *)((int)&(this->header_).off + 4) = iVar8;\n      if (sVar3 != 0) {\n        iVar8 = std::string::compare((string *)pname,"/");\n        if (iVar8 != 0) {\n          iVar8 = std::string::compare((string *)pname,"/SYM64/");\n          if (iVar8 != 0) {\n            return;\n          }\n        }\n        uVar10 = (uint)this->off_;\n        iVar8 = *(int *)((int)&this->off_ + 4);\n        oVar13 = (this->header_).size;\n      }\n      uVar7 = (uint)oVar13 + 0x3c;\n      __fd = uVar7 + uVar10;\n      __buf = (void *)((int)((ulonglong)oVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)oVar13) + iVar8\n                      + (uint)CARRY4(uVar7,uVar10));\n      if ((__fd & 1) != 0) {\n        bVar12 = 0xfffffffe < __fd;\n        __fd = __fd + 1;\n        __buf = (void *)((int)__buf + (uint)bVar12);\n      }\n      *(uint *)&this->off_ = __fd;\n      *(void **)((int)&this->off_ + 4) = __buf;\n      if ((int)(uint)(0x3b < uVar1 - __fd) <=\n          (int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf))) goto LAB_00194920;\n      pIVar11 = this->archive_->input_file_;\n    }" { (labeled_statement "File_read::read(&pIVar11->file_,__fd,__buf,0x3c);" statement_identifier : (ERROR ":" :) (expression_statement "read(&pIVar11->file_,__fd,__buf,0x3c);" (call_expression "read(&pIVar11->file_,__fd,__buf,0x3c)" identifier (argument_list "(&pIVar11->file_,__fd,__buf,0x3c)" ( (pointer_expression "&pIVar11->file_" & (field_expression "pIVar11->file_" identifier -> field_identifier)) , identifier , identifier , number_literal ))) ;)) (expression_statement "oVar13 = interpret_header(this->archive_,(Archive_header *)buf,this->off_,&pname->name,\n                                &(this->header_).nested_off);" (assignment_expression "oVar13 = interpret_header(this->archive_,(Archive_header *)buf,this->off_,&pname->name,\n                                &(this->header_).nested_off)" identifier = (call_expression "interpret_header(this->archive_,(Archive_header *)buf,this->off_,&pname->name,\n                                &(this->header_).nested_off)" identifier (argument_list "(this->archive_,(Archive_header *)buf,this->off_,&pname->name,\n                                &(this->header_).nested_off)" ( (field_expression "this->archive_" identifier -> field_identifier) , (cast_expression "(Archive_header *)buf" ( (type_descriptor "Archive_header *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (field_expression "this->off_" identifier -> field_identifier) , (pointer_expression "&pname->name" & (field_expression "pname->name" identifier -> field_identifier)) , (pointer_expression "&(this->header_).nested_off" & (field_expression "(this->header_).nested_off" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier)) )))) ;) (if_statement "if (oVar13 == -1) break;" if (parenthesized_expression "(oVar13 == -1)" ( (binary_expression "oVar13 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar10 = (uint)this->off_;" (assignment_expression "uVar10 = (uint)this->off_" identifier = (cast_expression "(uint)this->off_" ( (type_descriptor "uint" type_identifier) ) (field_expression "this->off_" identifier -> field_identifier))) ;) (expression_statement "iVar8 = *(int *)((int)&this->off_ + 4);" (assignment_expression "iVar8 = *(int *)((int)&this->off_ + 4)" identifier = (pointer_expression "*(int *)((int)&this->off_ + 4)" * (cast_expression "(int *)((int)&this->off_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->off_ + 4)" ( (binary_expression "(int)&this->off_ + 4" (cast_expression "(int)&this->off_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->off_" & (field_expression "this->off_" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "sVar3 = (this->header_).name._M_string_length;" (assignment_expression "sVar3 = (this->header_).name._M_string_length" identifier = (field_expression "(this->header_).name._M_string_length" (field_expression "(this->header_).name" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "(this->header_).size = oVar13;" (assignment_expression "(this->header_).size = oVar13" (field_expression "(this->header_).size" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "*(uint *)&(this->header_).off = uVar10;" (assignment_expression "*(uint *)&(this->header_).off = uVar10" (pointer_expression "*(uint *)&(this->header_).off" * (cast_expression "(uint *)&(this->header_).off" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(this->header_).off" & (field_expression "(this->header_).off" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier)))) = identifier) ;) (expression_statement "*(int *)((int)&(this->header_).off + 4) = iVar8;" (assignment_expression "*(int *)((int)&(this->header_).off + 4) = iVar8" (pointer_expression "*(int *)((int)&(this->header_).off + 4)" * (cast_expression "(int *)((int)&(this->header_).off + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(this->header_).off + 4)" ( (binary_expression "(int)&(this->header_).off + 4" (cast_expression "(int)&(this->header_).off" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(this->header_).off" & (field_expression "(this->header_).off" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = identifier) ;) (if_statement "if (sVar3 != 0) {\n        iVar8 = std::string::compare((string *)pname,"/");\n        if (iVar8 != 0) {\n          iVar8 = std::string::compare((string *)pname,"/SYM64/");\n          if (iVar8 != 0) {\n            return;\n          }\n        }\n        uVar10 = (uint)this->off_;\n        iVar8 = *(int *)((int)&this->off_ + 4);\n        oVar13 = (this->header_).size;\n      }" if (parenthesized_expression "(sVar3 != 0)" ( (binary_expression "sVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar8 = std::string::compare((string *)pname,"/");\n        if (iVar8 != 0) {\n          iVar8 = std::string::compare((string *)pname,"/SYM64/");\n          if (iVar8 != 0) {\n            return;\n          }\n        }\n        uVar10 = (uint)this->off_;\n        iVar8 = *(int *)((int)&this->off_ + 4);\n        oVar13 = (this->header_).size;\n      }" { (ERROR "iVar8 = std::" (assignment_expression "iVar8 = std" identifier = identifier) : :) (labeled_statement "string::compare((string *)pname,"/");" statement_identifier : (ERROR ":" :) (expression_statement "compare((string *)pname,"/");" (call_expression "compare((string *)pname,"/")" identifier (argument_list "((string *)pname,"/")" ( (cast_expression "(string *)pname" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""/"" " string_content ") ))) ;)) (if_statement "if (iVar8 != 0) {\n          iVar8 = std::string::compare((string *)pname,"/SYM64/");\n          if (iVar8 != 0) {\n            return;\n          }\n        }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar8 = std::string::compare((string *)pname,"/SYM64/");\n          if (iVar8 != 0) {\n            return;\n          }\n        }" { (ERROR "iVar8 = std::" (assignment_expression "iVar8 = std" identifier = identifier) : :) (labeled_statement "string::compare((string *)pname,"/SYM64/");" statement_identifier : (ERROR ":" :) (expression_statement "compare((string *)pname,"/SYM64/");" (call_expression "compare((string *)pname,"/SYM64/")" identifier (argument_list "((string *)pname,"/SYM64/")" ( (cast_expression "(string *)pname" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""/SYM64/"" " string_content ") ))) ;)) (if_statement "if (iVar8 != 0) {\n            return;\n          }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) })) (expression_statement "uVar10 = (uint)this->off_;" (assignment_expression "uVar10 = (uint)this->off_" identifier = (cast_expression "(uint)this->off_" ( (type_descriptor "uint" type_identifier) ) (field_expression "this->off_" identifier -> field_identifier))) ;) (expression_statement "iVar8 = *(int *)((int)&this->off_ + 4);" (assignment_expression "iVar8 = *(int *)((int)&this->off_ + 4)" identifier = (pointer_expression "*(int *)((int)&this->off_ + 4)" * (cast_expression "(int *)((int)&this->off_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->off_ + 4)" ( (binary_expression "(int)&this->off_ + 4" (cast_expression "(int)&this->off_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->off_" & (field_expression "this->off_" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "oVar13 = (this->header_).size;" (assignment_expression "oVar13 = (this->header_).size" identifier = (field_expression "(this->header_).size" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier)) ;) })) (expression_statement "uVar7 = (uint)oVar13 + 0x3c;" (assignment_expression "uVar7 = (uint)oVar13 + 0x3c" identifier = (binary_expression "(uint)oVar13 + 0x3c" (cast_expression "(uint)oVar13" ( (type_descriptor "uint" type_identifier) ) identifier) + number_literal)) ;) (expression_statement "__fd = uVar7 + uVar10;" (assignment_expression "__fd = uVar7 + uVar10" identifier = (binary_expression "uVar7 + uVar10" identifier + identifier)) ;) (expression_statement "__buf = (void *)((int)((ulonglong)oVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)oVar13) + iVar8\n                      + (uint)CARRY4(uVar7,uVar10));" (assignment_expression "__buf = (void *)((int)((ulonglong)oVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)oVar13) + iVar8\n                      + (uint)CARRY4(uVar7,uVar10))" identifier = (cast_expression "(void *)((int)((ulonglong)oVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)oVar13) + iVar8\n                      + (uint)CARRY4(uVar7,uVar10))" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)((ulonglong)oVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)oVar13) + iVar8\n                      + (uint)CARRY4(uVar7,uVar10))" ( (binary_expression "(int)((ulonglong)oVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)oVar13) + iVar8\n                      + (uint)CARRY4(uVar7,uVar10)" (binary_expression "(int)((ulonglong)oVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)oVar13) + iVar8" (binary_expression "(int)((ulonglong)oVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)oVar13)" (cast_expression "(int)((ulonglong)oVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)oVar13 >> 0x20)" ( (binary_expression "(ulonglong)oVar13 >> 0x20" (cast_expression "(ulonglong)oVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) + (call_expression "(uint)(0xffffffc3 < (uint)oVar13)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xffffffc3 < (uint)oVar13)" ( (binary_expression "0xffffffc3 < (uint)oVar13" number_literal < (cast_expression "(uint)oVar13" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) + identifier) + (cast_expression "(uint)CARRY4(uVar7,uVar10)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar7,uVar10)" identifier (argument_list "(uVar7,uVar10)" ( identifier , identifier ))))) )))) ;) (if_statement "if ((__fd & 1) != 0) {\n        bVar12 = 0xfffffffe < __fd;\n        __fd = __fd + 1;\n        __buf = (void *)((int)__buf + (uint)bVar12);\n      }" if (parenthesized_expression "((__fd & 1) != 0)" ( (binary_expression "(__fd & 1) != 0" (parenthesized_expression "(__fd & 1)" ( (binary_expression "__fd & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        bVar12 = 0xfffffffe < __fd;\n        __fd = __fd + 1;\n        __buf = (void *)((int)__buf + (uint)bVar12);\n      }" { (expression_statement "bVar12 = 0xfffffffe < __fd;" (assignment_expression "bVar12 = 0xfffffffe < __fd" identifier = (binary_expression "0xfffffffe < __fd" number_literal < identifier)) ;) (expression_statement "__fd = __fd + 1;" (assignment_expression "__fd = __fd + 1" identifier = (binary_expression "__fd + 1" identifier + number_literal)) ;) (expression_statement "__buf = (void *)((int)__buf + (uint)bVar12);" (assignment_expression "__buf = (void *)((int)__buf + (uint)bVar12)" identifier = (cast_expression "(void *)((int)__buf + (uint)bVar12)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__buf + (uint)bVar12)" ( (binary_expression "(int)__buf + (uint)bVar12" (cast_expression "(int)__buf" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(uint)bVar12" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) })) (expression_statement "*(uint *)&this->off_ = __fd;" (assignment_expression "*(uint *)&this->off_ = __fd" (pointer_expression "*(uint *)&this->off_" * (cast_expression "(uint *)&this->off_" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->off_" & (field_expression "this->off_" identifier -> field_identifier)))) = identifier) ;) (expression_statement "*(void **)((int)&this->off_ + 4) = __buf;" (assignment_expression "*(void **)((int)&this->off_ + 4) = __buf" (pointer_expression "*(void **)((int)&this->off_ + 4)" * (cast_expression "(void **)((int)&this->off_ + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&this->off_ + 4)" ( (binary_expression "(int)&this->off_ + 4" (cast_expression "(int)&this->off_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->off_" & (field_expression "this->off_" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (if_statement "if ((int)(uint)(0x3b < uVar1 - __fd) <=\n          (int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf))) goto LAB_00194920;" if (parenthesized_expression "((int)(uint)(0x3b < uVar1 - __fd) <=\n          (int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf)))" ( (binary_expression "(int)(uint)(0x3b < uVar1 - __fd) <=\n          (int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf))" (cast_expression "(int)(uint)(0x3b < uVar1 - __fd)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(0x3b < uVar1 - __fd)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x3b < uVar1 - __fd)" ( (binary_expression "0x3b < uVar1 - __fd" number_literal < (binary_expression "uVar1 - __fd" identifier - identifier)) )))) <= (cast_expression "(int)-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf))" ( (type_descriptor "int" primitive_type) ) (unary_expression "-((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf))" - (parenthesized_expression "((int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf))" ( (binary_expression "(int)pvVar2 + (-(uint)(uVar1 < __fd) - (int)__buf)" (cast_expression "(int)pvVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-(uint)(uVar1 < __fd) - (int)__buf)" ( (binary_expression "-(uint)(uVar1 < __fd) - (int)__buf" (unary_expression "-(uint)(uVar1 < __fd)" - (call_expression "(uint)(uVar1 < __fd)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < __fd)" ( (binary_expression "uVar1 < __fd" identifier < identifier) )))) - (cast_expression "(int)__buf" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))))) )) (goto_statement "goto LAB_00194920;" goto statement_identifier ;)) (expression_statement "pIVar11 = this->archive_->input_file_;" (assignment_expression "pIVar11 = this->archive_->input_file_" identifier = (field_expression "this->archive_->input_file_" (field_expression "this->archive_" identifier -> field_identifier) -> field_identifier)) ;) })) }) (else_clause "else {\nLAB_00194920:\n    if (pvVar2 != __buf || uVar1 != __fd) {\n      pAVar4 = this->archive_;\n      p_Var5 = (pAVar4->super_Library_base)._vptr_Library_base[2];\n      if (p_Var5 == do_filename) {\n        pFVar9 = &pAVar4->input_file_->file_;\n      }\n      else {\n        pFVar9 = (File_read *)(*p_Var5)(pAVar4);\n      }\n      pcVar6 = (pFVar9->name_)._M_dataplus._M_p;\n      format = (char *)gettext("%s: short archive header at %zu");\n      gold_error(format,pcVar6,__fd);\n      *(uint *)&this->off_ = uVar1;\n      *(void **)((int)&this->off_ + 4) = pvVar2;\n    }\n  }" else (compound_statement "{\nLAB_00194920:\n    if (pvVar2 != __buf || uVar1 != __fd) {\n      pAVar4 = this->archive_;\n      p_Var5 = (pAVar4->super_Library_base)._vptr_Library_base[2];\n      if (p_Var5 == do_filename) {\n        pFVar9 = &pAVar4->input_file_->file_;\n      }\n      else {\n        pFVar9 = (File_read *)(*p_Var5)(pAVar4);\n      }\n      pcVar6 = (pFVar9->name_)._M_dataplus._M_p;\n      format = (char *)gettext("%s: short archive header at %zu");\n      gold_error(format,pcVar6,__fd);\n      *(uint *)&this->off_ = uVar1;\n      *(void **)((int)&this->off_ + 4) = pvVar2;\n    }\n  }" { (labeled_statement "LAB_00194920:\n    if (pvVar2 != __buf || uVar1 != __fd) {\n      pAVar4 = this->archive_;\n      p_Var5 = (pAVar4->super_Library_base)._vptr_Library_base[2];\n      if (p_Var5 == do_filename) {\n        pFVar9 = &pAVar4->input_file_->file_;\n      }\n      else {\n        pFVar9 = (File_read *)(*p_Var5)(pAVar4);\n      }\n      pcVar6 = (pFVar9->name_)._M_dataplus._M_p;\n      format = (char *)gettext("%s: short archive header at %zu");\n      gold_error(format,pcVar6,__fd);\n      *(uint *)&this->off_ = uVar1;\n      *(void **)((int)&this->off_ + 4) = pvVar2;\n    }" statement_identifier : (if_statement "if (pvVar2 != __buf || uVar1 != __fd) {\n      pAVar4 = this->archive_;\n      p_Var5 = (pAVar4->super_Library_base)._vptr_Library_base[2];\n      if (p_Var5 == do_filename) {\n        pFVar9 = &pAVar4->input_file_->file_;\n      }\n      else {\n        pFVar9 = (File_read *)(*p_Var5)(pAVar4);\n      }\n      pcVar6 = (pFVar9->name_)._M_dataplus._M_p;\n      format = (char *)gettext("%s: short archive header at %zu");\n      gold_error(format,pcVar6,__fd);\n      *(uint *)&this->off_ = uVar1;\n      *(void **)((int)&this->off_ + 4) = pvVar2;\n    }" if (parenthesized_expression "(pvVar2 != __buf || uVar1 != __fd)" ( (binary_expression "pvVar2 != __buf || uVar1 != __fd" (binary_expression "pvVar2 != __buf" identifier != identifier) || (binary_expression "uVar1 != __fd" identifier != identifier)) )) (compound_statement "{\n      pAVar4 = this->archive_;\n      p_Var5 = (pAVar4->super_Library_base)._vptr_Library_base[2];\n      if (p_Var5 == do_filename) {\n        pFVar9 = &pAVar4->input_file_->file_;\n      }\n      else {\n        pFVar9 = (File_read *)(*p_Var5)(pAVar4);\n      }\n      pcVar6 = (pFVar9->name_)._M_dataplus._M_p;\n      format = (char *)gettext("%s: short archive header at %zu");\n      gold_error(format,pcVar6,__fd);\n      *(uint *)&this->off_ = uVar1;\n      *(void **)((int)&this->off_ + 4) = pvVar2;\n    }" { (expression_statement "pAVar4 = this->archive_;" (assignment_expression "pAVar4 = this->archive_" identifier = (field_expression "this->archive_" identifier -> field_identifier)) ;) (expression_statement "p_Var5 = (pAVar4->super_Library_base)._vptr_Library_base[2];" (assignment_expression "p_Var5 = (pAVar4->super_Library_base)._vptr_Library_base[2]" identifier = (subscript_expression "(pAVar4->super_Library_base)._vptr_Library_base[2]" (field_expression "(pAVar4->super_Library_base)._vptr_Library_base" (parenthesized_expression "(pAVar4->super_Library_base)" ( (field_expression "pAVar4->super_Library_base" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) ;) (if_statement "if (p_Var5 == do_filename) {\n        pFVar9 = &pAVar4->input_file_->file_;\n      }\n      else {\n        pFVar9 = (File_read *)(*p_Var5)(pAVar4);\n      }" if (parenthesized_expression "(p_Var5 == do_filename)" ( (binary_expression "p_Var5 == do_filename" identifier == identifier) )) (compound_statement "{\n        pFVar9 = &pAVar4->input_file_->file_;\n      }" { (expression_statement "pFVar9 = &pAVar4->input_file_->file_;" (assignment_expression "pFVar9 = &pAVar4->input_file_->file_" identifier = (pointer_expression "&pAVar4->input_file_->file_" & (field_expression "pAVar4->input_file_->file_" (field_expression "pAVar4->input_file_" identifier -> field_identifier) -> field_identifier))) ;) }) (else_clause "else {\n        pFVar9 = (File_read *)(*p_Var5)(pAVar4);\n      }" else (compound_statement "{\n        pFVar9 = (File_read *)(*p_Var5)(pAVar4);\n      }" { (expression_statement "pFVar9 = (File_read *)(*p_Var5)(pAVar4);" (assignment_expression "pFVar9 = (File_read *)(*p_Var5)(pAVar4)" identifier = (cast_expression "(File_read *)(*p_Var5)(pAVar4)" ( (type_descriptor "File_read *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*p_Var5)(pAVar4)" (parenthesized_expression "(*p_Var5)" ( (pointer_expression "*p_Var5" * identifier) )) (argument_list "(pAVar4)" ( identifier ))))) ;) }))) (expression_statement "pcVar6 = (pFVar9->name_)._M_dataplus._M_p;" (assignment_expression "pcVar6 = (pFVar9->name_)._M_dataplus._M_p" identifier = (field_expression "(pFVar9->name_)._M_dataplus._M_p" (field_expression "(pFVar9->name_)._M_dataplus" (parenthesized_expression "(pFVar9->name_)" ( (field_expression "pFVar9->name_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "format = (char *)gettext("%s: short archive header at %zu");" (assignment_expression "format = (char *)gettext("%s: short archive header at %zu")" identifier = (cast_expression "(char *)gettext("%s: short archive header at %zu")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("%s: short archive header at %zu")" identifier (argument_list "("%s: short archive header at %zu")" ( (string_literal ""%s: short archive header at %zu"" " string_content ") ))))) ;) (expression_statement "gold_error(format,pcVar6,__fd);" (call_expression "gold_error(format,pcVar6,__fd)" identifier (argument_list "(format,pcVar6,__fd)" ( identifier , identifier , identifier ))) ;) (expression_statement "*(uint *)&this->off_ = uVar1;" (assignment_expression "*(uint *)&this->off_ = uVar1" (pointer_expression "*(uint *)&this->off_" * (cast_expression "(uint *)&this->off_" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->off_" & (field_expression "this->off_" identifier -> field_identifier)))) = identifier) ;) (expression_statement "*(void **)((int)&this->off_ + 4) = pvVar2;" (assignment_expression "*(void **)((int)&this->off_ + 4) = pvVar2" (pointer_expression "*(void **)((int)&this->off_ + 4)" * (cast_expression "(void **)((int)&this->off_ + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&this->off_ + 4)" ( (binary_expression "(int)&this->off_ + 4" (cast_expression "(int)&this->off_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->off_" & (field_expression "this->off_" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) }))) }))) (expression_statement "*(uint *)&(this->header_).off = uVar1;" (assignment_expression "*(uint *)&(this->header_).off = uVar1" (pointer_expression "*(uint *)&(this->header_).off" * (cast_expression "(uint *)&(this->header_).off" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(this->header_).off" & (field_expression "(this->header_).off" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier)))) = identifier) ;) (expression_statement "*(void **)((int)&(this->header_).off + 4) = pvVar2;" (assignment_expression "*(void **)((int)&(this->header_).off + 4) = pvVar2" (pointer_expression "*(void **)((int)&(this->header_).off + 4)" * (cast_expression "(void **)((int)&(this->header_).off + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&(this->header_).off + 4)" ( (binary_expression "(int)&(this->header_).off + 4" (cast_expression "(int)&(this->header_).off" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(this->header_).off" & (field_expression "(this->header_).off" (parenthesized_expression "(this->header_)" ( (field_expression "this->header_" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001947a0(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  bool bVar12;\n  longlong lVar13;\n  undefined1 local_58 [72];\n  \n  iVar7 = *(int *)(*param_1 + 0x24);\n  uVar1 = *(uint *)(iVar7 + 0x40);\n  iVar2 = *(int *)(iVar7 + 0x44);\n  uVar6 = param_1[1];\n  iVar11 = param_1[2];\n  if ((int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6)) {\n    piVar3 = param_1 + 3;\n    while( true ) {\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }\n  }\n  else {\nLAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }\n  }\n  param_1[9] = uVar1;\n  param_1[10] = iVar2;\n  return;\n}\n\n" (function_definition "void FUN_001947a0(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  bool bVar12;\n  longlong lVar13;\n  undefined1 local_58 [72];\n  \n  iVar7 = *(int *)(*param_1 + 0x24);\n  uVar1 = *(uint *)(iVar7 + 0x40);\n  iVar2 = *(int *)(iVar7 + 0x44);\n  uVar6 = param_1[1];\n  iVar11 = param_1[2];\n  if ((int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6)) {\n    piVar3 = param_1 + 3;\n    while( true ) {\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }\n  }\n  else {\nLAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }\n  }\n  param_1[9] = uVar1;\n  param_1[10] = iVar2;\n  return;\n}" primitive_type (function_declarator "FUN_001947a0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  bool bVar12;\n  longlong lVar13;\n  undefined1 local_58 [72];\n  \n  iVar7 = *(int *)(*param_1 + 0x24);\n  uVar1 = *(uint *)(iVar7 + 0x40);\n  iVar2 = *(int *)(iVar7 + 0x44);\n  uVar6 = param_1[1];\n  iVar11 = param_1[2];\n  if ((int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6)) {\n    piVar3 = param_1 + 3;\n    while( true ) {\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }\n  }\n  else {\nLAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }\n  }\n  param_1[9] = uVar1;\n  param_1[10] = iVar2;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "bool bVar12;" primitive_type identifier ;) (declaration "longlong lVar13;" type_identifier identifier ;) (declaration "undefined1 local_58 [72];" type_identifier (array_declarator "local_58 [72]" identifier [ number_literal ]) ;) (expression_statement "iVar7 = *(int *)(*param_1 + 0x24);" (assignment_expression "iVar7 = *(int *)(*param_1 + 0x24)" identifier = (pointer_expression "*(int *)(*param_1 + 0x24)" * (cast_expression "(int *)(*param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x24)" ( (binary_expression "*param_1 + 0x24" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (expression_statement "uVar1 = *(uint *)(iVar7 + 0x40);" (assignment_expression "uVar1 = *(uint *)(iVar7 + 0x40)" identifier = (pointer_expression "*(uint *)(iVar7 + 0x40)" * (cast_expression "(uint *)(iVar7 + 0x40)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x40)" ( (binary_expression "iVar7 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(iVar7 + 0x44);" (assignment_expression "iVar2 = *(int *)(iVar7 + 0x44)" identifier = (pointer_expression "*(int *)(iVar7 + 0x44)" * (cast_expression "(int *)(iVar7 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x44)" ( (binary_expression "iVar7 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = param_1[1];" (assignment_expression "uVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar11 = param_1[2];" (assignment_expression "iVar11 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (if_statement "if ((int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6)) {\n    piVar3 = param_1 + 3;\n    while( true ) {\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }\n  }\n  else {\nLAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }\n  }" if (parenthesized_expression "((int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6))" ( (binary_expression "(int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6)" (cast_expression "(int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" ( (type_descriptor "int" primitive_type) ) (unary_expression "-((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" - (parenthesized_expression "((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" ( (binary_expression "(iVar2 - iVar11) - (uint)(uVar1 < uVar6)" (parenthesized_expression "(iVar2 - iVar11)" ( (binary_expression "iVar2 - iVar11" identifier - identifier) )) - (call_expression "(uint)(uVar1 < uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < uVar6)" ( (binary_expression "uVar1 < uVar6" identifier < identifier) )))) )))) < (cast_expression "(int)(uint)(0x3b < uVar1 - uVar6)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(0x3b < uVar1 - uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x3b < uVar1 - uVar6)" ( (binary_expression "0x3b < uVar1 - uVar6" number_literal < (binary_expression "uVar1 - uVar6" identifier - identifier)) ))))) )) (compound_statement "{\n    piVar3 = param_1 + 3;\n    while( true ) {\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }\n  }" { (expression_statement "piVar3 = param_1 + 3;" (assignment_expression "piVar3 = param_1 + 3" identifier = (binary_expression "param_1 + 3" identifier + number_literal)) ;) (while_statement "while( true ) {\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }" { (expression_statement "FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);" (call_expression "FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58)" identifier (argument_list "(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58)" ( (binary_expression "iVar7 + 0x1c" identifier + number_literal) , identifier , identifier , number_literal , identifier ))) ;) (expression_statement "lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);" (assignment_expression "lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb)" identifier = (call_expression "FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb)" identifier (argument_list "(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb)" ( (pointer_expression "*param_1" * identifier) , identifier , (subscript_expression "param_1[1]" identifier [ number_literal ]) , (subscript_expression "param_1[2]" identifier [ number_literal ]) , identifier , (binary_expression "param_1 + 0xb" identifier + number_literal) )))) ;) (if_statement "if (lVar13 == -1) break;" if (parenthesized_expression "(lVar13 == -1)" ( (binary_expression "lVar13 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar10 = param_1[1];" (assignment_expression "uVar10 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = param_1[2];" (assignment_expression "iVar7 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "*(longlong *)(param_1 + 0xd) = lVar13;" (assignment_expression "*(longlong *)(param_1 + 0xd) = lVar13" (pointer_expression "*(longlong *)(param_1 + 0xd)" * (cast_expression "(longlong *)(param_1 + 0xd)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd)" ( (binary_expression "param_1 + 0xd" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[9] = uVar10;" (assignment_expression "param_1[9] = uVar10" (subscript_expression "param_1[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[10] = iVar7;" (assignment_expression "param_1[10] = iVar7" (subscript_expression "param_1[10]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }" if (parenthesized_expression "(param_1[4] != 0)" ( (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }" { (expression_statement "iVar7 = FUN_001f1370(piVar3,"/");" (assignment_expression "iVar7 = FUN_001f1370(piVar3,"/")" identifier = (call_expression "FUN_001f1370(piVar3,"/")" identifier (argument_list "(piVar3,"/")" ( identifier , (string_literal ""/"" " string_content ") )))) ;) (if_statement "if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }" { (expression_statement "iVar7 = FUN_001f1370(piVar3,"/SYM64/");" (assignment_expression "iVar7 = FUN_001f1370(piVar3,"/SYM64/")" identifier = (call_expression "FUN_001f1370(piVar3,"/SYM64/")" identifier (argument_list "(piVar3,"/SYM64/")" ( identifier , (string_literal ""/SYM64/"" " string_content ") )))) ;) (if_statement "if (iVar7 != 0) {\n            return;\n          }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) })) (expression_statement "uVar10 = param_1[1];" (assignment_expression "uVar10 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = param_1[2];" (assignment_expression "iVar7 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "lVar13 = *(longlong *)(param_1 + 0xd);" (assignment_expression "lVar13 = *(longlong *)(param_1 + 0xd)" identifier = (pointer_expression "*(longlong *)(param_1 + 0xd)" * (cast_expression "(longlong *)(param_1 + 0xd)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd)" ( (binary_expression "param_1 + 0xd" identifier + number_literal) ))))) ;) })) (expression_statement "uVar5 = (uint)lVar13 + 0x3c;" (assignment_expression "uVar5 = (uint)lVar13 + 0x3c" identifier = (binary_expression "(uint)lVar13 + 0x3c" (cast_expression "(uint)lVar13" ( (type_descriptor "uint" type_identifier) ) identifier) + number_literal)) ;) (expression_statement "uVar6 = uVar5 + uVar10;" (assignment_expression "uVar6 = uVar5 + uVar10" identifier = (binary_expression "uVar5 + uVar10" identifier + identifier)) ;) (expression_statement "iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);" (assignment_expression "iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10)" identifier = (binary_expression "(int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10)" (binary_expression "(int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7" (binary_expression "(int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13)" (cast_expression "(int)((ulonglong)lVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar13 >> 0x20)" ( (binary_expression "(ulonglong)lVar13 >> 0x20" (cast_expression "(ulonglong)lVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) + (call_expression "(uint)(0xffffffc3 < (uint)lVar13)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xffffffc3 < (uint)lVar13)" ( (binary_expression "0xffffffc3 < (uint)lVar13" number_literal < (cast_expression "(uint)lVar13" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) + identifier) + (cast_expression "(uint)CARRY4(uVar5,uVar10)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar5,uVar10)" identifier (argument_list "(uVar5,uVar10)" ( identifier , identifier )))))) ;) (if_statement "if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }" if (parenthesized_expression "((uVar6 & 1) != 0)" ( (binary_expression "(uVar6 & 1) != 0" (parenthesized_expression "(uVar6 & 1)" ( (binary_expression "uVar6 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }" { (expression_statement "bVar12 = 0xfffffffe < uVar6;" (assignment_expression "bVar12 = 0xfffffffe < uVar6" identifier = (binary_expression "0xfffffffe < uVar6" number_literal < identifier)) ;) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = iVar11 + (uint)bVar12;" (assignment_expression "iVar11 = iVar11 + (uint)bVar12" identifier = (binary_expression "iVar11 + (uint)bVar12" identifier + (cast_expression "(uint)bVar12" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) (expression_statement "param_1[1] = uVar6;" (assignment_expression "param_1[1] = uVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = iVar11;" (assignment_expression "param_1[2] = iVar11" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;" if (parenthesized_expression "((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))" ( (binary_expression "(int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" (cast_expression "(int)(uint)(0x3b < uVar1 - uVar6)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(0x3b < uVar1 - uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x3b < uVar1 - uVar6)" ( (binary_expression "0x3b < uVar1 - uVar6" number_literal < (binary_expression "uVar1 - uVar6" identifier - identifier)) )))) <= (cast_expression "(int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" ( (type_descriptor "int" primitive_type) ) (unary_expression "-((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" - (parenthesized_expression "((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" ( (binary_expression "(iVar2 - iVar11) - (uint)(uVar1 < uVar6)" (parenthesized_expression "(iVar2 - iVar11)" ( (binary_expression "iVar2 - iVar11" identifier - identifier) )) - (call_expression "(uint)(uVar1 < uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < uVar6)" ( (binary_expression "uVar1 < uVar6" identifier < identifier) )))) ))))) )) (goto_statement "goto LAB_00194920;" goto statement_identifier ;)) (expression_statement "iVar7 = *(int *)(*param_1 + 0x24);" (assignment_expression "iVar7 = *(int *)(*param_1 + 0x24)" identifier = (pointer_expression "*(int *)(*param_1 + 0x24)" * (cast_expression "(int *)(*param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x24)" ( (binary_expression "*param_1 + 0x24" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) })) }) (else_clause "else {\nLAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }\n  }" else (compound_statement "{\nLAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }\n  }" { (labeled_statement "LAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }" statement_identifier : (if_statement "if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }" if (parenthesized_expression "(iVar2 != iVar11 || uVar1 != uVar6)" ( (binary_expression "iVar2 != iVar11 || uVar1 != uVar6" (binary_expression "iVar2 != iVar11" identifier != identifier) || (binary_expression "uVar1 != uVar6" identifier != identifier)) )) (compound_statement "{\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }" { (expression_statement "piVar3 = (int *)*param_1;" (assignment_expression "piVar3 = (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 (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }" if (parenthesized_expression "(*(code **)(*piVar3 + 8) == FUN_00197b50)" ( (binary_expression "*(code **)(*piVar3 + 8) == FUN_00197b50" (pointer_expression "*(code **)(*piVar3 + 8)" * (cast_expression "(code **)(*piVar3 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 8)" ( (binary_expression "*piVar3 + 8" (pointer_expression "*piVar3" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }" { (expression_statement "puVar8 = (undefined4 *)(piVar3[9] + 0x1c);" (assignment_expression "puVar8 = (undefined4 *)(piVar3[9] + 0x1c)" identifier = (cast_expression "(undefined4 *)(piVar3[9] + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3[9] + 0x1c)" ( (binary_expression "piVar3[9] + 0x1c" (subscript_expression "piVar3[9]" identifier [ number_literal ]) + number_literal) )))) ;) }) (else_clause "else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }" else (compound_statement "{\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }" { (expression_statement "puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);" (assignment_expression "puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3)" identifier = (cast_expression "(undefined4 *)(**(code **)(*piVar3 + 8))(piVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(*piVar3 + 8))(piVar3)" (parenthesized_expression "(**(code **)(*piVar3 + 8))" ( (pointer_expression "**(code **)(*piVar3 + 8)" * (pointer_expression "*(code **)(*piVar3 + 8)" * (cast_expression "(code **)(*piVar3 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 8)" ( (binary_expression "*piVar3 + 8" (pointer_expression "*piVar3" * identifier) + number_literal) ))))) )) (argument_list "(piVar3)" ( identifier ))))) ;) }))) (expression_statement "uVar4 = *puVar8;" (assignment_expression "uVar4 = *puVar8" identifier = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "uVar9 = gettext("%s: short archive header at %zu");" (assignment_expression "uVar9 = gettext("%s: short archive header at %zu")" identifier = (call_expression "gettext("%s: short archive header at %zu")" identifier (argument_list "("%s: short archive header at %zu")" ( (string_literal ""%s: short archive header at %zu"" " string_content ") )))) ;) (expression_statement "FUN_000654b0(uVar9,uVar4,uVar6);" (call_expression "FUN_000654b0(uVar9,uVar4,uVar6)" identifier (argument_list "(uVar9,uVar4,uVar6)" ( identifier , identifier , identifier ))) ;) (expression_statement "param_1[1] = uVar1;" (assignment_expression "param_1[1] = uVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = iVar2;" (assignment_expression "param_1[2] = iVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) }))) }))) (expression_statement "param_1[9] = uVar1;" (assignment_expression "param_1[9] = uVar1" (subscript_expression "param_1[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[10] = iVar2;" (assignment_expression "param_1[10] = iVar2" (subscript_expression "param_1[10]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (unary_expression - (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) )))) < (cast_expression ( (type_descriptor TYPE) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < (binary_expression IDENT - IDENT)) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) + IDENT) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT < IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < (binary_expression IDENT - IDENT)) )))) <= (cast_expression ( (type_descriptor TYPE) ) (unary_expression - (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) ))))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) })) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != IDENT) || (binary_expression IDENT != IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT ))))) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_001947a0(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  bool bVar12;\n  longlong lVar13;\n  undefined1 local_58 [72];\n  \n  iVar7 = *(int *)(*param_1 + 0x24);\n  uVar1 = *(uint *)(iVar7 + 0x40);\n  iVar2 = *(int *)(iVar7 + 0x44);\n  uVar6 = param_1[1];\n  iVar11 = param_1[2];\n  if ((int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6)) {\n    piVar3 = param_1 + 3;\n    while( true ) {\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }\n  }\n  else {\nLAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }\n  }\n  param_1[9] = uVar1;\n  param_1[10] = iVar2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001947a0(int *param_1)" (identifier "FUN_001947a0") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  bool bVar12;\n  longlong lVar13;\n  undefined1 local_58 [72];\n  \n  iVar7 = *(int *)(*param_1 + 0x24);\n  uVar1 = *(uint *)(iVar7 + 0x40);\n  iVar2 = *(int *)(iVar7 + 0x44);\n  uVar6 = param_1[1];\n  iVar11 = param_1[2];\n  if ((int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6)) {\n    piVar3 = param_1 + 3;\n    while( true ) {\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }\n  }\n  else {\nLAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }\n  }\n  param_1[9] = uVar1;\n  param_1[10] = iVar2;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined4 uVar9;" (type_identifier "undefined4") (identifier "uVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "bool bVar12;" (primitive_type "bool") (identifier "bVar12") (; ";")) (declaration "longlong lVar13;" (type_identifier "longlong") (identifier "lVar13") (; ";")) (declaration "undefined1 local_58 [72];" (type_identifier "undefined1") (array_declarator "local_58 [72]" (identifier "local_58") ([ "[") (number_literal "72") (] "]")) (; ";")) (expression_statement "iVar7 = *(int *)(*param_1 + 0x24);" (assignment_expression "iVar7 = *(int *)(*param_1 + 0x24)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(*param_1 + 0x24)" (* "*") (cast_expression "(int *)(*param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x24)" (( "(") (binary_expression "*param_1 + 0x24" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "uVar1 = *(uint *)(iVar7 + 0x40);" (assignment_expression "uVar1 = *(uint *)(iVar7 + 0x40)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(iVar7 + 0x40)" (* "*") (cast_expression "(uint *)(iVar7 + 0x40)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x40)" (( "(") (binary_expression "iVar7 + 0x40" (identifier "iVar7") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(iVar7 + 0x44);" (assignment_expression "iVar2 = *(int *)(iVar7 + 0x44)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar7 + 0x44)" (* "*") (cast_expression "(int *)(iVar7 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x44)" (( "(") (binary_expression "iVar7 + 0x44" (identifier "iVar7") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (expression_statement "uVar6 = param_1[1];" (assignment_expression "uVar6 = param_1[1]" (identifier "uVar6") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar11 = param_1[2];" (assignment_expression "iVar11 = param_1[2]" (identifier "iVar11") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if ((int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6)) {\n    piVar3 = param_1 + 3;\n    while( true ) {\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }\n  }\n  else {\nLAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }\n  }" (if "if") (parenthesized_expression "((int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6))" (( "(") (binary_expression "(int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6)" (cast_expression "(int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (unary_expression "-((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" (- "-") (parenthesized_expression "((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" (( "(") (binary_expression "(iVar2 - iVar11) - (uint)(uVar1 < uVar6)" (parenthesized_expression "(iVar2 - iVar11)" (( "(") (binary_expression "iVar2 - iVar11" (identifier "iVar2") (- "-") (identifier "iVar11")) () ")")) (- "-") (call_expression "(uint)(uVar1 < uVar6)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar1 < uVar6)" (( "(") (binary_expression "uVar1 < uVar6" (identifier "uVar1") (< "<") (identifier "uVar6")) () ")")))) () ")")))) (< "<") (cast_expression "(int)(uint)(0x3b < uVar1 - uVar6)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "(uint)(0x3b < uVar1 - uVar6)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0x3b < uVar1 - uVar6)" (( "(") (binary_expression "0x3b < uVar1 - uVar6" (number_literal "0x3b") (< "<") (binary_expression "uVar1 - uVar6" (identifier "uVar1") (- "-") (identifier "uVar6"))) () ")"))))) () ")")) (compound_statement "{\n    piVar3 = param_1 + 3;\n    while( true ) {\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }\n  }" ({ "{") (expression_statement "piVar3 = param_1 + 3;" (assignment_expression "piVar3 = param_1 + 3" (identifier "piVar3") (= "=") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3"))) (; ";")) (while_statement "while( true ) {\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);\n      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);\n      if (lVar13 == -1) break;\n      uVar10 = param_1[1];\n      iVar7 = param_1[2];\n      *(longlong *)(param_1 + 0xd) = lVar13;\n      param_1[9] = uVar10;\n      param_1[10] = iVar7;\n      if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }\n      uVar5 = (uint)lVar13 + 0x3c;\n      uVar6 = uVar5 + uVar10;\n      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);\n      if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }\n      param_1[1] = uVar6;\n      param_1[2] = iVar11;\n      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;\n      iVar7 = *(int *)(*param_1 + 0x24);\n    }" ({ "{") (expression_statement "FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);" (call_expression "FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58)" (identifier "FUN_00066be0") (argument_list "(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58)" (( "(") (binary_expression "iVar7 + 0x1c" (identifier "iVar7") (+ "+") (number_literal "0x1c")) (, ",") (identifier "uVar6") (, ",") (identifier "iVar11") (, ",") (number_literal "0x3c") (, ",") (identifier "local_58") () ")"))) (; ";")) (expression_statement "lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);" (assignment_expression "lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb)" (identifier "lVar13") (= "=") (call_expression "FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb)" (identifier "FUN_001943a0") (argument_list "(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "local_58") (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (identifier "piVar3") (, ",") (binary_expression "param_1 + 0xb" (identifier "param_1") (+ "+") (number_literal "0xb")) () ")")))) (; ";")) (if_statement "if (lVar13 == -1) break;" (if "if") (parenthesized_expression "(lVar13 == -1)" (( "(") (binary_expression "lVar13 == -1" (identifier "lVar13") (== "==") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar10 = param_1[1];" (assignment_expression "uVar10 = param_1[1]" (identifier "uVar10") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar7 = param_1[2];" (assignment_expression "iVar7 = param_1[2]" (identifier "iVar7") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*(longlong *)(param_1 + 0xd) = lVar13;" (assignment_expression "*(longlong *)(param_1 + 0xd) = lVar13" (pointer_expression "*(longlong *)(param_1 + 0xd)" (* "*") (cast_expression "(longlong *)(param_1 + 0xd)" (( "(") (type_descriptor "longlong *" (type_identifier "longlong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd)" (( "(") (binary_expression "param_1 + 0xd" (identifier "param_1") (+ "+") (number_literal "0xd")) () ")")))) (= "=") (identifier "lVar13")) (; ";")) (expression_statement "param_1[9] = uVar10;" (assignment_expression "param_1[9] = uVar10" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "uVar10")) (; ";")) (expression_statement "param_1[10] = iVar7;" (assignment_expression "param_1[10] = iVar7" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (if_statement "if (param_1[4] != 0) {\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }" (if "if") (parenthesized_expression "(param_1[4] != 0)" (( "(") (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar7 = FUN_001f1370(piVar3,"/");\n        if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }\n        uVar10 = param_1[1];\n        iVar7 = param_1[2];\n        lVar13 = *(longlong *)(param_1 + 0xd);\n      }" ({ "{") (expression_statement "iVar7 = FUN_001f1370(piVar3,"/");" (assignment_expression "iVar7 = FUN_001f1370(piVar3,"/")" (identifier "iVar7") (= "=") (call_expression "FUN_001f1370(piVar3,"/")" (identifier "FUN_001f1370") (argument_list "(piVar3,"/")" (( "(") (identifier "piVar3") (, ",") (string_literal ""/"" (" """) (string_content "/") (" """)) () ")")))) (; ";")) (if_statement "if (iVar7 != 0) {\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar7 = FUN_001f1370(piVar3,"/SYM64/");\n          if (iVar7 != 0) {\n            return;\n          }\n        }" ({ "{") (expression_statement "iVar7 = FUN_001f1370(piVar3,"/SYM64/");" (assignment_expression "iVar7 = FUN_001f1370(piVar3,"/SYM64/")" (identifier "iVar7") (= "=") (call_expression "FUN_001f1370(piVar3,"/SYM64/")" (identifier "FUN_001f1370") (argument_list "(piVar3,"/SYM64/")" (( "(") (identifier "piVar3") (, ",") (string_literal ""/SYM64/"" (" """) (string_content "/SYM64/") (" """)) () ")")))) (; ";")) (if_statement "if (iVar7 != 0) {\n            return;\n          }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            return;\n          }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar10 = param_1[1];" (assignment_expression "uVar10 = param_1[1]" (identifier "uVar10") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar7 = param_1[2];" (assignment_expression "iVar7 = param_1[2]" (identifier "iVar7") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "lVar13 = *(longlong *)(param_1 + 0xd);" (assignment_expression "lVar13 = *(longlong *)(param_1 + 0xd)" (identifier "lVar13") (= "=") (pointer_expression "*(longlong *)(param_1 + 0xd)" (* "*") (cast_expression "(longlong *)(param_1 + 0xd)" (( "(") (type_descriptor "longlong *" (type_identifier "longlong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd)" (( "(") (binary_expression "param_1 + 0xd" (identifier "param_1") (+ "+") (number_literal "0xd")) () ")"))))) (; ";")) (} "}"))) (expression_statement "uVar5 = (uint)lVar13 + 0x3c;" (assignment_expression "uVar5 = (uint)lVar13 + 0x3c" (identifier "uVar5") (= "=") (binary_expression "(uint)lVar13 + 0x3c" (cast_expression "(uint)lVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar13")) (+ "+") (number_literal "0x3c"))) (; ";")) (expression_statement "uVar6 = uVar5 + uVar10;" (assignment_expression "uVar6 = uVar5 + uVar10" (identifier "uVar6") (= "=") (binary_expression "uVar5 + uVar10" (identifier "uVar5") (+ "+") (identifier "uVar10"))) (; ";")) (expression_statement "iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10);" (assignment_expression "iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10)" (identifier "iVar11") (= "=") (binary_expression "(int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +\n               (uint)CARRY4(uVar5,uVar10)" (binary_expression "(int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7" (binary_expression "(int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13)" (cast_expression "(int)((ulonglong)lVar13 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)lVar13 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar13 >> 0x20" (cast_expression "(ulonglong)lVar13" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar13")) (>> ">>") (number_literal "0x20")) () ")"))) (+ "+") (call_expression "(uint)(0xffffffc3 < (uint)lVar13)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0xffffffc3 < (uint)lVar13)" (( "(") (binary_expression "0xffffffc3 < (uint)lVar13" (number_literal "0xffffffc3") (< "<") (cast_expression "(uint)lVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar13"))) () ")")))) (+ "+") (identifier "iVar7")) (+ "+") (cast_expression "(uint)CARRY4(uVar5,uVar10)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(uVar5,uVar10)" (identifier "CARRY4") (argument_list "(uVar5,uVar10)" (( "(") (identifier "uVar5") (, ",") (identifier "uVar10") () ")")))))) (; ";")) (if_statement "if ((uVar6 & 1) != 0) {\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }" (if "if") (parenthesized_expression "((uVar6 & 1) != 0)" (( "(") (binary_expression "(uVar6 & 1) != 0" (parenthesized_expression "(uVar6 & 1)" (( "(") (binary_expression "uVar6 & 1" (identifier "uVar6") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        bVar12 = 0xfffffffe < uVar6;\n        uVar6 = uVar6 + 1;\n        iVar11 = iVar11 + (uint)bVar12;\n      }" ({ "{") (expression_statement "bVar12 = 0xfffffffe < uVar6;" (assignment_expression "bVar12 = 0xfffffffe < uVar6" (identifier "bVar12") (= "=") (binary_expression "0xfffffffe < uVar6" (number_literal "0xfffffffe") (< "<") (identifier "uVar6"))) (; ";")) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" (identifier "uVar6") (= "=") (binary_expression "uVar6 + 1" (identifier "uVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar11 = iVar11 + (uint)bVar12;" (assignment_expression "iVar11 = iVar11 + (uint)bVar12" (identifier "iVar11") (= "=") (binary_expression "iVar11 + (uint)bVar12" (identifier "iVar11") (+ "+") (cast_expression "(uint)bVar12" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar12")))) (; ";")) (} "}"))) (expression_statement "param_1[1] = uVar6;" (assignment_expression "param_1[1] = uVar6" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "param_1[2] = iVar11;" (assignment_expression "param_1[2] = iVar11" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar11")) (; ";")) (if_statement "if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))\n      goto LAB_00194920;" (if "if") (parenthesized_expression "((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))" (( "(") (binary_expression "(int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" (cast_expression "(int)(uint)(0x3b < uVar1 - uVar6)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "(uint)(0x3b < uVar1 - uVar6)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0x3b < uVar1 - uVar6)" (( "(") (binary_expression "0x3b < uVar1 - uVar6" (number_literal "0x3b") (< "<") (binary_expression "uVar1 - uVar6" (identifier "uVar1") (- "-") (identifier "uVar6"))) () ")")))) (<= "<=") (cast_expression "(int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (unary_expression "-((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" (- "-") (parenthesized_expression "((iVar2 - iVar11) - (uint)(uVar1 < uVar6))" (( "(") (binary_expression "(iVar2 - iVar11) - (uint)(uVar1 < uVar6)" (parenthesized_expression "(iVar2 - iVar11)" (( "(") (binary_expression "iVar2 - iVar11" (identifier "iVar2") (- "-") (identifier "iVar11")) () ")")) (- "-") (call_expression "(uint)(uVar1 < uVar6)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar1 < uVar6)" (( "(") (binary_expression "uVar1 < uVar6" (identifier "uVar1") (< "<") (identifier "uVar6")) () ")")))) () ")"))))) () ")")) (goto_statement "goto LAB_00194920;" (goto "goto") (statement_identifier "LAB_00194920") (; ";"))) (expression_statement "iVar7 = *(int *)(*param_1 + 0x24);" (assignment_expression "iVar7 = *(int *)(*param_1 + 0x24)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(*param_1 + 0x24)" (* "*") (cast_expression "(int *)(*param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x24)" (( "(") (binary_expression "*param_1 + 0x24" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\nLAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }\n  }" (else "else") (compound_statement "{\nLAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }\n  }" ({ "{") (labeled_statement "LAB_00194920:\n    if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }" (statement_identifier "LAB_00194920") (: ":") (if_statement "if (iVar2 != iVar11 || uVar1 != uVar6) {\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }" (if "if") (parenthesized_expression "(iVar2 != iVar11 || uVar1 != uVar6)" (( "(") (binary_expression "iVar2 != iVar11 || uVar1 != uVar6" (binary_expression "iVar2 != iVar11" (identifier "iVar2") (!= "!=") (identifier "iVar11")) (|| "||") (binary_expression "uVar1 != uVar6" (identifier "uVar1") (!= "!=") (identifier "uVar6"))) () ")")) (compound_statement "{\n      piVar3 = (int *)*param_1;\n      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }\n      uVar4 = *puVar8;\n      uVar9 = gettext("%s: short archive header at %zu");\n      FUN_000654b0(uVar9,uVar4,uVar6);\n      param_1[1] = uVar1;\n      param_1[2] = iVar2;\n    }" ({ "{") (expression_statement "piVar3 = (int *)*param_1;" (assignment_expression "piVar3 = (int *)*param_1" (identifier "piVar3") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (*(code **)(*piVar3 + 8) == FUN_00197b50) {\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }\n      else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }" (if "if") (parenthesized_expression "(*(code **)(*piVar3 + 8) == FUN_00197b50)" (( "(") (binary_expression "*(code **)(*piVar3 + 8) == FUN_00197b50" (pointer_expression "*(code **)(*piVar3 + 8)" (* "*") (cast_expression "(code **)(*piVar3 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar3 + 8)" (( "(") (binary_expression "*piVar3 + 8" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (+ "+") (number_literal "8")) () ")")))) (== "==") (identifier "FUN_00197b50")) () ")")) (compound_statement "{\n        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);\n      }" ({ "{") (expression_statement "puVar8 = (undefined4 *)(piVar3[9] + 0x1c);" (assignment_expression "puVar8 = (undefined4 *)(piVar3[9] + 0x1c)" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)(piVar3[9] + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar3[9] + 0x1c)" (( "(") (binary_expression "piVar3[9] + 0x1c" (subscript_expression "piVar3[9]" (identifier "piVar3") ([ "[") (number_literal "9") (] "]")) (+ "+") (number_literal "0x1c")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }" (else "else") (compound_statement "{\n        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);\n      }" ({ "{") (expression_statement "puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);" (assignment_expression "puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3)" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)(**(code **)(*piVar3 + 8))(piVar3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(*piVar3 + 8))(piVar3)" (parenthesized_expression "(**(code **)(*piVar3 + 8))" (( "(") (pointer_expression "**(code **)(*piVar3 + 8)" (* "*") (pointer_expression "*(code **)(*piVar3 + 8)" (* "*") (cast_expression "(code **)(*piVar3 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar3 + 8)" (( "(") (binary_expression "*piVar3 + 8" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")"))))) (; ";")) (} "}")))) (expression_statement "uVar4 = *puVar8;" (assignment_expression "uVar4 = *puVar8" (identifier "uVar4") (= "=") (pointer_expression "*puVar8" (* "*") (identifier "puVar8"))) (; ";")) (expression_statement "uVar9 = gettext("%s: short archive header at %zu");" (assignment_expression "uVar9 = gettext("%s: short archive header at %zu")" (identifier "uVar9") (= "=") (call_expression "gettext("%s: short archive header at %zu")" (identifier "gettext") (argument_list "("%s: short archive header at %zu")" (( "(") (string_literal ""%s: short archive header at %zu"" (" """) (string_content "%s: short archive header at %zu") (" """)) () ")")))) (; ";")) (expression_statement "FUN_000654b0(uVar9,uVar4,uVar6);" (call_expression "FUN_000654b0(uVar9,uVar4,uVar6)" (identifier "FUN_000654b0") (argument_list "(uVar9,uVar4,uVar6)" (( "(") (identifier "uVar9") (, ",") (identifier "uVar4") (, ",") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "param_1[1] = uVar1;" (assignment_expression "param_1[1] = uVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "param_1[2] = iVar2;" (assignment_expression "param_1[2] = iVar2" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (} "}")))) (} "}")))) (expression_statement "param_1[9] = uVar1;" (assignment_expression "param_1[9] = uVar1" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "param_1[10] = iVar2;" (assignment_expression "param_1[10] = iVar2" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void read_next_header(const_iterator * this) */

void __thiscall gold::type_5::type_1::function_1(type_1 *this)

{
  type_2 *pname;
  type_3 var_1;
  void *var_12;
  type_4 var_6;
  type_5 *pAVar4;
  type_6 *var_14;
  type_7 pcVar6;
  type_3 var_9;
  type_3 var_2;
  int var_8;
  char *format;
  type_8 *pFVar9;
  type_3 var_10;
  type_9 *pIVar11;
  void *var_13;
  bool bVar12;
  type_10 var_5;
  type_11 buf [60];
  
  pIVar11 = this->archive_->input_file_;
  var_1 = (type_3)(pIVar11->file_).size_;
  var_12 = *(void **)((int)&(pIVar11->file_).size_ + 4);
  var_2 = (type_3)this->off_;
  var_13 = *(void **)((int)&this->off_ + 4);
  if ((int)-((int)var_12 + (-(type_3)(var_1 < var_2) - (int)var_13)) < (int)(type_3)(0x3b < var_1 - var_2))
  {
    pname = &this->header_;
    while( true ) {
      File_read::var_3(&pIVar11->file_,var_2,var_13,0x3c);
      var_5 = var_4(this->archive_,(type_12 *)buf,this->off_,&pname->name,
                                &(this->header_).nested_off);
      if (var_5 == -1) break;
      var_10 = (type_3)this->off_;
      var_8 = *(int *)((int)&this->off_ + 4);
      var_6 = (this->header_).name._M_string_length;
      (this->header_).size = var_5;
      *(type_3 *)&(this->header_).off = var_10;
      *(int *)((int)&(this->header_).off + 4) = var_8;
      if (var_6 != 0) {
        var_8 = std::string::var_7((type_13 *)pname,"/");
        if (var_8 != 0) {
          var_8 = std::string::var_7((type_13 *)pname,"/SYM64/");
          if (var_8 != 0) {
            return;
          }
        }
        var_10 = (type_3)this->off_;
        var_8 = *(int *)((int)&this->off_ + 4);
        var_5 = (this->header_).size;
      }
      var_9 = (type_3)var_5 + 0x3c;
      var_2 = var_9 + var_10;
      var_13 = (void *)((int)((type_14)var_5 >> 0x20) + (type_3)(0xffffffc3 < (type_3)var_5) + var_8
                      + (type_3)var_11(var_9,var_10));
      if ((var_2 & 1) != 0) {
        bVar12 = 0xfffffffe < var_2;
        var_2 = var_2 + 1;
        var_13 = (void *)((int)var_13 + (type_3)bVar12);
      }
      *(type_3 *)&this->off_ = var_2;
      *(void **)((int)&this->off_ + 4) = var_13;
      if ((int)(type_3)(0x3b < var_1 - var_2) <=
          (int)-((int)var_12 + (-(type_3)(var_1 < var_2) - (int)var_13))) goto LAB_00194920;
      pIVar11 = this->archive_->input_file_;
    }
  }
  else {
LAB_00194920:
    if (var_12 != var_13 || var_1 != var_2) {
      pAVar4 = this->archive_;
      var_14 = (pAVar4->super_Library_base)._vptr_Library_base[2];
      if (var_14 == var_15) {
        pFVar9 = &pAVar4->input_file_->file_;
      }
      else {
        pFVar9 = (type_8 *)(*var_14)(pAVar4);
      }
      pcVar6 = (pFVar9->name_)._M_dataplus._M_p;
      format = (char *)var_16("%s: short archive header at %zu");
      var_17(format,pcVar6,var_2);
      *(type_3 *)&this->off_ = var_1;
      *(void **)((int)&this->off_ + 4) = var_12;
    }
  }
  *(type_3 *)&(this->header_).off = var_1;
  *(void **)((int)&(this->header_).off + 4) = var_12;
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(int *param_1)

{
  uint uVar1;
  int iVar2;
  int *piVar3;
  undefined4 uVar4;
  uint uVar5;
  uint uVar6;
  int iVar7;
  undefined4 *puVar8;
  undefined4 uVar9;
  uint uVar10;
  int iVar11;
  bool bVar12;
  longlong lVar13;
  undefined1 local_58 [72];
  
  iVar7 = *(int *)(*param_1 + 0x24);
  uVar1 = *(uint *)(iVar7 + 0x40);
  iVar2 = *(int *)(iVar7 + 0x44);
  uVar6 = param_1[1];
  iVar11 = param_1[2];
  if ((int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)) < (int)(uint)(0x3b < uVar1 - uVar6)) {
    piVar3 = param_1 + 3;
    while( true ) {
      FUN_00066be0(iVar7 + 0x1c,uVar6,iVar11,0x3c,local_58);
      lVar13 = FUN_001943a0(*param_1,local_58,param_1[1],param_1[2],piVar3,param_1 + 0xb);
      if (lVar13 == -1) break;
      uVar10 = param_1[1];
      iVar7 = param_1[2];
      *(longlong *)(param_1 + 0xd) = lVar13;
      param_1[9] = uVar10;
      param_1[10] = iVar7;
      if (param_1[4] != 0) {
        iVar7 = FUN_001f1370(piVar3,"/");
        if (iVar7 != 0) {
          iVar7 = FUN_001f1370(piVar3,"/SYM64/");
          if (iVar7 != 0) {
            return;
          }
        }
        uVar10 = param_1[1];
        iVar7 = param_1[2];
        lVar13 = *(longlong *)(param_1 + 0xd);
      }
      uVar5 = (uint)lVar13 + 0x3c;
      uVar6 = uVar5 + uVar10;
      iVar11 = (int)((ulonglong)lVar13 >> 0x20) + (uint)(0xffffffc3 < (uint)lVar13) + iVar7 +
               (uint)CARRY4(uVar5,uVar10);
      if ((uVar6 & 1) != 0) {
        bVar12 = 0xfffffffe < uVar6;
        uVar6 = uVar6 + 1;
        iVar11 = iVar11 + (uint)bVar12;
      }
      param_1[1] = uVar6;
      param_1[2] = iVar11;
      if ((int)(uint)(0x3b < uVar1 - uVar6) <= (int)-((iVar2 - iVar11) - (uint)(uVar1 < uVar6)))
      goto LAB_00194920;
      iVar7 = *(int *)(*param_1 + 0x24);
    }
  }
  else {
LAB_00194920:
    if (iVar2 != iVar11 || uVar1 != uVar6) {
      piVar3 = (int *)*param_1;
      if (*(code **)(*piVar3 + 8) == FUN_00197b50) {
        puVar8 = (undefined4 *)(piVar3[9] + 0x1c);
      }
      else {
        puVar8 = (undefined4 *)(**(code **)(*piVar3 + 8))(piVar3);
      }
      uVar4 = *puVar8;
      uVar9 = gettext("%s: short archive header at %zu");
      FUN_000654b0(uVar9,uVar4,uVar6);
      param_1[1] = uVar1;
      param_1[2] = iVar2;
    }
  }
  param_1[9] = uVar1;
  param_1[10] = iVar2;
  return;
}

