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

bfd_boolean __regparm3 gldaarch64linux32_search_needed(char *path,dt_needed *n,int force)

{
  char *__s;
  size_t sVar1;
  bfd *pbVar2;
  char *pcVar3;
  size_t sVar4;
  size_t sVar5;
  char *pcVar6;
  byte *pbVar7;
  char *pcVar8;
  bfd_boolean bVar9;
  byte bVar10;
  int iVar11;
  char *pcVar12;
  byte *pbVar13;
  size_t sVar14;
  byte *pbVar15;
  char *pcVar16;
  bool bVar17;
  bool bVar18;
  bool bVar19;
  byte bVar20;
  char *local_5c;
  char *local_48;
  dt_needed needed;
  
  bVar20 = 0;
  __s = n->name;
  if (*__s == '/') {
    bVar9 = gldaarch64linux32_try_needed(n,(int)__s,(dt_needed *)force);
    return bVar9;
  }
  if ((path == (char *)0x0) || (*path == '\0')) {
    return 0;
  }
  needed.by = n->by;
  needed.name = __s;
  sVar1 = strlen(__s);
  do {
    local_48 = strchr(path,(int)config.rpath_separator);
    if (local_48 == (char *)0x0) {
      sVar14 = strlen(path);
      local_48 = path + sVar14;
    }
    sVar14 = (int)local_48 - (int)path;
    local_5c = (char *)xmalloc(sVar1 + 2 + sVar14);
    pcVar6 = local_5c;
    if (path != local_48) {
      memcpy(local_5c,path,sVar14);
      local_5c[sVar14] = '/';
      pcVar6 = local_5c + sVar14 + 1;
    }
    pcVar12 = (char *)0x0;
    strcpy(pcVar6,__s);
    while (pcVar12 = strchr(local_5c + (int)pcVar12,0x24), pcVar12 != (char *)0x0) {
      pcVar6 = strchr(pcVar12,0x2f);
      sVar14 = strlen(local_5c);
      if (pcVar6 != (char *)0x0) {
        *pcVar6 = '\0';
      }
      bVar10 = pcVar12[1];
      pcVar8 = pcVar12 + 1;
      if (bVar10 == 0x7b) {
        bVar10 = pcVar12[2];
        pcVar8 = pcVar12 + 2;
      }
      pbVar7 = (byte *)(pcVar8 + 1);
      bVar18 = bVar10 < 0x4c;
      bVar19 = bVar10 == 0x4c;
      if (bVar19) {
        iVar11 = 3;
        pbVar13 = pbVar7;
        pbVar15 = (byte *)0x701f6;
        do {
          if (iVar11 == 0) break;
          iVar11 = iVar11 + -1;
          bVar18 = *pbVar13 < *pbVar15;
          bVar19 = *pbVar13 == *pbVar15;
          pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;
          pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;
        } while (bVar19);
        bVar17 = false;
        bVar18 = (!bVar18 && !bVar19) == bVar18;
        if (!bVar18) {
          iVar11 = 4;
          pbVar13 = &DAT_000af890;
          do {
            if (iVar11 == 0) break;
            iVar11 = iVar11 + -1;
            bVar17 = *pbVar7 < *pbVar13;
            bVar18 = *pbVar7 == *pbVar13;
            pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;
            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;
          } while (bVar18);
          if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;
        }
        sVar4 = 3;
        pcVar16 = (char *)0x0;
        pcVar8 = "lib";
LAB_0005d5b0:
        pcVar3 = (char *)xmalloc(sVar4 + sVar14);
        iVar11 = (int)pcVar12 - (int)local_5c;
        if (pcVar6 == (char *)0x0) {
          sprintf(pcVar3,"%.*s%s",iVar11,local_5c,pcVar8);
          sVar14 = strlen(pcVar8);
          pcVar12 = (char *)(iVar11 + sVar14);
        }
        else {
          sprintf(pcVar3,"%.*s%s/%s",iVar11,local_5c,pcVar8,pcVar6 + 1);
          sVar14 = strlen(pcVar8);
          pcVar12 = (char *)(iVar11 + 1 + sVar14);
        }
        free(local_5c);
        local_5c = pcVar3;
      }
      else {
        bVar18 = bVar10 < 0x4f;
        bVar19 = bVar10 == 0x4f;
        if (bVar19) {
          iVar11 = 6;
          pbVar13 = pbVar7;
          pbVar15 = (byte *)0x704cc;
          do {
            if (iVar11 == 0) break;
            iVar11 = iVar11 + -1;
            bVar18 = *pbVar13 < *pbVar15;
            bVar19 = *pbVar13 == *pbVar15;
            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;
            pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;
          } while (bVar19);
          bVar17 = false;
          bVar18 = (!bVar18 && !bVar19) == bVar18;
          if (!bVar18) {
            iVar11 = 7;
            pbVar13 = (byte *)"RIGIN}";
            do {
              if (iVar11 == 0) break;
              iVar11 = iVar11 + -1;
              bVar17 = *pbVar7 < *pbVar13;
              bVar18 = *pbVar7 == *pbVar13;
              pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;
              pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;
            } while (bVar18);
            if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;
          }
          pbVar2 = needed.by;
          if (((needed.by != (bfd *)0x0) ||
              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&
             (pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0)) {
            if (*pcVar16 == '/') {
              pcVar8 = (char *)xstrdup(pcVar16);
            }
            else {
              pcVar3 = (char *)getpwd();
              sVar4 = strlen(pcVar16);
              sVar5 = strlen(pcVar3);
              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);
              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);
            }
            pcVar16 = strrchr(pcVar8,0x2f);
            if (pcVar16 != (char *)0x0) {
              *pcVar16 = '\0';
            }
            sVar4 = strlen(pcVar8);
            pcVar16 = pcVar8;
            goto LAB_0005d5b0;
          }
        }
LAB_0005d699:
        if (verbose != 0) {
          pcVar8 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5
                                    );
          info_msg(pcVar8,pcVar12);
        }
        if (pcVar6 != (char *)0x0) {
          *pcVar6 = '/';
        }
        pcVar16 = (char *)0x0;
        pcVar12 = pcVar12 + (1 - (int)local_5c);
      }
      free(pcVar16);
    }
    needed.name = local_5c;
    bVar9 = gldaarch64linux32_try_needed(&needed,(int)local_5c,(dt_needed *)force);
    if (bVar9 != 0) {
      return 1;
    }
    free(local_5c);
    if (*local_48 == '\0') {
      return 0;
    }
    path = local_48 + 1;
  } while( true );
}



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

undefined4 __regparm3 FUN_0005d3e0(char *param_1,int *param_2)

{
  char *__s;
  undefined4 *puVar1;
  size_t sVar2;
  undefined4 *puVar3;
  char *pcVar4;
  size_t sVar5;
  size_t sVar6;
  char *pcVar7;
  char *pcVar8;
  byte *pbVar9;
  undefined4 uVar10;
  byte bVar11;
  int iVar12;
  char *pcVar13;
  byte *pbVar14;
  size_t sVar15;
  byte *pbVar16;
  char *pcVar17;
  bool bVar18;
  bool bVar19;
  bool bVar20;
  byte bVar21;
  char *local_5c;
  char *local_48;
  
  bVar21 = 0;
  __s = (char *)param_2[1];
  if (*__s == '/') {
    uVar10 = FUN_0005d0b0();
    return uVar10;
  }
  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {
    return 0;
  }
  puVar1 = (undefined4 *)*param_2;
  sVar2 = strlen(__s);
  do {
    local_48 = strchr(param_1,(int)DAT_001c4728);
    if (local_48 == (char *)0x0) {
      sVar15 = strlen(param_1);
      local_48 = param_1 + sVar15;
    }
    sVar15 = (int)local_48 - (int)param_1;
    local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);
    pcVar8 = local_5c;
    if (param_1 != local_48) {
      memcpy(local_5c,param_1,sVar15);
      local_5c[sVar15] = '/';
      pcVar8 = local_5c + sVar15 + 1;
    }
    pcVar13 = (char *)0x0;
    strcpy(pcVar8,__s);
    while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {
      pcVar8 = strchr(pcVar13,0x2f);
      sVar15 = strlen(local_5c);
      if (pcVar8 != (char *)0x0) {
        *pcVar8 = '\0';
      }
      bVar11 = pcVar13[1];
      pcVar7 = pcVar13 + 1;
      if (bVar11 == 0x7b) {
        bVar11 = pcVar13[2];
        pcVar7 = pcVar13 + 2;
      }
      pbVar9 = (byte *)(pcVar7 + 1);
      bVar19 = bVar11 < 0x4c;
      bVar20 = bVar11 == 0x4c;
      if (bVar20) {
        iVar12 = 3;
        pbVar14 = pbVar9;
        pbVar16 = (byte *)0x701f6;
        do {
          if (iVar12 == 0) break;
          iVar12 = iVar12 + -1;
          bVar19 = *pbVar14 < *pbVar16;
          bVar20 = *pbVar14 == *pbVar16;
          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;
          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;
        } while (bVar20);
        bVar18 = false;
        bVar19 = (!bVar19 && !bVar20) == bVar19;
        if (!bVar19) {
          iVar12 = 4;
          pbVar14 = &DAT_000af890;
          do {
            if (iVar12 == 0) break;
            iVar12 = iVar12 + -1;
            bVar18 = *pbVar9 < *pbVar14;
            bVar19 = *pbVar9 == *pbVar14;
            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;
            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;
          } while (bVar19);
          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;
        }
        sVar5 = 3;
        pcVar17 = (char *)0x0;
        pcVar7 = "lib";
LAB_0005d5b0:
        pcVar4 = (char *)xmalloc(sVar5 + sVar15);
        iVar12 = (int)pcVar13 - (int)local_5c;
        if (pcVar8 == (char *)0x0) {
          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);
          sVar15 = strlen(pcVar7);
          pcVar13 = (char *)(iVar12 + sVar15);
        }
        else {
          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);
          sVar15 = strlen(pcVar7);
          pcVar13 = (char *)(iVar12 + 1 + sVar15);
        }
        free(local_5c);
        local_5c = pcVar4;
      }
      else {
        bVar19 = bVar11 < 0x4f;
        bVar20 = bVar11 == 0x4f;
        if (bVar20) {
          iVar12 = 6;
          pbVar14 = pbVar9;
          pbVar16 = (byte *)0x704cc;
          do {
            if (iVar12 == 0) break;
            iVar12 = iVar12 + -1;
            bVar19 = *pbVar14 < *pbVar16;
            bVar20 = *pbVar14 == *pbVar16;
            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;
            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;
          } while (bVar20);
          bVar18 = false;
          bVar19 = (!bVar19 && !bVar20) == bVar19;
          if (!bVar19) {
            iVar12 = 7;
            pbVar14 = (byte *)"RIGIN}";
            do {
              if (iVar12 == 0) break;
              iVar12 = iVar12 + -1;
              bVar18 = *pbVar9 < *pbVar14;
              bVar19 = *pbVar9 == *pbVar14;
              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;
              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;
            } while (bVar19);
            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;
          }
          puVar3 = puVar1;
          if (((puVar1 != (undefined4 *)0x0) ||
              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&
             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {
            if (*pcVar17 == '/') {
              pcVar7 = (char *)xstrdup(pcVar17);
            }
            else {
              pcVar4 = (char *)getpwd();
              sVar5 = strlen(pcVar17);
              sVar6 = strlen(pcVar4);
              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);
              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);
            }
            pcVar17 = strrchr(pcVar7,0x2f);
            if (pcVar17 != (char *)0x0) {
              *pcVar17 = '\0';
            }
            sVar5 = strlen(pcVar7);
            pcVar17 = pcVar7;
            goto LAB_0005d5b0;
          }
        }
LAB_0005d699:
        if (DAT_001c475c != 0) {
          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);
          FUN_00034d90(uVar10,pcVar13);
        }
        if (pcVar8 != (char *)0x0) {
          *pcVar8 = '/';
        }
        pcVar17 = (char *)0x0;
        pcVar13 = pcVar13 + (1 - (int)local_5c);
      }
      free(pcVar17);
    }
    iVar12 = FUN_0005d0b0();
    if (iVar12 != 0) {
      return 1;
    }
    free(local_5c);
    if (*local_48 == '\0') {
      return 0;
    }
    param_1 = local_48 + 1;
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
MOV ESI,EAX
MOV EAX,EDX
PUSH EBX
CALL 0x00017c50
ADD EBX,0x164c13
SUB ESP,0x4c
MOV EDI,dword ptr [EDX + 0x4]
MOV dword ptr [ESP + 0x20],ECX
CMP byte ptr [EDI],0x2f
MOV dword ptr [ESP + 0x1c],EDI
JZ 0x0005d82c
TEST ESI,ESI
JZ 0x0005d6c0
CMP byte ptr [ESI],0x0
JZ 0x0005d6c0
MOV EAX,dword ptr [EDX]
SUB ESP,0xc
MOV dword ptr [ESP + 0x44],EAX
MOV EAX,dword ptr [ESP + 0x28]
MOV dword ptr [ESP + 0x48],EAX
PUSH EAX
CALL 0x00016870
ADD ESP,0x10
ADD EAX,0x2
MOV dword ptr [ESP + 0x24],EAX
LEA EAX,[EBX + 0x26e0]
MOV dword ptr [ESP + 0x2c],EAX
LEA EAX,[ESP + 0x38]
MOV dword ptr [ESP + 0x28],EAX
LEA EAX,[EBX + 0x275c]
MOV dword ptr [ESP + 0x10],EAX
LEA ESI,[ESI]
NOP
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x34]
MOVSX EAX,byte ptr [EAX + 0x48]
PUSH EAX
PUSH ESI
CALL 0x00016840
ADD ESP,0x10
MOV dword ptr [ESP + 0x14],EAX
TEST EAX,EAX
JZ 0x0005d808
MOV EBP,dword ptr [ESP + 0x14]
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x30]
MOV EDI,EBP
SUB EDI,ESI
ADD EAX,EDI
PUSH EAX
CALL 0x00016e98
MOV dword ptr [ESP + 0x10],EAX
ADD ESP,0x10
CMP ESI,EBP
JZ 0x0005d4bb
SUB ESP,0x4
PUSH EDI
PUSH ESI
MOV ESI,EAX
PUSH EAX
CALL 0x00016250
MOV byte ptr [ESI + EDI*0x1],0x2f
LEA EAX,[ESI + EDI*0x1 + 0x1]
ADD ESP,0x10
SUB ESP,0x8
XOR EBP,EBP
PUSH dword ptr [ESP + 0x24]
PUSH EAX
CALL 0x000165d0
LEA EAX,[EBX + 0x25e0]
ADD ESP,0x10
MOV dword ptr [ESP + 0x18],EAX
JMP 0x0005d627
MOV ECX,0x6
LEA EDI,[EBX + 0xffeae4cc]
MOV ESI,EAX
CMPSB.REPE ES:EDI,ESI
SETA CL
SBB CL,0x0
TEST CL,CL
JZ 0x0005d515
MOV ESI,EAX
MOV ECX,0x7
LEA EDI,[EBX + 0xffeed889]
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JNZ 0x0005d699
MOV EAX,dword ptr [ESP + 0x38]
TEST EAX,EAX
JZ 0x0005d7c0
MOV EDI,dword ptr [EAX]
TEST EDI,EDI
JZ 0x0005d699
CMP byte ptr [EDI],0x2f
JZ 0x0005d7d8
MOV dword ptr [ESP + 0x8],EDX
CALL 0x00016410
SUB ESP,0xc
MOV dword ptr [ESP + 0x10],EAX
PUSH EDI
CALL 0x00016870
POP EDX
PUSH dword ptr [ESP + 0x10]
MOV ESI,EAX
CALL 0x00016870
LEA EAX,[ESI + EAX*0x1 + 0x2]
MOV dword ptr [ESP],EAX
CALL 0x00016e98
PUSH EDI
MOV ESI,EAX
LEA EAX,[EBX + 0xffeed898]
PUSH dword ptr [ESP + 0x18]
PUSH EAX
PUSH ESI
CALL 0x00016ba0
ADD ESP,0x20
MOV EDX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0x4],EDX
SUB ESP,0x8
PUSH 0x2f
PUSH ESI
CALL 0x00016ae0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x4]
TEST EAX,EAX
JZ 0x0005d7f8
MOV byte ptr [EAX],0x0
SUB ESP,0xc
MOV EDI,ESI
PUSH ESI
CALL 0x00016870
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0x8],EDX
SUB ESP,0xc
ADD EAX,dword ptr [ESP + 0x18]
PUSH EAX
CALL 0x00016e98
SUB EBP,dword ptr [ESP + 0x10]
MOV dword ptr [ESP + 0x14],EAX
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x8]
TEST EDX,EDX
JZ 0x0005d790
SUB ESP,0x8
ADD EDX,0x1
LEA EAX,[EBX + 0xffeed894]
PUSH EDX
PUSH ESI
PUSH dword ptr [ESP + 0x10]
PUSH EBP
PUSH EAX
PUSH dword ptr [ESP + 0x20]
CALL 0x00016ba0
ADD ESP,0x14
PUSH ESI
CALL 0x00016870
ADD ESP,0x10
LEA EBP,[EBP + EAX*0x1 + 0x1]
SUB ESP,0xc
PUSH dword ptr [ESP + 0xc]
CALL 0x00016e80
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP],EAX
SUB ESP,0xc
PUSH EDI
CALL 0x00016e80
ADD ESP,0x10
SUB ESP,0x8
PUSH 0x24
ADD EBP,dword ptr [ESP + 0xc]
PUSH EBP
CALL 0x00016840
ADD ESP,0x10
MOV EBP,EAX
TEST EAX,EAX
JZ 0x0005d748
SUB ESP,0x8
PUSH 0x2f
PUSH EBP
CALL 0x00016840
POP ECX
MOV dword ptr [ESP + 0x10],EAX
LEA EAX,[EBP + 0x1]
MOV dword ptr [ESP + 0x14],EAX
PUSH dword ptr [ESP + 0xc]
CALL 0x00016870
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0xc],EAX
TEST EDX,EDX
JZ 0x0005d675
MOV byte ptr [EDX],0x0
MOVZX ECX,byte ptr [EBP + 0x1]
LEA EAX,[EBP + 0x1]
CMP CL,0x7b
JNZ 0x0005d688
MOVZX ECX,byte ptr [EBP + 0x2]
LEA EAX,[EBP + 0x2]
ADD EAX,0x1
CMP CL,0x4c
JZ 0x0005d6d0
CMP CL,0x4f
JZ 0x0005d4e0
MOV EAX,dword ptr [ESP + 0x10]
MOV ESI,dword ptr [EAX]
TEST ESI,ESI
JNZ 0x0005d718
TEST EDX,EDX
JZ 0x0005d6aa
MOV byte ptr [EDX],0x2f
MOV EBP,dword ptr [ESP + 0x8]
XOR EDI,EDI
SUB EBP,dword ptr [ESP]
JMP 0x0005d61b
ADD ESP,0x4c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,0x3
LEA EDI,[EBX + 0xffeae1f6]
MOV ESI,EAX
CMPSB.REPE ES:EDI,ESI
SETA CL
SBB CL,0x0
TEST CL,CL
JZ 0x0005d701
MOV ESI,EAX
MOV ECX,0x4
LEA EDI,[EBX + 0xffeed890]
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JNZ 0x0005d699
MOV EAX,0x3
XOR EDI,EDI
LEA ESI,[EBX + 0xffebbf7d]
JMP 0x0005d5b0
MOV dword ptr [ESP + 0x4],EDX
LEA EAX,[EBX + 0xffeed414]
SUB ESP,0x4
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016380
POP EDX
POP ECX
PUSH EBP
PUSH EAX
CALL 0x00034d90
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x4]
JMP 0x0005d6a3
MOV ESI,dword ptr [ESP]
MOV ECX,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [ESP + 0x28]
MOV EDX,ESI
MOV dword ptr [ESP + 0x3c],ESI
CALL 0x0005d0b0
TEST EAX,EAX
JNZ 0x0005d81f
SUB ESP,0xc
PUSH ESI
CALL 0x00016e80
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x14]
CMP byte ptr [EAX],0x0
JZ 0x0005d6c0
ADD EAX,0x1
MOV ESI,EAX
JMP 0x0005d460
SUB ESP,0xc
LEA EAX,[EBX + 0xffeed89e]
PUSH ESI
PUSH dword ptr [ESP + 0x10]
PUSH EBP
PUSH EAX
PUSH dword ptr [ESP + 0x20]
CALL 0x00016ba0
ADD ESP,0x14
PUSH ESI
CALL 0x00016870
ADD ESP,0x10
ADD EBP,EAX
JMP 0x0005d605
MOV EAX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EAX + 0x34]
TEST EAX,EAX
JNZ 0x0005d521
JMP 0x0005d699
MOV dword ptr [ESP + 0x4],EDX
SUB ESP,0xc
PUSH EDI
CALL 0x00016570
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x4]
MOV ESI,EAX
JMP 0x0005d57d
MOV dword ptr [ESP + 0x4],EDX
JMP 0x0005d59e
SUB ESP,0xc
PUSH ESI
CALL 0x00016870
ADD ESP,0x10
ADD EAX,ESI
MOV dword ptr [ESP + 0x14],EAX
JMP 0x0005d481
ADD ESP,0x4c
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,EDI
CALL 0x0005d0b0
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_0005d3e0(char *param_1,int *param_2)\n\n{\n  char *__s;\n  undefined4 *puVar1;\n  size_t sVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  size_t sVar5;\n  size_t sVar6;\n  char *pcVar7;\n  char *pcVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  byte bVar11;\n  int iVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  size_t sVar15;\n  byte *pbVar16;\n  char *pcVar17;\n  bool bVar18;\n  bool bVar19;\n  bool bVar20;\n  byte bVar21;\n  char *local_5c;\n  char *local_48;\n  \n  bVar21 = 0;\n  __s = (char *)param_2[1];\n  if (*__s == '/') {\n    uVar10 = FUN_0005d0b0();\n    return uVar10;\n  }\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }\n  puVar1 = (undefined4 *)*param_2;\n  sVar2 = strlen(__s);\n  do {\n    local_48 = strchr(param_1,(int)DAT_001c4728);\n    if (local_48 == (char *)0x0) {\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }\n    sVar15 = (int)local_48 - (int)param_1;\n    local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);\n    pcVar8 = local_5c;\n    if (param_1 != local_48) {\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }\n    pcVar13 = (char *)0x0;\n    strcpy(pcVar8,__s);\n    while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }\n    iVar12 = FUN_0005d0b0();\n    if (iVar12 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    param_1 = local_48 + 1;\n  } while( true );\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_0005d3e0(char *param_1,int *param_2)\n\n{\n  char *__s;\n  undefined4 *puVar1;\n  size_t sVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  size_t sVar5;\n  size_t sVar6;\n  char *pcVar7;\n  char *pcVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  byte bVar11;\n  int iVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  size_t sVar15;\n  byte *pbVar16;\n  char *pcVar17;\n  bool bVar18;\n  bool bVar19;\n  bool bVar20;\n  byte bVar21;\n  char *local_5c;\n  char *local_48;\n  \n  bVar21 = 0;\n  __s = (char *)param_2[1];\n  if (*__s == '/') {\n    uVar10 = FUN_0005d0b0();\n    return uVar10;\n  }\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }\n  puVar1 = (undefined4 *)*param_2;\n  sVar2 = strlen(__s);\n  do {\n    local_48 = strchr(param_1,(int)DAT_001c4728);\n    if (local_48 == (char *)0x0) {\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }\n    sVar15 = (int)local_48 - (int)param_1;\n    local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);\n    pcVar8 = local_5c;\n    if (param_1 != local_48) {\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }\n    pcVar13 = (char *)0x0;\n    strcpy(pcVar8,__s);\n    while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }\n    iVar12 = FUN_0005d0b0();\n    if (iVar12 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    param_1 = local_48 + 1;\n  } while( true );\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0005d3e0(char *param_1,int *param_2)" identifier (parameter_list "(char *param_1,int *param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *__s;\n  undefined4 *puVar1;\n  size_t sVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  size_t sVar5;\n  size_t sVar6;\n  char *pcVar7;\n  char *pcVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  byte bVar11;\n  int iVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  size_t sVar15;\n  byte *pbVar16;\n  char *pcVar17;\n  bool bVar18;\n  bool bVar19;\n  bool bVar20;\n  byte bVar21;\n  char *local_5c;\n  char *local_48;\n  \n  bVar21 = 0;\n  __s = (char *)param_2[1];\n  if (*__s == '/') {\n    uVar10 = FUN_0005d0b0();\n    return uVar10;\n  }\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }\n  puVar1 = (undefined4 *)*param_2;\n  sVar2 = strlen(__s);\n  do {\n    local_48 = strchr(param_1,(int)DAT_001c4728);\n    if (local_48 == (char *)0x0) {\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }\n    sVar15 = (int)local_48 - (int)param_1;\n    local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);\n    pcVar8 = local_5c;\n    if (param_1 != local_48) {\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }\n    pcVar13 = (char *)0x0;\n    strcpy(pcVar8,__s);\n    while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }\n    iVar12 = FUN_0005d0b0();\n    if (iVar12 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    param_1 = local_48 + 1;\n  } while( true );\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "byte bVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "char *pcVar13;" primitive_type (pointer_declarator "*pcVar13" * identifier) ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "size_t sVar15;" primitive_type identifier ;) (declaration "byte *pbVar16;" type_identifier (pointer_declarator "*pbVar16" * identifier) ;) (declaration "char *pcVar17;" primitive_type (pointer_declarator "*pcVar17" * identifier) ;) (declaration "bool bVar18;" primitive_type identifier ;) (declaration "bool bVar19;" primitive_type identifier ;) (declaration "bool bVar20;" primitive_type identifier ;) (declaration "byte bVar21;" type_identifier identifier ;) (declaration "char *local_5c;" primitive_type (pointer_declarator "*local_5c" * identifier) ;) (declaration "char *local_48;" primitive_type (pointer_declarator "*local_48" * identifier) ;) (expression_statement "bVar21 = 0;" (assignment_expression "bVar21 = 0" identifier = number_literal) ;) (expression_statement "__s = (char *)param_2[1];" (assignment_expression "__s = (char *)param_2[1]" identifier = (cast_expression "(char *)param_2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) ;) (if_statement "if (*__s == '/') {\n    uVar10 = FUN_0005d0b0();\n    return uVar10;\n  }" if (parenthesized_expression "(*__s == '/')" ( (binary_expression "*__s == '/'" (pointer_expression "*__s" * identifier) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n    uVar10 = FUN_0005d0b0();\n    return uVar10;\n  }" { (expression_statement "uVar10 = FUN_0005d0b0();" (assignment_expression "uVar10 = FUN_0005d0b0()" identifier = (call_expression "FUN_0005d0b0()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar10;" return identifier ;) })) (if_statement "if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }" if (parenthesized_expression "((param_1 == (char *)0x0) || (*param_1 == '\0'))" ( (binary_expression "(param_1 == (char *)0x0) || (*param_1 == '\0')" (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar1 = (undefined4 *)*param_2;" (assignment_expression "puVar1 = (undefined4 *)*param_2" identifier = (cast_expression "(undefined4 *)*param_2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (do_statement "do {\n    local_48 = strchr(param_1,(int)DAT_001c4728);\n    if (local_48 == (char *)0x0) {\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }\n    sVar15 = (int)local_48 - (int)param_1;\n    local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);\n    pcVar8 = local_5c;\n    if (param_1 != local_48) {\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }\n    pcVar13 = (char *)0x0;\n    strcpy(pcVar8,__s);\n    while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }\n    iVar12 = FUN_0005d0b0();\n    if (iVar12 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    param_1 = local_48 + 1;\n  } while( true );" do (compound_statement "{\n    local_48 = strchr(param_1,(int)DAT_001c4728);\n    if (local_48 == (char *)0x0) {\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }\n    sVar15 = (int)local_48 - (int)param_1;\n    local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);\n    pcVar8 = local_5c;\n    if (param_1 != local_48) {\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }\n    pcVar13 = (char *)0x0;\n    strcpy(pcVar8,__s);\n    while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }\n    iVar12 = FUN_0005d0b0();\n    if (iVar12 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    param_1 = local_48 + 1;\n  }" { (expression_statement "local_48 = strchr(param_1,(int)DAT_001c4728);" (assignment_expression "local_48 = strchr(param_1,(int)DAT_001c4728)" identifier = (call_expression "strchr(param_1,(int)DAT_001c4728)" identifier (argument_list "(param_1,(int)DAT_001c4728)" ( identifier , (cast_expression "(int)DAT_001c4728" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (if_statement "if (local_48 == (char *)0x0) {\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }" if (parenthesized_expression "(local_48 == (char *)0x0)" ( (binary_expression "local_48 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }" { (expression_statement "sVar15 = strlen(param_1);" (assignment_expression "sVar15 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "local_48 = param_1 + sVar15;" (assignment_expression "local_48 = param_1 + sVar15" identifier = (binary_expression "param_1 + sVar15" identifier + identifier)) ;) })) (expression_statement "sVar15 = (int)local_48 - (int)param_1;" (assignment_expression "sVar15 = (int)local_48 - (int)param_1" identifier = (binary_expression "(int)local_48 - (int)param_1" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);" (assignment_expression "local_5c = (char *)xmalloc(sVar2 + 2 + sVar15)" identifier = (cast_expression "(char *)xmalloc(sVar2 + 2 + sVar15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar2 + 2 + sVar15)" identifier (argument_list "(sVar2 + 2 + sVar15)" ( (binary_expression "sVar2 + 2 + sVar15" (binary_expression "sVar2 + 2" identifier + number_literal) + identifier) ))))) ;) (expression_statement "pcVar8 = local_5c;" (assignment_expression "pcVar8 = local_5c" identifier = identifier) ;) (if_statement "if (param_1 != local_48) {\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }" if (parenthesized_expression "(param_1 != local_48)" ( (binary_expression "param_1 != local_48" identifier != identifier) )) (compound_statement "{\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }" { (expression_statement "memcpy(local_5c,param_1,sVar15);" (call_expression "memcpy(local_5c,param_1,sVar15)" identifier (argument_list "(local_5c,param_1,sVar15)" ( identifier , identifier , identifier ))) ;) (expression_statement "local_5c[sVar15] = '/';" (assignment_expression "local_5c[sVar15] = '/'" (subscript_expression "local_5c[sVar15]" identifier [ identifier ]) = (char_literal "'/'" ' character ')) ;) (expression_statement "pcVar8 = local_5c + sVar15 + 1;" (assignment_expression "pcVar8 = local_5c + sVar15 + 1" identifier = (binary_expression "local_5c + sVar15 + 1" (binary_expression "local_5c + sVar15" identifier + identifier) + number_literal)) ;) })) (expression_statement "pcVar13 = (char *)0x0;" (assignment_expression "pcVar13 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "strcpy(pcVar8,__s);" (call_expression "strcpy(pcVar8,__s)" identifier (argument_list "(pcVar8,__s)" ( identifier , identifier ))) ;) (while_statement "while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }" while (parenthesized_expression "(pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0)" ( (comma_expression "pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0" (assignment_expression "pcVar13 = strchr(local_5c + (int)pcVar13,0x24)" identifier = (call_expression "strchr(local_5c + (int)pcVar13,0x24)" identifier (argument_list "(local_5c + (int)pcVar13,0x24)" ( (binary_expression "local_5c + (int)pcVar13" identifier + (cast_expression "(int)pcVar13" ( (type_descriptor "int" primitive_type) ) identifier)) , number_literal )))) , (binary_expression "pcVar13 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }" { (expression_statement "pcVar8 = strchr(pcVar13,0x2f);" (assignment_expression "pcVar8 = strchr(pcVar13,0x2f)" identifier = (call_expression "strchr(pcVar13,0x2f)" identifier (argument_list "(pcVar13,0x2f)" ( identifier , number_literal )))) ;) (expression_statement "sVar15 = strlen(local_5c);" (assignment_expression "sVar15 = strlen(local_5c)" identifier = (call_expression "strlen(local_5c)" identifier (argument_list "(local_5c)" ( identifier )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *pcVar8 = '\0';\n      }" { (expression_statement "*pcVar8 = '\0';" (assignment_expression "*pcVar8 = '\0'" (pointer_expression "*pcVar8" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "bVar11 = pcVar13[1];" (assignment_expression "bVar11 = pcVar13[1]" identifier = (subscript_expression "pcVar13[1]" identifier [ number_literal ])) ;) (expression_statement "pcVar7 = pcVar13 + 1;" (assignment_expression "pcVar7 = pcVar13 + 1" identifier = (binary_expression "pcVar13 + 1" identifier + number_literal)) ;) (if_statement "if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }" if (parenthesized_expression "(bVar11 == 0x7b)" ( (binary_expression "bVar11 == 0x7b" identifier == number_literal) )) (compound_statement "{\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }" { (expression_statement "bVar11 = pcVar13[2];" (assignment_expression "bVar11 = pcVar13[2]" identifier = (subscript_expression "pcVar13[2]" identifier [ number_literal ])) ;) (expression_statement "pcVar7 = pcVar13 + 2;" (assignment_expression "pcVar7 = pcVar13 + 2" identifier = (binary_expression "pcVar13 + 2" identifier + number_literal)) ;) })) (expression_statement "pbVar9 = (byte *)(pcVar7 + 1);" (assignment_expression "pbVar9 = (byte *)(pcVar7 + 1)" identifier = (cast_expression "(byte *)(pcVar7 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar7 + 1)" ( (binary_expression "pcVar7 + 1" identifier + number_literal) )))) ;) (expression_statement "bVar19 = bVar11 < 0x4c;" (assignment_expression "bVar19 = bVar11 < 0x4c" identifier = (binary_expression "bVar11 < 0x4c" identifier < number_literal)) ;) (expression_statement "bVar20 = bVar11 == 0x4c;" (assignment_expression "bVar20 = bVar11 == 0x4c" identifier = (binary_expression "bVar11 == 0x4c" identifier == number_literal)) ;) (if_statement "if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }" if (parenthesized_expression "(bVar20)" ( identifier )) (compound_statement "{\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }" { (expression_statement "iVar12 = 3;" (assignment_expression "iVar12 = 3" identifier = number_literal) ;) (expression_statement "pbVar14 = pbVar9;" (assignment_expression "pbVar14 = pbVar9" identifier = identifier) ;) (expression_statement "pbVar16 = (byte *)0x701f6;" (assignment_expression "pbVar16 = (byte *)0x701f6" identifier = (cast_expression "(byte *)0x701f6" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);" do (compound_statement "{\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        }" { (if_statement "if (iVar12 == 0) break;" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" identifier = (binary_expression "iVar12 + -1" identifier + number_literal)) ;) (expression_statement "bVar19 = *pbVar14 < *pbVar16;" (assignment_expression "bVar19 = *pbVar14 < *pbVar16" identifier = (binary_expression "*pbVar14 < *pbVar16" (pointer_expression "*pbVar14" * identifier) < (pointer_expression "*pbVar16" * identifier))) ;) (expression_statement "bVar20 = *pbVar14 == *pbVar16;" (assignment_expression "bVar20 = *pbVar14 == *pbVar16" identifier = (binary_expression "*pbVar14 == *pbVar16" (pointer_expression "*pbVar14" * identifier) == (pointer_expression "*pbVar16" * identifier))) ;) (expression_statement "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "pbVar14 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "pbVar16 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar16 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar20)" ( identifier )) ;) (expression_statement "bVar18 = false;" (assignment_expression "bVar18 = false" identifier = false) ;) (expression_statement "bVar19 = (!bVar19 && !bVar20) == bVar19;" (assignment_expression "bVar19 = (!bVar19 && !bVar20) == bVar19" identifier = (binary_expression "(!bVar19 && !bVar20) == bVar19" (parenthesized_expression "(!bVar19 && !bVar20)" ( (binary_expression "!bVar19 && !bVar20" (unary_expression "!bVar19" ! identifier) && (unary_expression "!bVar20" ! identifier)) )) == identifier)) ;) (if_statement "if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }" if (parenthesized_expression "(!bVar19)" ( (unary_expression "!bVar19" ! identifier) )) (compound_statement "{\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }" { (expression_statement "iVar12 = 4;" (assignment_expression "iVar12 = 4" identifier = number_literal) ;) (expression_statement "pbVar14 = &DAT_000af890;" (assignment_expression "pbVar14 = &DAT_000af890" identifier = (pointer_expression "&DAT_000af890" & identifier)) ;) (do_statement "do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);" do (compound_statement "{\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          }" { (if_statement "if (iVar12 == 0) break;" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" identifier = (binary_expression "iVar12 + -1" identifier + number_literal)) ;) (expression_statement "bVar18 = *pbVar9 < *pbVar14;" (assignment_expression "bVar18 = *pbVar9 < *pbVar14" identifier = (binary_expression "*pbVar9 < *pbVar14" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar14" * identifier))) ;) (expression_statement "bVar19 = *pbVar9 == *pbVar14;" (assignment_expression "bVar19 = *pbVar9 == *pbVar14" identifier = (binary_expression "*pbVar9 == *pbVar14" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar14" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "pbVar9 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "pbVar14 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar19)" ( identifier )) ;) (if_statement "if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;" if (parenthesized_expression "((!bVar18 && !bVar19) != bVar18)" ( (binary_expression "(!bVar18 && !bVar19) != bVar18" (parenthesized_expression "(!bVar18 && !bVar19)" ( (binary_expression "!bVar18 && !bVar19" (unary_expression "!bVar18" ! identifier) && (unary_expression "!bVar19" ! identifier)) )) != identifier) )) (goto_statement "goto LAB_0005d699;" goto statement_identifier ;)) })) (expression_statement "sVar5 = 3;" (assignment_expression "sVar5 = 3" identifier = number_literal) ;) (expression_statement "pcVar17 = (char *)0x0;" (assignment_expression "pcVar17 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar7 = "lib";" (assignment_expression "pcVar7 = "lib"" identifier = (string_literal ""lib"" " string_content ")) ;) (labeled_statement "LAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);" statement_identifier : (expression_statement "pcVar4 = (char *)xmalloc(sVar5 + sVar15);" (assignment_expression "pcVar4 = (char *)xmalloc(sVar5 + sVar15)" identifier = (cast_expression "(char *)xmalloc(sVar5 + sVar15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar5 + sVar15)" identifier (argument_list "(sVar5 + sVar15)" ( (binary_expression "sVar5 + sVar15" identifier + identifier) ))))) ;)) (expression_statement "iVar12 = (int)pcVar13 - (int)local_5c;" (assignment_expression "iVar12 = (int)pcVar13 - (int)local_5c" identifier = (binary_expression "(int)pcVar13 - (int)local_5c" (cast_expression "(int)pcVar13" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_5c" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }" if (parenthesized_expression "(pcVar8 == (char *)0x0)" ( (binary_expression "pcVar8 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }" { (expression_statement "sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);" (call_expression "sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7)" identifier (argument_list "(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7)" ( identifier , (string_literal ""%.*s%s"" " string_content ") , identifier , identifier , identifier ))) ;) (expression_statement "sVar15 = strlen(pcVar7);" (assignment_expression "sVar15 = strlen(pcVar7)" identifier = (call_expression "strlen(pcVar7)" identifier (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "pcVar13 = (char *)(iVar12 + sVar15);" (assignment_expression "pcVar13 = (char *)(iVar12 + sVar15)" identifier = (cast_expression "(char *)(iVar12 + sVar15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + sVar15)" ( (binary_expression "iVar12 + sVar15" identifier + identifier) )))) ;) }) (else_clause "else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }" else (compound_statement "{\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }" { (expression_statement "sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);" (call_expression "sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1)" identifier (argument_list "(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1)" ( identifier , (string_literal ""%.*s%s/%s"" " string_content ") , identifier , identifier , identifier , (binary_expression "pcVar8 + 1" identifier + number_literal) ))) ;) (expression_statement "sVar15 = strlen(pcVar7);" (assignment_expression "sVar15 = strlen(pcVar7)" identifier = (call_expression "strlen(pcVar7)" identifier (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "pcVar13 = (char *)(iVar12 + 1 + sVar15);" (assignment_expression "pcVar13 = (char *)(iVar12 + 1 + sVar15)" identifier = (cast_expression "(char *)(iVar12 + 1 + sVar15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 1 + sVar15)" ( (binary_expression "iVar12 + 1 + sVar15" (binary_expression "iVar12 + 1" identifier + number_literal) + identifier) )))) ;) }))) (expression_statement "free(local_5c);" (call_expression "free(local_5c)" identifier (argument_list "(local_5c)" ( identifier ))) ;) (expression_statement "local_5c = pcVar4;" (assignment_expression "local_5c = pcVar4" identifier = identifier) ;) }) (else_clause "else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }" else (compound_statement "{\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }" { (expression_statement "bVar19 = bVar11 < 0x4f;" (assignment_expression "bVar19 = bVar11 < 0x4f" identifier = (binary_expression "bVar11 < 0x4f" identifier < number_literal)) ;) (expression_statement "bVar20 = bVar11 == 0x4f;" (assignment_expression "bVar20 = bVar11 == 0x4f" identifier = (binary_expression "bVar11 == 0x4f" identifier == number_literal)) ;) (if_statement "if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }" if (parenthesized_expression "(bVar20)" ( identifier )) (compound_statement "{\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }" { (expression_statement "iVar12 = 6;" (assignment_expression "iVar12 = 6" identifier = number_literal) ;) (expression_statement "pbVar14 = pbVar9;" (assignment_expression "pbVar14 = pbVar9" identifier = identifier) ;) (expression_statement "pbVar16 = (byte *)0x704cc;" (assignment_expression "pbVar16 = (byte *)0x704cc" identifier = (cast_expression "(byte *)0x704cc" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);" do (compound_statement "{\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          }" { (if_statement "if (iVar12 == 0) break;" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" identifier = (binary_expression "iVar12 + -1" identifier + number_literal)) ;) (expression_statement "bVar19 = *pbVar14 < *pbVar16;" (assignment_expression "bVar19 = *pbVar14 < *pbVar16" identifier = (binary_expression "*pbVar14 < *pbVar16" (pointer_expression "*pbVar14" * identifier) < (pointer_expression "*pbVar16" * identifier))) ;) (expression_statement "bVar20 = *pbVar14 == *pbVar16;" (assignment_expression "bVar20 = *pbVar14 == *pbVar16" identifier = (binary_expression "*pbVar14 == *pbVar16" (pointer_expression "*pbVar14" * identifier) == (pointer_expression "*pbVar16" * identifier))) ;) (expression_statement "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "pbVar14 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "pbVar16 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar16 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar20)" ( identifier )) ;) (expression_statement "bVar18 = false;" (assignment_expression "bVar18 = false" identifier = false) ;) (expression_statement "bVar19 = (!bVar19 && !bVar20) == bVar19;" (assignment_expression "bVar19 = (!bVar19 && !bVar20) == bVar19" identifier = (binary_expression "(!bVar19 && !bVar20) == bVar19" (parenthesized_expression "(!bVar19 && !bVar20)" ( (binary_expression "!bVar19 && !bVar20" (unary_expression "!bVar19" ! identifier) && (unary_expression "!bVar20" ! identifier)) )) == identifier)) ;) (if_statement "if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }" if (parenthesized_expression "(!bVar19)" ( (unary_expression "!bVar19" ! identifier) )) (compound_statement "{\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }" { (expression_statement "iVar12 = 7;" (assignment_expression "iVar12 = 7" identifier = number_literal) ;) (expression_statement "pbVar14 = (byte *)"RIGIN}";" (assignment_expression "pbVar14 = (byte *)"RIGIN}"" identifier = (cast_expression "(byte *)"RIGIN}"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""RIGIN}"" " string_content "))) ;) (do_statement "do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);" do (compound_statement "{\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            }" { (if_statement "if (iVar12 == 0) break;" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" identifier = (binary_expression "iVar12 + -1" identifier + number_literal)) ;) (expression_statement "bVar18 = *pbVar9 < *pbVar14;" (assignment_expression "bVar18 = *pbVar9 < *pbVar14" identifier = (binary_expression "*pbVar9 < *pbVar14" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar14" * identifier))) ;) (expression_statement "bVar19 = *pbVar9 == *pbVar14;" (assignment_expression "bVar19 = *pbVar9 == *pbVar14" identifier = (binary_expression "*pbVar9 == *pbVar14" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar14" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "pbVar9 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "pbVar14 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar19)" ( identifier )) ;) (if_statement "if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;" if (parenthesized_expression "((!bVar18 && !bVar19) != bVar18)" ( (binary_expression "(!bVar18 && !bVar19) != bVar18" (parenthesized_expression "(!bVar18 && !bVar19)" ( (binary_expression "!bVar18 && !bVar19" (unary_expression "!bVar18" ! identifier) && (unary_expression "!bVar19" ! identifier)) )) != identifier) )) (goto_statement "goto LAB_0005d699;" goto statement_identifier ;)) })) (expression_statement "puVar3 = puVar1;" (assignment_expression "puVar3 = puVar1" identifier = identifier) ;) (if_statement "if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }" if (parenthesized_expression "(((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0))" ( (binary_expression "((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)" (parenthesized_expression "((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0))" ( (binary_expression "(puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)" (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)" ( (comma_expression "puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0" (assignment_expression "puVar3 = DAT_001c4614" identifier = identifier) , (binary_expression "DAT_001c4614 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)" ( (comma_expression "pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0" (assignment_expression "pcVar17 = (char *)*puVar3" identifier = (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) , (binary_expression "pcVar17 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }" { (if_statement "if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }" if (parenthesized_expression "(*pcVar17 == '/')" ( (binary_expression "*pcVar17 == '/'" (pointer_expression "*pcVar17" * identifier) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }" { (expression_statement "pcVar7 = (char *)xstrdup(pcVar17);" (assignment_expression "pcVar7 = (char *)xstrdup(pcVar17)" identifier = (cast_expression "(char *)xstrdup(pcVar17)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(pcVar17)" identifier (argument_list "(pcVar17)" ( identifier ))))) ;) }) (else_clause "else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }" else (compound_statement "{\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }" { (expression_statement "pcVar4 = (char *)getpwd();" (assignment_expression "pcVar4 = (char *)getpwd()" identifier = (cast_expression "(char *)getpwd()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "getpwd()" identifier (argument_list "()" ( ))))) ;) (expression_statement "sVar5 = strlen(pcVar17);" (assignment_expression "sVar5 = strlen(pcVar17)" identifier = (call_expression "strlen(pcVar17)" identifier (argument_list "(pcVar17)" ( identifier )))) ;) (expression_statement "sVar6 = strlen(pcVar4);" (assignment_expression "sVar6 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);" (assignment_expression "pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6)" identifier = (cast_expression "(char *)xmalloc(sVar5 + 2 + sVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar5 + 2 + sVar6)" identifier (argument_list "(sVar5 + 2 + sVar6)" ( (binary_expression "sVar5 + 2 + sVar6" (binary_expression "sVar5 + 2" identifier + number_literal) + identifier) ))))) ;) (expression_statement "sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);" (call_expression "sprintf(pcVar7,"%s/%s",pcVar4,pcVar17)" identifier (argument_list "(pcVar7,"%s/%s",pcVar4,pcVar17)" ( identifier , (string_literal ""%s/%s"" " string_content ") , identifier , identifier ))) ;) }))) (expression_statement "pcVar17 = strrchr(pcVar7,0x2f);" (assignment_expression "pcVar17 = strrchr(pcVar7,0x2f)" identifier = (call_expression "strrchr(pcVar7,0x2f)" identifier (argument_list "(pcVar7,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }" if (parenthesized_expression "(pcVar17 != (char *)0x0)" ( (binary_expression "pcVar17 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              *pcVar17 = '\0';\n            }" { (expression_statement "*pcVar17 = '\0';" (assignment_expression "*pcVar17 = '\0'" (pointer_expression "*pcVar17" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "sVar5 = strlen(pcVar7);" (assignment_expression "sVar5 = strlen(pcVar7)" identifier = (call_expression "strlen(pcVar7)" identifier (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "pcVar17 = pcVar7;" (assignment_expression "pcVar17 = pcVar7" identifier = identifier) ;) (goto_statement "goto LAB_0005d5b0;" goto statement_identifier ;) })) })) (labeled_statement "LAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }" statement_identifier : (if_statement "if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }" if (parenthesized_expression "(DAT_001c475c != 0)" ( (binary_expression "DAT_001c475c != 0" identifier != number_literal) )) (compound_statement "{\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }" { (expression_statement "uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);" (assignment_expression "uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5)" identifier = (call_expression "dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5)" identifier (argument_list "(0,"unrecognised or unsupported token \'%s\' in search path\n",5)" ( number_literal , (string_literal ""unrecognised or unsupported token \'%s\' in search path\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d90(uVar10,pcVar13);" (call_expression "FUN_00034d90(uVar10,pcVar13)" identifier (argument_list "(uVar10,pcVar13)" ( identifier , identifier ))) ;) }))) (if_statement "if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *pcVar8 = '/';\n        }" { (expression_statement "*pcVar8 = '/';" (assignment_expression "*pcVar8 = '/'" (pointer_expression "*pcVar8" * identifier) = (char_literal "'/'" ' character ')) ;) })) (expression_statement "pcVar17 = (char *)0x0;" (assignment_expression "pcVar17 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar13 = pcVar13 + (1 - (int)local_5c);" (assignment_expression "pcVar13 = pcVar13 + (1 - (int)local_5c)" identifier = (binary_expression "pcVar13 + (1 - (int)local_5c)" identifier + (parenthesized_expression "(1 - (int)local_5c)" ( (binary_expression "1 - (int)local_5c" number_literal - (cast_expression "(int)local_5c" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) }))) (expression_statement "free(pcVar17);" (call_expression "free(pcVar17)" identifier (argument_list "(pcVar17)" ( identifier ))) ;) })) (expression_statement "iVar12 = FUN_0005d0b0();" (assignment_expression "iVar12 = FUN_0005d0b0()" identifier = (call_expression "FUN_0005d0b0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar12 != 0) {\n      return 1;\n    }" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "free(local_5c);" (call_expression "free(local_5c)" identifier (argument_list "(local_5c)" ( identifier ))) ;) (if_statement "if (*local_48 == '\0') {\n      return 0;\n    }" if (parenthesized_expression "(*local_48 == '\0')" ( (binary_expression "*local_48 == '\0'" (pointer_expression "*local_48" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "param_1 = local_48 + 1;" (assignment_expression "param_1 = local_48 + 1" identifier = (binary_expression "local_48 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbfd_boolean __regparm3 gldaarch64linux32_search_needed(char *path,dt_needed *n,int force)\n\n{\n  char *__s;\n  size_t sVar1;\n  bfd *pbVar2;\n  char *pcVar3;\n  size_t sVar4;\n  size_t sVar5;\n  char *pcVar6;\n  byte *pbVar7;\n  char *pcVar8;\n  bfd_boolean bVar9;\n  byte bVar10;\n  int iVar11;\n  char *pcVar12;\n  byte *pbVar13;\n  size_t sVar14;\n  byte *pbVar15;\n  char *pcVar16;\n  bool bVar17;\n  bool bVar18;\n  bool bVar19;\n  byte bVar20;\n  char *local_5c;\n  char *local_48;\n  dt_needed needed;\n  \n  bVar20 = 0;\n  __s = n->name;\n  if (*__s == '/') {\n    bVar9 = gldaarch64linux32_try_needed(n,(int)__s,(dt_needed *)force);\n    return bVar9;\n  }\n  if ((path == (char *)0x0) || (*path == '\0')) {\n    return 0;\n  }\n  needed.by = n->by;\n  needed.name = __s;\n  sVar1 = strlen(__s);\n  do {\n    local_48 = strchr(path,(int)config.rpath_separator);\n    if (local_48 == (char *)0x0) {\n      sVar14 = strlen(path);\n      local_48 = path + sVar14;\n    }\n    sVar14 = (int)local_48 - (int)path;\n    local_5c = (char *)xmalloc(sVar1 + 2 + sVar14);\n    pcVar6 = local_5c;\n    if (path != local_48) {\n      memcpy(local_5c,path,sVar14);\n      local_5c[sVar14] = '/';\n      pcVar6 = local_5c + sVar14 + 1;\n    }\n    pcVar12 = (char *)0x0;\n    strcpy(pcVar6,__s);\n    while (pcVar12 = strchr(local_5c + (int)pcVar12,0x24), pcVar12 != (char *)0x0) {\n      pcVar6 = strchr(pcVar12,0x2f);\n      sVar14 = strlen(local_5c);\n      if (pcVar6 != (char *)0x0) {\n        *pcVar6 = '\0';\n      }\n      bVar10 = pcVar12[1];\n      pcVar8 = pcVar12 + 1;\n      if (bVar10 == 0x7b) {\n        bVar10 = pcVar12[2];\n        pcVar8 = pcVar12 + 2;\n      }\n      pbVar7 = (byte *)(pcVar8 + 1);\n      bVar18 = bVar10 < 0x4c;\n      bVar19 = bVar10 == 0x4c;\n      if (bVar19) {\n        iVar11 = 3;\n        pbVar13 = pbVar7;\n        pbVar15 = (byte *)0x701f6;\n        do {\n          if (iVar11 == 0) break;\n          iVar11 = iVar11 + -1;\n          bVar18 = *pbVar13 < *pbVar15;\n          bVar19 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n        } while (bVar19);\n        bVar17 = false;\n        bVar18 = (!bVar18 && !bVar19) == bVar18;\n        if (!bVar18) {\n          iVar11 = 4;\n          pbVar13 = &DAT_000af890;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar17 = *pbVar7 < *pbVar13;\n            bVar18 = *pbVar7 == *pbVar13;\n            pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          } while (bVar18);\n          if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n        }\n        sVar4 = 3;\n        pcVar16 = (char *)0x0;\n        pcVar8 = "lib";\nLAB_0005d5b0:\n        pcVar3 = (char *)xmalloc(sVar4 + sVar14);\n        iVar11 = (int)pcVar12 - (int)local_5c;\n        if (pcVar6 == (char *)0x0) {\n          sprintf(pcVar3,"%.*s%s",iVar11,local_5c,pcVar8);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + sVar14);\n        }\n        else {\n          sprintf(pcVar3,"%.*s%s/%s",iVar11,local_5c,pcVar8,pcVar6 + 1);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + 1 + sVar14);\n        }\n        free(local_5c);\n        local_5c = pcVar3;\n      }\n      else {\n        bVar18 = bVar10 < 0x4f;\n        bVar19 = bVar10 == 0x4f;\n        if (bVar19) {\n          iVar11 = 6;\n          pbVar13 = pbVar7;\n          pbVar15 = (byte *)0x704cc;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar18 = *pbVar13 < *pbVar15;\n            bVar19 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n          } while (bVar19);\n          bVar17 = false;\n          bVar18 = (!bVar18 && !bVar19) == bVar18;\n          if (!bVar18) {\n            iVar11 = 7;\n            pbVar13 = (byte *)"RIGIN}";\n            do {\n              if (iVar11 == 0) break;\n              iVar11 = iVar11 + -1;\n              bVar17 = *pbVar7 < *pbVar13;\n              bVar18 = *pbVar7 == *pbVar13;\n              pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n              pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            } while (bVar18);\n            if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n          }\n          pbVar2 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0)) {\n            if (*pcVar16 == '/') {\n              pcVar8 = (char *)xstrdup(pcVar16);\n            }\n            else {\n              pcVar3 = (char *)getpwd();\n              sVar4 = strlen(pcVar16);\n              sVar5 = strlen(pcVar3);\n              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);\n              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);\n            }\n            pcVar16 = strrchr(pcVar8,0x2f);\n            if (pcVar16 != (char *)0x0) {\n              *pcVar16 = '\0';\n            }\n            sVar4 = strlen(pcVar8);\n            pcVar16 = pcVar8;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (verbose != 0) {\n          pcVar8 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    );\n          info_msg(pcVar8,pcVar12);\n        }\n        if (pcVar6 != (char *)0x0) {\n          *pcVar6 = '/';\n        }\n        pcVar16 = (char *)0x0;\n        pcVar12 = pcVar12 + (1 - (int)local_5c);\n      }\n      free(pcVar16);\n    }\n    needed.name = local_5c;\n    bVar9 = gldaarch64linux32_try_needed(&needed,(int)local_5c,(dt_needed *)force);\n    if (bVar9 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    path = local_48 + 1;\n  } while( true );\n}\n\n" comment (function_definition "bfd_boolean __regparm3 gldaarch64linux32_search_needed(char *path,dt_needed *n,int force)\n\n{\n  char *__s;\n  size_t sVar1;\n  bfd *pbVar2;\n  char *pcVar3;\n  size_t sVar4;\n  size_t sVar5;\n  char *pcVar6;\n  byte *pbVar7;\n  char *pcVar8;\n  bfd_boolean bVar9;\n  byte bVar10;\n  int iVar11;\n  char *pcVar12;\n  byte *pbVar13;\n  size_t sVar14;\n  byte *pbVar15;\n  char *pcVar16;\n  bool bVar17;\n  bool bVar18;\n  bool bVar19;\n  byte bVar20;\n  char *local_5c;\n  char *local_48;\n  dt_needed needed;\n  \n  bVar20 = 0;\n  __s = n->name;\n  if (*__s == '/') {\n    bVar9 = gldaarch64linux32_try_needed(n,(int)__s,(dt_needed *)force);\n    return bVar9;\n  }\n  if ((path == (char *)0x0) || (*path == '\0')) {\n    return 0;\n  }\n  needed.by = n->by;\n  needed.name = __s;\n  sVar1 = strlen(__s);\n  do {\n    local_48 = strchr(path,(int)config.rpath_separator);\n    if (local_48 == (char *)0x0) {\n      sVar14 = strlen(path);\n      local_48 = path + sVar14;\n    }\n    sVar14 = (int)local_48 - (int)path;\n    local_5c = (char *)xmalloc(sVar1 + 2 + sVar14);\n    pcVar6 = local_5c;\n    if (path != local_48) {\n      memcpy(local_5c,path,sVar14);\n      local_5c[sVar14] = '/';\n      pcVar6 = local_5c + sVar14 + 1;\n    }\n    pcVar12 = (char *)0x0;\n    strcpy(pcVar6,__s);\n    while (pcVar12 = strchr(local_5c + (int)pcVar12,0x24), pcVar12 != (char *)0x0) {\n      pcVar6 = strchr(pcVar12,0x2f);\n      sVar14 = strlen(local_5c);\n      if (pcVar6 != (char *)0x0) {\n        *pcVar6 = '\0';\n      }\n      bVar10 = pcVar12[1];\n      pcVar8 = pcVar12 + 1;\n      if (bVar10 == 0x7b) {\n        bVar10 = pcVar12[2];\n        pcVar8 = pcVar12 + 2;\n      }\n      pbVar7 = (byte *)(pcVar8 + 1);\n      bVar18 = bVar10 < 0x4c;\n      bVar19 = bVar10 == 0x4c;\n      if (bVar19) {\n        iVar11 = 3;\n        pbVar13 = pbVar7;\n        pbVar15 = (byte *)0x701f6;\n        do {\n          if (iVar11 == 0) break;\n          iVar11 = iVar11 + -1;\n          bVar18 = *pbVar13 < *pbVar15;\n          bVar19 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n        } while (bVar19);\n        bVar17 = false;\n        bVar18 = (!bVar18 && !bVar19) == bVar18;\n        if (!bVar18) {\n          iVar11 = 4;\n          pbVar13 = &DAT_000af890;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar17 = *pbVar7 < *pbVar13;\n            bVar18 = *pbVar7 == *pbVar13;\n            pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          } while (bVar18);\n          if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n        }\n        sVar4 = 3;\n        pcVar16 = (char *)0x0;\n        pcVar8 = "lib";\nLAB_0005d5b0:\n        pcVar3 = (char *)xmalloc(sVar4 + sVar14);\n        iVar11 = (int)pcVar12 - (int)local_5c;\n        if (pcVar6 == (char *)0x0) {\n          sprintf(pcVar3,"%.*s%s",iVar11,local_5c,pcVar8);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + sVar14);\n        }\n        else {\n          sprintf(pcVar3,"%.*s%s/%s",iVar11,local_5c,pcVar8,pcVar6 + 1);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + 1 + sVar14);\n        }\n        free(local_5c);\n        local_5c = pcVar3;\n      }\n      else {\n        bVar18 = bVar10 < 0x4f;\n        bVar19 = bVar10 == 0x4f;\n        if (bVar19) {\n          iVar11 = 6;\n          pbVar13 = pbVar7;\n          pbVar15 = (byte *)0x704cc;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar18 = *pbVar13 < *pbVar15;\n            bVar19 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n          } while (bVar19);\n          bVar17 = false;\n          bVar18 = (!bVar18 && !bVar19) == bVar18;\n          if (!bVar18) {\n            iVar11 = 7;\n            pbVar13 = (byte *)"RIGIN}";\n            do {\n              if (iVar11 == 0) break;\n              iVar11 = iVar11 + -1;\n              bVar17 = *pbVar7 < *pbVar13;\n              bVar18 = *pbVar7 == *pbVar13;\n              pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n              pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            } while (bVar18);\n            if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n          }\n          pbVar2 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0)) {\n            if (*pcVar16 == '/') {\n              pcVar8 = (char *)xstrdup(pcVar16);\n            }\n            else {\n              pcVar3 = (char *)getpwd();\n              sVar4 = strlen(pcVar16);\n              sVar5 = strlen(pcVar3);\n              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);\n              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);\n            }\n            pcVar16 = strrchr(pcVar8,0x2f);\n            if (pcVar16 != (char *)0x0) {\n              *pcVar16 = '\0';\n            }\n            sVar4 = strlen(pcVar8);\n            pcVar16 = pcVar8;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (verbose != 0) {\n          pcVar8 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    );\n          info_msg(pcVar8,pcVar12);\n        }\n        if (pcVar6 != (char *)0x0) {\n          *pcVar6 = '/';\n        }\n        pcVar16 = (char *)0x0;\n        pcVar12 = pcVar12 + (1 - (int)local_5c);\n      }\n      free(pcVar16);\n    }\n    needed.name = local_5c;\n    bVar9 = gldaarch64linux32_try_needed(&needed,(int)local_5c,(dt_needed *)force);\n    if (bVar9 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    path = local_48 + 1;\n  } while( true );\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "gldaarch64linux32_search_needed(char *path,dt_needed *n,int force)" identifier (parameter_list "(char *path,dt_needed *n,int force)" ( (parameter_declaration "char *path" primitive_type (pointer_declarator "*path" * identifier)) , (parameter_declaration "dt_needed *n" type_identifier (pointer_declarator "*n" * identifier)) , (parameter_declaration "int force" primitive_type identifier) ))) (compound_statement "{\n  char *__s;\n  size_t sVar1;\n  bfd *pbVar2;\n  char *pcVar3;\n  size_t sVar4;\n  size_t sVar5;\n  char *pcVar6;\n  byte *pbVar7;\n  char *pcVar8;\n  bfd_boolean bVar9;\n  byte bVar10;\n  int iVar11;\n  char *pcVar12;\n  byte *pbVar13;\n  size_t sVar14;\n  byte *pbVar15;\n  char *pcVar16;\n  bool bVar17;\n  bool bVar18;\n  bool bVar19;\n  byte bVar20;\n  char *local_5c;\n  char *local_48;\n  dt_needed needed;\n  \n  bVar20 = 0;\n  __s = n->name;\n  if (*__s == '/') {\n    bVar9 = gldaarch64linux32_try_needed(n,(int)__s,(dt_needed *)force);\n    return bVar9;\n  }\n  if ((path == (char *)0x0) || (*path == '\0')) {\n    return 0;\n  }\n  needed.by = n->by;\n  needed.name = __s;\n  sVar1 = strlen(__s);\n  do {\n    local_48 = strchr(path,(int)config.rpath_separator);\n    if (local_48 == (char *)0x0) {\n      sVar14 = strlen(path);\n      local_48 = path + sVar14;\n    }\n    sVar14 = (int)local_48 - (int)path;\n    local_5c = (char *)xmalloc(sVar1 + 2 + sVar14);\n    pcVar6 = local_5c;\n    if (path != local_48) {\n      memcpy(local_5c,path,sVar14);\n      local_5c[sVar14] = '/';\n      pcVar6 = local_5c + sVar14 + 1;\n    }\n    pcVar12 = (char *)0x0;\n    strcpy(pcVar6,__s);\n    while (pcVar12 = strchr(local_5c + (int)pcVar12,0x24), pcVar12 != (char *)0x0) {\n      pcVar6 = strchr(pcVar12,0x2f);\n      sVar14 = strlen(local_5c);\n      if (pcVar6 != (char *)0x0) {\n        *pcVar6 = '\0';\n      }\n      bVar10 = pcVar12[1];\n      pcVar8 = pcVar12 + 1;\n      if (bVar10 == 0x7b) {\n        bVar10 = pcVar12[2];\n        pcVar8 = pcVar12 + 2;\n      }\n      pbVar7 = (byte *)(pcVar8 + 1);\n      bVar18 = bVar10 < 0x4c;\n      bVar19 = bVar10 == 0x4c;\n      if (bVar19) {\n        iVar11 = 3;\n        pbVar13 = pbVar7;\n        pbVar15 = (byte *)0x701f6;\n        do {\n          if (iVar11 == 0) break;\n          iVar11 = iVar11 + -1;\n          bVar18 = *pbVar13 < *pbVar15;\n          bVar19 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n        } while (bVar19);\n        bVar17 = false;\n        bVar18 = (!bVar18 && !bVar19) == bVar18;\n        if (!bVar18) {\n          iVar11 = 4;\n          pbVar13 = &DAT_000af890;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar17 = *pbVar7 < *pbVar13;\n            bVar18 = *pbVar7 == *pbVar13;\n            pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          } while (bVar18);\n          if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n        }\n        sVar4 = 3;\n        pcVar16 = (char *)0x0;\n        pcVar8 = "lib";\nLAB_0005d5b0:\n        pcVar3 = (char *)xmalloc(sVar4 + sVar14);\n        iVar11 = (int)pcVar12 - (int)local_5c;\n        if (pcVar6 == (char *)0x0) {\n          sprintf(pcVar3,"%.*s%s",iVar11,local_5c,pcVar8);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + sVar14);\n        }\n        else {\n          sprintf(pcVar3,"%.*s%s/%s",iVar11,local_5c,pcVar8,pcVar6 + 1);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + 1 + sVar14);\n        }\n        free(local_5c);\n        local_5c = pcVar3;\n      }\n      else {\n        bVar18 = bVar10 < 0x4f;\n        bVar19 = bVar10 == 0x4f;\n        if (bVar19) {\n          iVar11 = 6;\n          pbVar13 = pbVar7;\n          pbVar15 = (byte *)0x704cc;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar18 = *pbVar13 < *pbVar15;\n            bVar19 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n          } while (bVar19);\n          bVar17 = false;\n          bVar18 = (!bVar18 && !bVar19) == bVar18;\n          if (!bVar18) {\n            iVar11 = 7;\n            pbVar13 = (byte *)"RIGIN}";\n            do {\n              if (iVar11 == 0) break;\n              iVar11 = iVar11 + -1;\n              bVar17 = *pbVar7 < *pbVar13;\n              bVar18 = *pbVar7 == *pbVar13;\n              pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n              pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            } while (bVar18);\n            if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n          }\n          pbVar2 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0)) {\n            if (*pcVar16 == '/') {\n              pcVar8 = (char *)xstrdup(pcVar16);\n            }\n            else {\n              pcVar3 = (char *)getpwd();\n              sVar4 = strlen(pcVar16);\n              sVar5 = strlen(pcVar3);\n              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);\n              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);\n            }\n            pcVar16 = strrchr(pcVar8,0x2f);\n            if (pcVar16 != (char *)0x0) {\n              *pcVar16 = '\0';\n            }\n            sVar4 = strlen(pcVar8);\n            pcVar16 = pcVar8;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (verbose != 0) {\n          pcVar8 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    );\n          info_msg(pcVar8,pcVar12);\n        }\n        if (pcVar6 != (char *)0x0) {\n          *pcVar6 = '/';\n        }\n        pcVar16 = (char *)0x0;\n        pcVar12 = pcVar12 + (1 - (int)local_5c);\n      }\n      free(pcVar16);\n    }\n    needed.name = local_5c;\n    bVar9 = gldaarch64linux32_try_needed(&needed,(int)local_5c,(dt_needed *)force);\n    if (bVar9 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    path = local_48 + 1;\n  } while( true );\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "bfd *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "bfd_boolean bVar9;" type_identifier identifier ;) (declaration "byte bVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "char *pcVar12;" primitive_type (pointer_declarator "*pcVar12" * identifier) ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (declaration "size_t sVar14;" primitive_type identifier ;) (declaration "byte *pbVar15;" type_identifier (pointer_declarator "*pbVar15" * identifier) ;) (declaration "char *pcVar16;" primitive_type (pointer_declarator "*pcVar16" * identifier) ;) (declaration "bool bVar17;" primitive_type identifier ;) (declaration "bool bVar18;" primitive_type identifier ;) (declaration "bool bVar19;" primitive_type identifier ;) (declaration "byte bVar20;" type_identifier identifier ;) (declaration "char *local_5c;" primitive_type (pointer_declarator "*local_5c" * identifier) ;) (declaration "char *local_48;" primitive_type (pointer_declarator "*local_48" * identifier) ;) (declaration "dt_needed needed;" type_identifier identifier ;) (expression_statement "bVar20 = 0;" (assignment_expression "bVar20 = 0" identifier = number_literal) ;) (expression_statement "__s = n->name;" (assignment_expression "__s = n->name" identifier = (field_expression "n->name" identifier -> field_identifier)) ;) (if_statement "if (*__s == '/') {\n    bVar9 = gldaarch64linux32_try_needed(n,(int)__s,(dt_needed *)force);\n    return bVar9;\n  }" if (parenthesized_expression "(*__s == '/')" ( (binary_expression "*__s == '/'" (pointer_expression "*__s" * identifier) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n    bVar9 = gldaarch64linux32_try_needed(n,(int)__s,(dt_needed *)force);\n    return bVar9;\n  }" { (expression_statement "bVar9 = gldaarch64linux32_try_needed(n,(int)__s,(dt_needed *)force);" (assignment_expression "bVar9 = gldaarch64linux32_try_needed(n,(int)__s,(dt_needed *)force)" identifier = (call_expression "gldaarch64linux32_try_needed(n,(int)__s,(dt_needed *)force)" identifier (argument_list "(n,(int)__s,(dt_needed *)force)" ( identifier , (cast_expression "(int)__s" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(dt_needed *)force" ( (type_descriptor "dt_needed *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (return_statement "return bVar9;" return identifier ;) })) (if_statement "if ((path == (char *)0x0) || (*path == '\0')) {\n    return 0;\n  }" if (parenthesized_expression "((path == (char *)0x0) || (*path == '\0'))" ( (binary_expression "(path == (char *)0x0) || (*path == '\0')" (parenthesized_expression "(path == (char *)0x0)" ( (binary_expression "path == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*path == '\0')" ( (binary_expression "*path == '\0'" (pointer_expression "*path" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "needed.by = n->by;" (assignment_expression "needed.by = n->by" (field_expression "needed.by" identifier . field_identifier) = (field_expression "n->by" identifier -> field_identifier)) ;) (expression_statement "needed.name = __s;" (assignment_expression "needed.name = __s" (field_expression "needed.name" identifier . field_identifier) = identifier) ;) (expression_statement "sVar1 = strlen(__s);" (assignment_expression "sVar1 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (do_statement "do {\n    local_48 = strchr(path,(int)config.rpath_separator);\n    if (local_48 == (char *)0x0) {\n      sVar14 = strlen(path);\n      local_48 = path + sVar14;\n    }\n    sVar14 = (int)local_48 - (int)path;\n    local_5c = (char *)xmalloc(sVar1 + 2 + sVar14);\n    pcVar6 = local_5c;\n    if (path != local_48) {\n      memcpy(local_5c,path,sVar14);\n      local_5c[sVar14] = '/';\n      pcVar6 = local_5c + sVar14 + 1;\n    }\n    pcVar12 = (char *)0x0;\n    strcpy(pcVar6,__s);\n    while (pcVar12 = strchr(local_5c + (int)pcVar12,0x24), pcVar12 != (char *)0x0) {\n      pcVar6 = strchr(pcVar12,0x2f);\n      sVar14 = strlen(local_5c);\n      if (pcVar6 != (char *)0x0) {\n        *pcVar6 = '\0';\n      }\n      bVar10 = pcVar12[1];\n      pcVar8 = pcVar12 + 1;\n      if (bVar10 == 0x7b) {\n        bVar10 = pcVar12[2];\n        pcVar8 = pcVar12 + 2;\n      }\n      pbVar7 = (byte *)(pcVar8 + 1);\n      bVar18 = bVar10 < 0x4c;\n      bVar19 = bVar10 == 0x4c;\n      if (bVar19) {\n        iVar11 = 3;\n        pbVar13 = pbVar7;\n        pbVar15 = (byte *)0x701f6;\n        do {\n          if (iVar11 == 0) break;\n          iVar11 = iVar11 + -1;\n          bVar18 = *pbVar13 < *pbVar15;\n          bVar19 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n        } while (bVar19);\n        bVar17 = false;\n        bVar18 = (!bVar18 && !bVar19) == bVar18;\n        if (!bVar18) {\n          iVar11 = 4;\n          pbVar13 = &DAT_000af890;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar17 = *pbVar7 < *pbVar13;\n            bVar18 = *pbVar7 == *pbVar13;\n            pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          } while (bVar18);\n          if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n        }\n        sVar4 = 3;\n        pcVar16 = (char *)0x0;\n        pcVar8 = "lib";\nLAB_0005d5b0:\n        pcVar3 = (char *)xmalloc(sVar4 + sVar14);\n        iVar11 = (int)pcVar12 - (int)local_5c;\n        if (pcVar6 == (char *)0x0) {\n          sprintf(pcVar3,"%.*s%s",iVar11,local_5c,pcVar8);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + sVar14);\n        }\n        else {\n          sprintf(pcVar3,"%.*s%s/%s",iVar11,local_5c,pcVar8,pcVar6 + 1);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + 1 + sVar14);\n        }\n        free(local_5c);\n        local_5c = pcVar3;\n      }\n      else {\n        bVar18 = bVar10 < 0x4f;\n        bVar19 = bVar10 == 0x4f;\n        if (bVar19) {\n          iVar11 = 6;\n          pbVar13 = pbVar7;\n          pbVar15 = (byte *)0x704cc;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar18 = *pbVar13 < *pbVar15;\n            bVar19 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n          } while (bVar19);\n          bVar17 = false;\n          bVar18 = (!bVar18 && !bVar19) == bVar18;\n          if (!bVar18) {\n            iVar11 = 7;\n            pbVar13 = (byte *)"RIGIN}";\n            do {\n              if (iVar11 == 0) break;\n              iVar11 = iVar11 + -1;\n              bVar17 = *pbVar7 < *pbVar13;\n              bVar18 = *pbVar7 == *pbVar13;\n              pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n              pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            } while (bVar18);\n            if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n          }\n          pbVar2 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0)) {\n            if (*pcVar16 == '/') {\n              pcVar8 = (char *)xstrdup(pcVar16);\n            }\n            else {\n              pcVar3 = (char *)getpwd();\n              sVar4 = strlen(pcVar16);\n              sVar5 = strlen(pcVar3);\n              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);\n              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);\n            }\n            pcVar16 = strrchr(pcVar8,0x2f);\n            if (pcVar16 != (char *)0x0) {\n              *pcVar16 = '\0';\n            }\n            sVar4 = strlen(pcVar8);\n            pcVar16 = pcVar8;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (verbose != 0) {\n          pcVar8 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    );\n          info_msg(pcVar8,pcVar12);\n        }\n        if (pcVar6 != (char *)0x0) {\n          *pcVar6 = '/';\n        }\n        pcVar16 = (char *)0x0;\n        pcVar12 = pcVar12 + (1 - (int)local_5c);\n      }\n      free(pcVar16);\n    }\n    needed.name = local_5c;\n    bVar9 = gldaarch64linux32_try_needed(&needed,(int)local_5c,(dt_needed *)force);\n    if (bVar9 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    path = local_48 + 1;\n  } while( true );" do (compound_statement "{\n    local_48 = strchr(path,(int)config.rpath_separator);\n    if (local_48 == (char *)0x0) {\n      sVar14 = strlen(path);\n      local_48 = path + sVar14;\n    }\n    sVar14 = (int)local_48 - (int)path;\n    local_5c = (char *)xmalloc(sVar1 + 2 + sVar14);\n    pcVar6 = local_5c;\n    if (path != local_48) {\n      memcpy(local_5c,path,sVar14);\n      local_5c[sVar14] = '/';\n      pcVar6 = local_5c + sVar14 + 1;\n    }\n    pcVar12 = (char *)0x0;\n    strcpy(pcVar6,__s);\n    while (pcVar12 = strchr(local_5c + (int)pcVar12,0x24), pcVar12 != (char *)0x0) {\n      pcVar6 = strchr(pcVar12,0x2f);\n      sVar14 = strlen(local_5c);\n      if (pcVar6 != (char *)0x0) {\n        *pcVar6 = '\0';\n      }\n      bVar10 = pcVar12[1];\n      pcVar8 = pcVar12 + 1;\n      if (bVar10 == 0x7b) {\n        bVar10 = pcVar12[2];\n        pcVar8 = pcVar12 + 2;\n      }\n      pbVar7 = (byte *)(pcVar8 + 1);\n      bVar18 = bVar10 < 0x4c;\n      bVar19 = bVar10 == 0x4c;\n      if (bVar19) {\n        iVar11 = 3;\n        pbVar13 = pbVar7;\n        pbVar15 = (byte *)0x701f6;\n        do {\n          if (iVar11 == 0) break;\n          iVar11 = iVar11 + -1;\n          bVar18 = *pbVar13 < *pbVar15;\n          bVar19 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n        } while (bVar19);\n        bVar17 = false;\n        bVar18 = (!bVar18 && !bVar19) == bVar18;\n        if (!bVar18) {\n          iVar11 = 4;\n          pbVar13 = &DAT_000af890;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar17 = *pbVar7 < *pbVar13;\n            bVar18 = *pbVar7 == *pbVar13;\n            pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          } while (bVar18);\n          if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n        }\n        sVar4 = 3;\n        pcVar16 = (char *)0x0;\n        pcVar8 = "lib";\nLAB_0005d5b0:\n        pcVar3 = (char *)xmalloc(sVar4 + sVar14);\n        iVar11 = (int)pcVar12 - (int)local_5c;\n        if (pcVar6 == (char *)0x0) {\n          sprintf(pcVar3,"%.*s%s",iVar11,local_5c,pcVar8);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + sVar14);\n        }\n        else {\n          sprintf(pcVar3,"%.*s%s/%s",iVar11,local_5c,pcVar8,pcVar6 + 1);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + 1 + sVar14);\n        }\n        free(local_5c);\n        local_5c = pcVar3;\n      }\n      else {\n        bVar18 = bVar10 < 0x4f;\n        bVar19 = bVar10 == 0x4f;\n        if (bVar19) {\n          iVar11 = 6;\n          pbVar13 = pbVar7;\n          pbVar15 = (byte *)0x704cc;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar18 = *pbVar13 < *pbVar15;\n            bVar19 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n          } while (bVar19);\n          bVar17 = false;\n          bVar18 = (!bVar18 && !bVar19) == bVar18;\n          if (!bVar18) {\n            iVar11 = 7;\n            pbVar13 = (byte *)"RIGIN}";\n            do {\n              if (iVar11 == 0) break;\n              iVar11 = iVar11 + -1;\n              bVar17 = *pbVar7 < *pbVar13;\n              bVar18 = *pbVar7 == *pbVar13;\n              pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n              pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            } while (bVar18);\n            if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n          }\n          pbVar2 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0)) {\n            if (*pcVar16 == '/') {\n              pcVar8 = (char *)xstrdup(pcVar16);\n            }\n            else {\n              pcVar3 = (char *)getpwd();\n              sVar4 = strlen(pcVar16);\n              sVar5 = strlen(pcVar3);\n              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);\n              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);\n            }\n            pcVar16 = strrchr(pcVar8,0x2f);\n            if (pcVar16 != (char *)0x0) {\n              *pcVar16 = '\0';\n            }\n            sVar4 = strlen(pcVar8);\n            pcVar16 = pcVar8;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (verbose != 0) {\n          pcVar8 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    );\n          info_msg(pcVar8,pcVar12);\n        }\n        if (pcVar6 != (char *)0x0) {\n          *pcVar6 = '/';\n        }\n        pcVar16 = (char *)0x0;\n        pcVar12 = pcVar12 + (1 - (int)local_5c);\n      }\n      free(pcVar16);\n    }\n    needed.name = local_5c;\n    bVar9 = gldaarch64linux32_try_needed(&needed,(int)local_5c,(dt_needed *)force);\n    if (bVar9 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    path = local_48 + 1;\n  }" { (expression_statement "local_48 = strchr(path,(int)config.rpath_separator);" (assignment_expression "local_48 = strchr(path,(int)config.rpath_separator)" identifier = (call_expression "strchr(path,(int)config.rpath_separator)" identifier (argument_list "(path,(int)config.rpath_separator)" ( identifier , (cast_expression "(int)config.rpath_separator" ( (type_descriptor "int" primitive_type) ) (field_expression "config.rpath_separator" identifier . field_identifier)) )))) ;) (if_statement "if (local_48 == (char *)0x0) {\n      sVar14 = strlen(path);\n      local_48 = path + sVar14;\n    }" if (parenthesized_expression "(local_48 == (char *)0x0)" ( (binary_expression "local_48 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sVar14 = strlen(path);\n      local_48 = path + sVar14;\n    }" { (expression_statement "sVar14 = strlen(path);" (assignment_expression "sVar14 = strlen(path)" identifier = (call_expression "strlen(path)" identifier (argument_list "(path)" ( identifier )))) ;) (expression_statement "local_48 = path + sVar14;" (assignment_expression "local_48 = path + sVar14" identifier = (binary_expression "path + sVar14" identifier + identifier)) ;) })) (expression_statement "sVar14 = (int)local_48 - (int)path;" (assignment_expression "sVar14 = (int)local_48 - (int)path" identifier = (binary_expression "(int)local_48 - (int)path" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)path" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "local_5c = (char *)xmalloc(sVar1 + 2 + sVar14);" (assignment_expression "local_5c = (char *)xmalloc(sVar1 + 2 + sVar14)" identifier = (cast_expression "(char *)xmalloc(sVar1 + 2 + sVar14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar1 + 2 + sVar14)" identifier (argument_list "(sVar1 + 2 + sVar14)" ( (binary_expression "sVar1 + 2 + sVar14" (binary_expression "sVar1 + 2" identifier + number_literal) + identifier) ))))) ;) (expression_statement "pcVar6 = local_5c;" (assignment_expression "pcVar6 = local_5c" identifier = identifier) ;) (if_statement "if (path != local_48) {\n      memcpy(local_5c,path,sVar14);\n      local_5c[sVar14] = '/';\n      pcVar6 = local_5c + sVar14 + 1;\n    }" if (parenthesized_expression "(path != local_48)" ( (binary_expression "path != local_48" identifier != identifier) )) (compound_statement "{\n      memcpy(local_5c,path,sVar14);\n      local_5c[sVar14] = '/';\n      pcVar6 = local_5c + sVar14 + 1;\n    }" { (expression_statement "memcpy(local_5c,path,sVar14);" (call_expression "memcpy(local_5c,path,sVar14)" identifier (argument_list "(local_5c,path,sVar14)" ( identifier , identifier , identifier ))) ;) (expression_statement "local_5c[sVar14] = '/';" (assignment_expression "local_5c[sVar14] = '/'" (subscript_expression "local_5c[sVar14]" identifier [ identifier ]) = (char_literal "'/'" ' character ')) ;) (expression_statement "pcVar6 = local_5c + sVar14 + 1;" (assignment_expression "pcVar6 = local_5c + sVar14 + 1" identifier = (binary_expression "local_5c + sVar14 + 1" (binary_expression "local_5c + sVar14" identifier + identifier) + number_literal)) ;) })) (expression_statement "pcVar12 = (char *)0x0;" (assignment_expression "pcVar12 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "strcpy(pcVar6,__s);" (call_expression "strcpy(pcVar6,__s)" identifier (argument_list "(pcVar6,__s)" ( identifier , identifier ))) ;) (while_statement "while (pcVar12 = strchr(local_5c + (int)pcVar12,0x24), pcVar12 != (char *)0x0) {\n      pcVar6 = strchr(pcVar12,0x2f);\n      sVar14 = strlen(local_5c);\n      if (pcVar6 != (char *)0x0) {\n        *pcVar6 = '\0';\n      }\n      bVar10 = pcVar12[1];\n      pcVar8 = pcVar12 + 1;\n      if (bVar10 == 0x7b) {\n        bVar10 = pcVar12[2];\n        pcVar8 = pcVar12 + 2;\n      }\n      pbVar7 = (byte *)(pcVar8 + 1);\n      bVar18 = bVar10 < 0x4c;\n      bVar19 = bVar10 == 0x4c;\n      if (bVar19) {\n        iVar11 = 3;\n        pbVar13 = pbVar7;\n        pbVar15 = (byte *)0x701f6;\n        do {\n          if (iVar11 == 0) break;\n          iVar11 = iVar11 + -1;\n          bVar18 = *pbVar13 < *pbVar15;\n          bVar19 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n        } while (bVar19);\n        bVar17 = false;\n        bVar18 = (!bVar18 && !bVar19) == bVar18;\n        if (!bVar18) {\n          iVar11 = 4;\n          pbVar13 = &DAT_000af890;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar17 = *pbVar7 < *pbVar13;\n            bVar18 = *pbVar7 == *pbVar13;\n            pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          } while (bVar18);\n          if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n        }\n        sVar4 = 3;\n        pcVar16 = (char *)0x0;\n        pcVar8 = "lib";\nLAB_0005d5b0:\n        pcVar3 = (char *)xmalloc(sVar4 + sVar14);\n        iVar11 = (int)pcVar12 - (int)local_5c;\n        if (pcVar6 == (char *)0x0) {\n          sprintf(pcVar3,"%.*s%s",iVar11,local_5c,pcVar8);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + sVar14);\n        }\n        else {\n          sprintf(pcVar3,"%.*s%s/%s",iVar11,local_5c,pcVar8,pcVar6 + 1);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + 1 + sVar14);\n        }\n        free(local_5c);\n        local_5c = pcVar3;\n      }\n      else {\n        bVar18 = bVar10 < 0x4f;\n        bVar19 = bVar10 == 0x4f;\n        if (bVar19) {\n          iVar11 = 6;\n          pbVar13 = pbVar7;\n          pbVar15 = (byte *)0x704cc;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar18 = *pbVar13 < *pbVar15;\n            bVar19 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n          } while (bVar19);\n          bVar17 = false;\n          bVar18 = (!bVar18 && !bVar19) == bVar18;\n          if (!bVar18) {\n            iVar11 = 7;\n            pbVar13 = (byte *)"RIGIN}";\n            do {\n              if (iVar11 == 0) break;\n              iVar11 = iVar11 + -1;\n              bVar17 = *pbVar7 < *pbVar13;\n              bVar18 = *pbVar7 == *pbVar13;\n              pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n              pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            } while (bVar18);\n            if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n          }\n          pbVar2 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0)) {\n            if (*pcVar16 == '/') {\n              pcVar8 = (char *)xstrdup(pcVar16);\n            }\n            else {\n              pcVar3 = (char *)getpwd();\n              sVar4 = strlen(pcVar16);\n              sVar5 = strlen(pcVar3);\n              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);\n              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);\n            }\n            pcVar16 = strrchr(pcVar8,0x2f);\n            if (pcVar16 != (char *)0x0) {\n              *pcVar16 = '\0';\n            }\n            sVar4 = strlen(pcVar8);\n            pcVar16 = pcVar8;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (verbose != 0) {\n          pcVar8 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    );\n          info_msg(pcVar8,pcVar12);\n        }\n        if (pcVar6 != (char *)0x0) {\n          *pcVar6 = '/';\n        }\n        pcVar16 = (char *)0x0;\n        pcVar12 = pcVar12 + (1 - (int)local_5c);\n      }\n      free(pcVar16);\n    }" while (parenthesized_expression "(pcVar12 = strchr(local_5c + (int)pcVar12,0x24), pcVar12 != (char *)0x0)" ( (comma_expression "pcVar12 = strchr(local_5c + (int)pcVar12,0x24), pcVar12 != (char *)0x0" (assignment_expression "pcVar12 = strchr(local_5c + (int)pcVar12,0x24)" identifier = (call_expression "strchr(local_5c + (int)pcVar12,0x24)" identifier (argument_list "(local_5c + (int)pcVar12,0x24)" ( (binary_expression "local_5c + (int)pcVar12" identifier + (cast_expression "(int)pcVar12" ( (type_descriptor "int" primitive_type) ) identifier)) , number_literal )))) , (binary_expression "pcVar12 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      pcVar6 = strchr(pcVar12,0x2f);\n      sVar14 = strlen(local_5c);\n      if (pcVar6 != (char *)0x0) {\n        *pcVar6 = '\0';\n      }\n      bVar10 = pcVar12[1];\n      pcVar8 = pcVar12 + 1;\n      if (bVar10 == 0x7b) {\n        bVar10 = pcVar12[2];\n        pcVar8 = pcVar12 + 2;\n      }\n      pbVar7 = (byte *)(pcVar8 + 1);\n      bVar18 = bVar10 < 0x4c;\n      bVar19 = bVar10 == 0x4c;\n      if (bVar19) {\n        iVar11 = 3;\n        pbVar13 = pbVar7;\n        pbVar15 = (byte *)0x701f6;\n        do {\n          if (iVar11 == 0) break;\n          iVar11 = iVar11 + -1;\n          bVar18 = *pbVar13 < *pbVar15;\n          bVar19 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n        } while (bVar19);\n        bVar17 = false;\n        bVar18 = (!bVar18 && !bVar19) == bVar18;\n        if (!bVar18) {\n          iVar11 = 4;\n          pbVar13 = &DAT_000af890;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar17 = *pbVar7 < *pbVar13;\n            bVar18 = *pbVar7 == *pbVar13;\n            pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          } while (bVar18);\n          if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n        }\n        sVar4 = 3;\n        pcVar16 = (char *)0x0;\n        pcVar8 = "lib";\nLAB_0005d5b0:\n        pcVar3 = (char *)xmalloc(sVar4 + sVar14);\n        iVar11 = (int)pcVar12 - (int)local_5c;\n        if (pcVar6 == (char *)0x0) {\n          sprintf(pcVar3,"%.*s%s",iVar11,local_5c,pcVar8);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + sVar14);\n        }\n        else {\n          sprintf(pcVar3,"%.*s%s/%s",iVar11,local_5c,pcVar8,pcVar6 + 1);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + 1 + sVar14);\n        }\n        free(local_5c);\n        local_5c = pcVar3;\n      }\n      else {\n        bVar18 = bVar10 < 0x4f;\n        bVar19 = bVar10 == 0x4f;\n        if (bVar19) {\n          iVar11 = 6;\n          pbVar13 = pbVar7;\n          pbVar15 = (byte *)0x704cc;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar18 = *pbVar13 < *pbVar15;\n            bVar19 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n          } while (bVar19);\n          bVar17 = false;\n          bVar18 = (!bVar18 && !bVar19) == bVar18;\n          if (!bVar18) {\n            iVar11 = 7;\n            pbVar13 = (byte *)"RIGIN}";\n            do {\n              if (iVar11 == 0) break;\n              iVar11 = iVar11 + -1;\n              bVar17 = *pbVar7 < *pbVar13;\n              bVar18 = *pbVar7 == *pbVar13;\n              pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n              pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            } while (bVar18);\n            if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n          }\n          pbVar2 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0)) {\n            if (*pcVar16 == '/') {\n              pcVar8 = (char *)xstrdup(pcVar16);\n            }\n            else {\n              pcVar3 = (char *)getpwd();\n              sVar4 = strlen(pcVar16);\n              sVar5 = strlen(pcVar3);\n              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);\n              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);\n            }\n            pcVar16 = strrchr(pcVar8,0x2f);\n            if (pcVar16 != (char *)0x0) {\n              *pcVar16 = '\0';\n            }\n            sVar4 = strlen(pcVar8);\n            pcVar16 = pcVar8;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (verbose != 0) {\n          pcVar8 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    );\n          info_msg(pcVar8,pcVar12);\n        }\n        if (pcVar6 != (char *)0x0) {\n          *pcVar6 = '/';\n        }\n        pcVar16 = (char *)0x0;\n        pcVar12 = pcVar12 + (1 - (int)local_5c);\n      }\n      free(pcVar16);\n    }" { (expression_statement "pcVar6 = strchr(pcVar12,0x2f);" (assignment_expression "pcVar6 = strchr(pcVar12,0x2f)" identifier = (call_expression "strchr(pcVar12,0x2f)" identifier (argument_list "(pcVar12,0x2f)" ( identifier , number_literal )))) ;) (expression_statement "sVar14 = strlen(local_5c);" (assignment_expression "sVar14 = strlen(local_5c)" identifier = (call_expression "strlen(local_5c)" identifier (argument_list "(local_5c)" ( identifier )))) ;) (if_statement "if (pcVar6 != (char *)0x0) {\n        *pcVar6 = '\0';\n      }" if (parenthesized_expression "(pcVar6 != (char *)0x0)" ( (binary_expression "pcVar6 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *pcVar6 = '\0';\n      }" { (expression_statement "*pcVar6 = '\0';" (assignment_expression "*pcVar6 = '\0'" (pointer_expression "*pcVar6" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "bVar10 = pcVar12[1];" (assignment_expression "bVar10 = pcVar12[1]" identifier = (subscript_expression "pcVar12[1]" identifier [ number_literal ])) ;) (expression_statement "pcVar8 = pcVar12 + 1;" (assignment_expression "pcVar8 = pcVar12 + 1" identifier = (binary_expression "pcVar12 + 1" identifier + number_literal)) ;) (if_statement "if (bVar10 == 0x7b) {\n        bVar10 = pcVar12[2];\n        pcVar8 = pcVar12 + 2;\n      }" if (parenthesized_expression "(bVar10 == 0x7b)" ( (binary_expression "bVar10 == 0x7b" identifier == number_literal) )) (compound_statement "{\n        bVar10 = pcVar12[2];\n        pcVar8 = pcVar12 + 2;\n      }" { (expression_statement "bVar10 = pcVar12[2];" (assignment_expression "bVar10 = pcVar12[2]" identifier = (subscript_expression "pcVar12[2]" identifier [ number_literal ])) ;) (expression_statement "pcVar8 = pcVar12 + 2;" (assignment_expression "pcVar8 = pcVar12 + 2" identifier = (binary_expression "pcVar12 + 2" identifier + number_literal)) ;) })) (expression_statement "pbVar7 = (byte *)(pcVar8 + 1);" (assignment_expression "pbVar7 = (byte *)(pcVar8 + 1)" identifier = (cast_expression "(byte *)(pcVar8 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar8 + 1)" ( (binary_expression "pcVar8 + 1" identifier + number_literal) )))) ;) (expression_statement "bVar18 = bVar10 < 0x4c;" (assignment_expression "bVar18 = bVar10 < 0x4c" identifier = (binary_expression "bVar10 < 0x4c" identifier < number_literal)) ;) (expression_statement "bVar19 = bVar10 == 0x4c;" (assignment_expression "bVar19 = bVar10 == 0x4c" identifier = (binary_expression "bVar10 == 0x4c" identifier == number_literal)) ;) (if_statement "if (bVar19) {\n        iVar11 = 3;\n        pbVar13 = pbVar7;\n        pbVar15 = (byte *)0x701f6;\n        do {\n          if (iVar11 == 0) break;\n          iVar11 = iVar11 + -1;\n          bVar18 = *pbVar13 < *pbVar15;\n          bVar19 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n        } while (bVar19);\n        bVar17 = false;\n        bVar18 = (!bVar18 && !bVar19) == bVar18;\n        if (!bVar18) {\n          iVar11 = 4;\n          pbVar13 = &DAT_000af890;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar17 = *pbVar7 < *pbVar13;\n            bVar18 = *pbVar7 == *pbVar13;\n            pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          } while (bVar18);\n          if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n        }\n        sVar4 = 3;\n        pcVar16 = (char *)0x0;\n        pcVar8 = "lib";\nLAB_0005d5b0:\n        pcVar3 = (char *)xmalloc(sVar4 + sVar14);\n        iVar11 = (int)pcVar12 - (int)local_5c;\n        if (pcVar6 == (char *)0x0) {\n          sprintf(pcVar3,"%.*s%s",iVar11,local_5c,pcVar8);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + sVar14);\n        }\n        else {\n          sprintf(pcVar3,"%.*s%s/%s",iVar11,local_5c,pcVar8,pcVar6 + 1);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + 1 + sVar14);\n        }\n        free(local_5c);\n        local_5c = pcVar3;\n      }\n      else {\n        bVar18 = bVar10 < 0x4f;\n        bVar19 = bVar10 == 0x4f;\n        if (bVar19) {\n          iVar11 = 6;\n          pbVar13 = pbVar7;\n          pbVar15 = (byte *)0x704cc;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar18 = *pbVar13 < *pbVar15;\n            bVar19 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n          } while (bVar19);\n          bVar17 = false;\n          bVar18 = (!bVar18 && !bVar19) == bVar18;\n          if (!bVar18) {\n            iVar11 = 7;\n            pbVar13 = (byte *)"RIGIN}";\n            do {\n              if (iVar11 == 0) break;\n              iVar11 = iVar11 + -1;\n              bVar17 = *pbVar7 < *pbVar13;\n              bVar18 = *pbVar7 == *pbVar13;\n              pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n              pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            } while (bVar18);\n            if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n          }\n          pbVar2 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0)) {\n            if (*pcVar16 == '/') {\n              pcVar8 = (char *)xstrdup(pcVar16);\n            }\n            else {\n              pcVar3 = (char *)getpwd();\n              sVar4 = strlen(pcVar16);\n              sVar5 = strlen(pcVar3);\n              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);\n              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);\n            }\n            pcVar16 = strrchr(pcVar8,0x2f);\n            if (pcVar16 != (char *)0x0) {\n              *pcVar16 = '\0';\n            }\n            sVar4 = strlen(pcVar8);\n            pcVar16 = pcVar8;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (verbose != 0) {\n          pcVar8 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    );\n          info_msg(pcVar8,pcVar12);\n        }\n        if (pcVar6 != (char *)0x0) {\n          *pcVar6 = '/';\n        }\n        pcVar16 = (char *)0x0;\n        pcVar12 = pcVar12 + (1 - (int)local_5c);\n      }" if (parenthesized_expression "(bVar19)" ( identifier )) (compound_statement "{\n        iVar11 = 3;\n        pbVar13 = pbVar7;\n        pbVar15 = (byte *)0x701f6;\n        do {\n          if (iVar11 == 0) break;\n          iVar11 = iVar11 + -1;\n          bVar18 = *pbVar13 < *pbVar15;\n          bVar19 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n        } while (bVar19);\n        bVar17 = false;\n        bVar18 = (!bVar18 && !bVar19) == bVar18;\n        if (!bVar18) {\n          iVar11 = 4;\n          pbVar13 = &DAT_000af890;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar17 = *pbVar7 < *pbVar13;\n            bVar18 = *pbVar7 == *pbVar13;\n            pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          } while (bVar18);\n          if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n        }\n        sVar4 = 3;\n        pcVar16 = (char *)0x0;\n        pcVar8 = "lib";\nLAB_0005d5b0:\n        pcVar3 = (char *)xmalloc(sVar4 + sVar14);\n        iVar11 = (int)pcVar12 - (int)local_5c;\n        if (pcVar6 == (char *)0x0) {\n          sprintf(pcVar3,"%.*s%s",iVar11,local_5c,pcVar8);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + sVar14);\n        }\n        else {\n          sprintf(pcVar3,"%.*s%s/%s",iVar11,local_5c,pcVar8,pcVar6 + 1);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + 1 + sVar14);\n        }\n        free(local_5c);\n        local_5c = pcVar3;\n      }" { (expression_statement "iVar11 = 3;" (assignment_expression "iVar11 = 3" identifier = number_literal) ;) (expression_statement "pbVar13 = pbVar7;" (assignment_expression "pbVar13 = pbVar7" identifier = identifier) ;) (expression_statement "pbVar15 = (byte *)0x701f6;" (assignment_expression "pbVar15 = (byte *)0x701f6" identifier = (cast_expression "(byte *)0x701f6" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n          if (iVar11 == 0) break;\n          iVar11 = iVar11 + -1;\n          bVar18 = *pbVar13 < *pbVar15;\n          bVar19 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n        } while (bVar19);" do (compound_statement "{\n          if (iVar11 == 0) break;\n          iVar11 = iVar11 + -1;\n          bVar18 = *pbVar13 < *pbVar15;\n          bVar19 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n        }" { (if_statement "if (iVar11 == 0) break;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar11 = iVar11 + -1;" (assignment_expression "iVar11 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) (expression_statement "bVar18 = *pbVar13 < *pbVar15;" (assignment_expression "bVar18 = *pbVar13 < *pbVar15" identifier = (binary_expression "*pbVar13 < *pbVar15" (pointer_expression "*pbVar13" * identifier) < (pointer_expression "*pbVar15" * identifier))) ;) (expression_statement "bVar19 = *pbVar13 == *pbVar15;" (assignment_expression "bVar19 = *pbVar13 == *pbVar15" identifier = (binary_expression "*pbVar13 == *pbVar15" (pointer_expression "*pbVar13" * identifier) == (pointer_expression "*pbVar15" * identifier))) ;) (expression_statement "pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1" identifier = (binary_expression "pbVar13 + (uint)bVar20 * -2 + 1" (binary_expression "pbVar13 + (uint)bVar20 * -2" identifier + (binary_expression "(uint)bVar20 * -2" (cast_expression "(uint)bVar20" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;" (assignment_expression "pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1" identifier = (binary_expression "pbVar15 + (uint)bVar20 * -2 + 1" (binary_expression "pbVar15 + (uint)bVar20 * -2" identifier + (binary_expression "(uint)bVar20 * -2" (cast_expression "(uint)bVar20" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar19)" ( identifier )) ;) (expression_statement "bVar17 = false;" (assignment_expression "bVar17 = false" identifier = false) ;) (expression_statement "bVar18 = (!bVar18 && !bVar19) == bVar18;" (assignment_expression "bVar18 = (!bVar18 && !bVar19) == bVar18" identifier = (binary_expression "(!bVar18 && !bVar19) == bVar18" (parenthesized_expression "(!bVar18 && !bVar19)" ( (binary_expression "!bVar18 && !bVar19" (unary_expression "!bVar18" ! identifier) && (unary_expression "!bVar19" ! identifier)) )) == identifier)) ;) (if_statement "if (!bVar18) {\n          iVar11 = 4;\n          pbVar13 = &DAT_000af890;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar17 = *pbVar7 < *pbVar13;\n            bVar18 = *pbVar7 == *pbVar13;\n            pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          } while (bVar18);\n          if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n        }" if (parenthesized_expression "(!bVar18)" ( (unary_expression "!bVar18" ! identifier) )) (compound_statement "{\n          iVar11 = 4;\n          pbVar13 = &DAT_000af890;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar17 = *pbVar7 < *pbVar13;\n            bVar18 = *pbVar7 == *pbVar13;\n            pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          } while (bVar18);\n          if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n        }" { (expression_statement "iVar11 = 4;" (assignment_expression "iVar11 = 4" identifier = number_literal) ;) (expression_statement "pbVar13 = &DAT_000af890;" (assignment_expression "pbVar13 = &DAT_000af890" identifier = (pointer_expression "&DAT_000af890" & identifier)) ;) (do_statement "do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar17 = *pbVar7 < *pbVar13;\n            bVar18 = *pbVar7 == *pbVar13;\n            pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          } while (bVar18);" do (compound_statement "{\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar17 = *pbVar7 < *pbVar13;\n            bVar18 = *pbVar7 == *pbVar13;\n            pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n          }" { (if_statement "if (iVar11 == 0) break;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar11 = iVar11 + -1;" (assignment_expression "iVar11 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) (expression_statement "bVar17 = *pbVar7 < *pbVar13;" (assignment_expression "bVar17 = *pbVar7 < *pbVar13" identifier = (binary_expression "*pbVar7 < *pbVar13" (pointer_expression "*pbVar7" * identifier) < (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "bVar18 = *pbVar7 == *pbVar13;" (assignment_expression "bVar18 = *pbVar7 == *pbVar13" identifier = (binary_expression "*pbVar7 == *pbVar13" (pointer_expression "*pbVar7" * identifier) == (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;" (assignment_expression "pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1" identifier = (binary_expression "pbVar7 + (uint)bVar20 * -2 + 1" (binary_expression "pbVar7 + (uint)bVar20 * -2" identifier + (binary_expression "(uint)bVar20 * -2" (cast_expression "(uint)bVar20" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1" identifier = (binary_expression "pbVar13 + (uint)bVar20 * -2 + 1" (binary_expression "pbVar13 + (uint)bVar20 * -2" identifier + (binary_expression "(uint)bVar20 * -2" (cast_expression "(uint)bVar20" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar18)" ( identifier )) ;) (if_statement "if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;" if (parenthesized_expression "((!bVar17 && !bVar18) != bVar17)" ( (binary_expression "(!bVar17 && !bVar18) != bVar17" (parenthesized_expression "(!bVar17 && !bVar18)" ( (binary_expression "!bVar17 && !bVar18" (unary_expression "!bVar17" ! identifier) && (unary_expression "!bVar18" ! identifier)) )) != identifier) )) (goto_statement "goto LAB_0005d699;" goto statement_identifier ;)) })) (expression_statement "sVar4 = 3;" (assignment_expression "sVar4 = 3" identifier = number_literal) ;) (expression_statement "pcVar16 = (char *)0x0;" (assignment_expression "pcVar16 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar8 = "lib";" (assignment_expression "pcVar8 = "lib"" identifier = (string_literal ""lib"" " string_content ")) ;) (labeled_statement "LAB_0005d5b0:\n        pcVar3 = (char *)xmalloc(sVar4 + sVar14);" statement_identifier : (expression_statement "pcVar3 = (char *)xmalloc(sVar4 + sVar14);" (assignment_expression "pcVar3 = (char *)xmalloc(sVar4 + sVar14)" identifier = (cast_expression "(char *)xmalloc(sVar4 + sVar14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar4 + sVar14)" identifier (argument_list "(sVar4 + sVar14)" ( (binary_expression "sVar4 + sVar14" identifier + identifier) ))))) ;)) (expression_statement "iVar11 = (int)pcVar12 - (int)local_5c;" (assignment_expression "iVar11 = (int)pcVar12 - (int)local_5c" identifier = (binary_expression "(int)pcVar12 - (int)local_5c" (cast_expression "(int)pcVar12" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_5c" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (pcVar6 == (char *)0x0) {\n          sprintf(pcVar3,"%.*s%s",iVar11,local_5c,pcVar8);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + sVar14);\n        }\n        else {\n          sprintf(pcVar3,"%.*s%s/%s",iVar11,local_5c,pcVar8,pcVar6 + 1);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + 1 + sVar14);\n        }" if (parenthesized_expression "(pcVar6 == (char *)0x0)" ( (binary_expression "pcVar6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          sprintf(pcVar3,"%.*s%s",iVar11,local_5c,pcVar8);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + sVar14);\n        }" { (expression_statement "sprintf(pcVar3,"%.*s%s",iVar11,local_5c,pcVar8);" (call_expression "sprintf(pcVar3,"%.*s%s",iVar11,local_5c,pcVar8)" identifier (argument_list "(pcVar3,"%.*s%s",iVar11,local_5c,pcVar8)" ( identifier , (string_literal ""%.*s%s"" " string_content ") , identifier , identifier , identifier ))) ;) (expression_statement "sVar14 = strlen(pcVar8);" (assignment_expression "sVar14 = strlen(pcVar8)" identifier = (call_expression "strlen(pcVar8)" identifier (argument_list "(pcVar8)" ( identifier )))) ;) (expression_statement "pcVar12 = (char *)(iVar11 + sVar14);" (assignment_expression "pcVar12 = (char *)(iVar11 + sVar14)" identifier = (cast_expression "(char *)(iVar11 + sVar14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + sVar14)" ( (binary_expression "iVar11 + sVar14" identifier + identifier) )))) ;) }) (else_clause "else {\n          sprintf(pcVar3,"%.*s%s/%s",iVar11,local_5c,pcVar8,pcVar6 + 1);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + 1 + sVar14);\n        }" else (compound_statement "{\n          sprintf(pcVar3,"%.*s%s/%s",iVar11,local_5c,pcVar8,pcVar6 + 1);\n          sVar14 = strlen(pcVar8);\n          pcVar12 = (char *)(iVar11 + 1 + sVar14);\n        }" { (expression_statement "sprintf(pcVar3,"%.*s%s/%s",iVar11,local_5c,pcVar8,pcVar6 + 1);" (call_expression "sprintf(pcVar3,"%.*s%s/%s",iVar11,local_5c,pcVar8,pcVar6 + 1)" identifier (argument_list "(pcVar3,"%.*s%s/%s",iVar11,local_5c,pcVar8,pcVar6 + 1)" ( identifier , (string_literal ""%.*s%s/%s"" " string_content ") , identifier , identifier , identifier , (binary_expression "pcVar6 + 1" identifier + number_literal) ))) ;) (expression_statement "sVar14 = strlen(pcVar8);" (assignment_expression "sVar14 = strlen(pcVar8)" identifier = (call_expression "strlen(pcVar8)" identifier (argument_list "(pcVar8)" ( identifier )))) ;) (expression_statement "pcVar12 = (char *)(iVar11 + 1 + sVar14);" (assignment_expression "pcVar12 = (char *)(iVar11 + 1 + sVar14)" identifier = (cast_expression "(char *)(iVar11 + 1 + sVar14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 1 + sVar14)" ( (binary_expression "iVar11 + 1 + sVar14" (binary_expression "iVar11 + 1" identifier + number_literal) + identifier) )))) ;) }))) (expression_statement "free(local_5c);" (call_expression "free(local_5c)" identifier (argument_list "(local_5c)" ( identifier ))) ;) (expression_statement "local_5c = pcVar3;" (assignment_expression "local_5c = pcVar3" identifier = identifier) ;) }) (else_clause "else {\n        bVar18 = bVar10 < 0x4f;\n        bVar19 = bVar10 == 0x4f;\n        if (bVar19) {\n          iVar11 = 6;\n          pbVar13 = pbVar7;\n          pbVar15 = (byte *)0x704cc;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar18 = *pbVar13 < *pbVar15;\n            bVar19 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n          } while (bVar19);\n          bVar17 = false;\n          bVar18 = (!bVar18 && !bVar19) == bVar18;\n          if (!bVar18) {\n            iVar11 = 7;\n            pbVar13 = (byte *)"RIGIN}";\n            do {\n              if (iVar11 == 0) break;\n              iVar11 = iVar11 + -1;\n              bVar17 = *pbVar7 < *pbVar13;\n              bVar18 = *pbVar7 == *pbVar13;\n              pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n              pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            } while (bVar18);\n            if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n          }\n          pbVar2 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0)) {\n            if (*pcVar16 == '/') {\n              pcVar8 = (char *)xstrdup(pcVar16);\n            }\n            else {\n              pcVar3 = (char *)getpwd();\n              sVar4 = strlen(pcVar16);\n              sVar5 = strlen(pcVar3);\n              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);\n              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);\n            }\n            pcVar16 = strrchr(pcVar8,0x2f);\n            if (pcVar16 != (char *)0x0) {\n              *pcVar16 = '\0';\n            }\n            sVar4 = strlen(pcVar8);\n            pcVar16 = pcVar8;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (verbose != 0) {\n          pcVar8 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    );\n          info_msg(pcVar8,pcVar12);\n        }\n        if (pcVar6 != (char *)0x0) {\n          *pcVar6 = '/';\n        }\n        pcVar16 = (char *)0x0;\n        pcVar12 = pcVar12 + (1 - (int)local_5c);\n      }" else (compound_statement "{\n        bVar18 = bVar10 < 0x4f;\n        bVar19 = bVar10 == 0x4f;\n        if (bVar19) {\n          iVar11 = 6;\n          pbVar13 = pbVar7;\n          pbVar15 = (byte *)0x704cc;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar18 = *pbVar13 < *pbVar15;\n            bVar19 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n          } while (bVar19);\n          bVar17 = false;\n          bVar18 = (!bVar18 && !bVar19) == bVar18;\n          if (!bVar18) {\n            iVar11 = 7;\n            pbVar13 = (byte *)"RIGIN}";\n            do {\n              if (iVar11 == 0) break;\n              iVar11 = iVar11 + -1;\n              bVar17 = *pbVar7 < *pbVar13;\n              bVar18 = *pbVar7 == *pbVar13;\n              pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n              pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            } while (bVar18);\n            if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n          }\n          pbVar2 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0)) {\n            if (*pcVar16 == '/') {\n              pcVar8 = (char *)xstrdup(pcVar16);\n            }\n            else {\n              pcVar3 = (char *)getpwd();\n              sVar4 = strlen(pcVar16);\n              sVar5 = strlen(pcVar3);\n              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);\n              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);\n            }\n            pcVar16 = strrchr(pcVar8,0x2f);\n            if (pcVar16 != (char *)0x0) {\n              *pcVar16 = '\0';\n            }\n            sVar4 = strlen(pcVar8);\n            pcVar16 = pcVar8;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (verbose != 0) {\n          pcVar8 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    );\n          info_msg(pcVar8,pcVar12);\n        }\n        if (pcVar6 != (char *)0x0) {\n          *pcVar6 = '/';\n        }\n        pcVar16 = (char *)0x0;\n        pcVar12 = pcVar12 + (1 - (int)local_5c);\n      }" { (expression_statement "bVar18 = bVar10 < 0x4f;" (assignment_expression "bVar18 = bVar10 < 0x4f" identifier = (binary_expression "bVar10 < 0x4f" identifier < number_literal)) ;) (expression_statement "bVar19 = bVar10 == 0x4f;" (assignment_expression "bVar19 = bVar10 == 0x4f" identifier = (binary_expression "bVar10 == 0x4f" identifier == number_literal)) ;) (if_statement "if (bVar19) {\n          iVar11 = 6;\n          pbVar13 = pbVar7;\n          pbVar15 = (byte *)0x704cc;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar18 = *pbVar13 < *pbVar15;\n            bVar19 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n          } while (bVar19);\n          bVar17 = false;\n          bVar18 = (!bVar18 && !bVar19) == bVar18;\n          if (!bVar18) {\n            iVar11 = 7;\n            pbVar13 = (byte *)"RIGIN}";\n            do {\n              if (iVar11 == 0) break;\n              iVar11 = iVar11 + -1;\n              bVar17 = *pbVar7 < *pbVar13;\n              bVar18 = *pbVar7 == *pbVar13;\n              pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n              pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            } while (bVar18);\n            if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n          }\n          pbVar2 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0)) {\n            if (*pcVar16 == '/') {\n              pcVar8 = (char *)xstrdup(pcVar16);\n            }\n            else {\n              pcVar3 = (char *)getpwd();\n              sVar4 = strlen(pcVar16);\n              sVar5 = strlen(pcVar3);\n              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);\n              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);\n            }\n            pcVar16 = strrchr(pcVar8,0x2f);\n            if (pcVar16 != (char *)0x0) {\n              *pcVar16 = '\0';\n            }\n            sVar4 = strlen(pcVar8);\n            pcVar16 = pcVar8;\n            goto LAB_0005d5b0;\n          }\n        }" if (parenthesized_expression "(bVar19)" ( identifier )) (compound_statement "{\n          iVar11 = 6;\n          pbVar13 = pbVar7;\n          pbVar15 = (byte *)0x704cc;\n          do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar18 = *pbVar13 < *pbVar15;\n            bVar19 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n          } while (bVar19);\n          bVar17 = false;\n          bVar18 = (!bVar18 && !bVar19) == bVar18;\n          if (!bVar18) {\n            iVar11 = 7;\n            pbVar13 = (byte *)"RIGIN}";\n            do {\n              if (iVar11 == 0) break;\n              iVar11 = iVar11 + -1;\n              bVar17 = *pbVar7 < *pbVar13;\n              bVar18 = *pbVar7 == *pbVar13;\n              pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n              pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            } while (bVar18);\n            if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n          }\n          pbVar2 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0)) {\n            if (*pcVar16 == '/') {\n              pcVar8 = (char *)xstrdup(pcVar16);\n            }\n            else {\n              pcVar3 = (char *)getpwd();\n              sVar4 = strlen(pcVar16);\n              sVar5 = strlen(pcVar3);\n              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);\n              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);\n            }\n            pcVar16 = strrchr(pcVar8,0x2f);\n            if (pcVar16 != (char *)0x0) {\n              *pcVar16 = '\0';\n            }\n            sVar4 = strlen(pcVar8);\n            pcVar16 = pcVar8;\n            goto LAB_0005d5b0;\n          }\n        }" { (expression_statement "iVar11 = 6;" (assignment_expression "iVar11 = 6" identifier = number_literal) ;) (expression_statement "pbVar13 = pbVar7;" (assignment_expression "pbVar13 = pbVar7" identifier = identifier) ;) (expression_statement "pbVar15 = (byte *)0x704cc;" (assignment_expression "pbVar15 = (byte *)0x704cc" identifier = (cast_expression "(byte *)0x704cc" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar18 = *pbVar13 < *pbVar15;\n            bVar19 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n          } while (bVar19);" do (compound_statement "{\n            if (iVar11 == 0) break;\n            iVar11 = iVar11 + -1;\n            bVar18 = *pbVar13 < *pbVar15;\n            bVar19 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;\n          }" { (if_statement "if (iVar11 == 0) break;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar11 = iVar11 + -1;" (assignment_expression "iVar11 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) (expression_statement "bVar18 = *pbVar13 < *pbVar15;" (assignment_expression "bVar18 = *pbVar13 < *pbVar15" identifier = (binary_expression "*pbVar13 < *pbVar15" (pointer_expression "*pbVar13" * identifier) < (pointer_expression "*pbVar15" * identifier))) ;) (expression_statement "bVar19 = *pbVar13 == *pbVar15;" (assignment_expression "bVar19 = *pbVar13 == *pbVar15" identifier = (binary_expression "*pbVar13 == *pbVar15" (pointer_expression "*pbVar13" * identifier) == (pointer_expression "*pbVar15" * identifier))) ;) (expression_statement "pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1" identifier = (binary_expression "pbVar13 + (uint)bVar20 * -2 + 1" (binary_expression "pbVar13 + (uint)bVar20 * -2" identifier + (binary_expression "(uint)bVar20 * -2" (cast_expression "(uint)bVar20" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1;" (assignment_expression "pbVar15 = pbVar15 + (uint)bVar20 * -2 + 1" identifier = (binary_expression "pbVar15 + (uint)bVar20 * -2 + 1" (binary_expression "pbVar15 + (uint)bVar20 * -2" identifier + (binary_expression "(uint)bVar20 * -2" (cast_expression "(uint)bVar20" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar19)" ( identifier )) ;) (expression_statement "bVar17 = false;" (assignment_expression "bVar17 = false" identifier = false) ;) (expression_statement "bVar18 = (!bVar18 && !bVar19) == bVar18;" (assignment_expression "bVar18 = (!bVar18 && !bVar19) == bVar18" identifier = (binary_expression "(!bVar18 && !bVar19) == bVar18" (parenthesized_expression "(!bVar18 && !bVar19)" ( (binary_expression "!bVar18 && !bVar19" (unary_expression "!bVar18" ! identifier) && (unary_expression "!bVar19" ! identifier)) )) == identifier)) ;) (if_statement "if (!bVar18) {\n            iVar11 = 7;\n            pbVar13 = (byte *)"RIGIN}";\n            do {\n              if (iVar11 == 0) break;\n              iVar11 = iVar11 + -1;\n              bVar17 = *pbVar7 < *pbVar13;\n              bVar18 = *pbVar7 == *pbVar13;\n              pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n              pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            } while (bVar18);\n            if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n          }" if (parenthesized_expression "(!bVar18)" ( (unary_expression "!bVar18" ! identifier) )) (compound_statement "{\n            iVar11 = 7;\n            pbVar13 = (byte *)"RIGIN}";\n            do {\n              if (iVar11 == 0) break;\n              iVar11 = iVar11 + -1;\n              bVar17 = *pbVar7 < *pbVar13;\n              bVar18 = *pbVar7 == *pbVar13;\n              pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n              pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            } while (bVar18);\n            if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;\n          }" { (expression_statement "iVar11 = 7;" (assignment_expression "iVar11 = 7" identifier = number_literal) ;) (expression_statement "pbVar13 = (byte *)"RIGIN}";" (assignment_expression "pbVar13 = (byte *)"RIGIN}"" identifier = (cast_expression "(byte *)"RIGIN}"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""RIGIN}"" " string_content "))) ;) (do_statement "do {\n              if (iVar11 == 0) break;\n              iVar11 = iVar11 + -1;\n              bVar17 = *pbVar7 < *pbVar13;\n              bVar18 = *pbVar7 == *pbVar13;\n              pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n              pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            } while (bVar18);" do (compound_statement "{\n              if (iVar11 == 0) break;\n              iVar11 = iVar11 + -1;\n              bVar17 = *pbVar7 < *pbVar13;\n              bVar18 = *pbVar7 == *pbVar13;\n              pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;\n              pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;\n            }" { (if_statement "if (iVar11 == 0) break;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar11 = iVar11 + -1;" (assignment_expression "iVar11 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) (expression_statement "bVar17 = *pbVar7 < *pbVar13;" (assignment_expression "bVar17 = *pbVar7 < *pbVar13" identifier = (binary_expression "*pbVar7 < *pbVar13" (pointer_expression "*pbVar7" * identifier) < (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "bVar18 = *pbVar7 == *pbVar13;" (assignment_expression "bVar18 = *pbVar7 == *pbVar13" identifier = (binary_expression "*pbVar7 == *pbVar13" (pointer_expression "*pbVar7" * identifier) == (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1;" (assignment_expression "pbVar7 = pbVar7 + (uint)bVar20 * -2 + 1" identifier = (binary_expression "pbVar7 + (uint)bVar20 * -2 + 1" (binary_expression "pbVar7 + (uint)bVar20 * -2" identifier + (binary_expression "(uint)bVar20 * -2" (cast_expression "(uint)bVar20" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (uint)bVar20 * -2 + 1" identifier = (binary_expression "pbVar13 + (uint)bVar20 * -2 + 1" (binary_expression "pbVar13 + (uint)bVar20 * -2" identifier + (binary_expression "(uint)bVar20 * -2" (cast_expression "(uint)bVar20" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar18)" ( identifier )) ;) (if_statement "if ((!bVar17 && !bVar18) != bVar17) goto LAB_0005d699;" if (parenthesized_expression "((!bVar17 && !bVar18) != bVar17)" ( (binary_expression "(!bVar17 && !bVar18) != bVar17" (parenthesized_expression "(!bVar17 && !bVar18)" ( (binary_expression "!bVar17 && !bVar18" (unary_expression "!bVar17" ! identifier) && (unary_expression "!bVar18" ! identifier)) )) != identifier) )) (goto_statement "goto LAB_0005d699;" goto statement_identifier ;)) })) (expression_statement "pbVar2 = needed.by;" (assignment_expression "pbVar2 = needed.by" identifier = (field_expression "needed.by" identifier . field_identifier)) ;) (if_statement "if (((needed.by != (bfd *)0x0) ||\n              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0)) {\n            if (*pcVar16 == '/') {\n              pcVar8 = (char *)xstrdup(pcVar16);\n            }\n            else {\n              pcVar3 = (char *)getpwd();\n              sVar4 = strlen(pcVar16);\n              sVar5 = strlen(pcVar3);\n              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);\n              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);\n            }\n            pcVar16 = strrchr(pcVar8,0x2f);\n            if (pcVar16 != (char *)0x0) {\n              *pcVar16 = '\0';\n            }\n            sVar4 = strlen(pcVar8);\n            pcVar16 = pcVar8;\n            goto LAB_0005d5b0;\n          }" if (parenthesized_expression "(((needed.by != (bfd *)0x0) ||\n              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0))" ( (binary_expression "((needed.by != (bfd *)0x0) ||\n              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0)" (parenthesized_expression "((needed.by != (bfd *)0x0) ||\n              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0))" ( (binary_expression "(needed.by != (bfd *)0x0) ||\n              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)" (parenthesized_expression "(needed.by != (bfd *)0x0)" ( (binary_expression "needed.by != (bfd *)0x0" (field_expression "needed.by" identifier . field_identifier) != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)" ( (comma_expression "pbVar2 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0" (assignment_expression "pbVar2 = link_info.output_bfd" identifier = (field_expression "link_info.output_bfd" identifier . field_identifier)) , (binary_expression "link_info.output_bfd != (bfd *)0x0" (field_expression "link_info.output_bfd" identifier . field_identifier) != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0)" ( (comma_expression "pcVar16 = pbVar2->filename, pcVar16 != (char *)0x0" (assignment_expression "pcVar16 = pbVar2->filename" identifier = (field_expression "pbVar2->filename" identifier -> field_identifier)) , (binary_expression "pcVar16 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n            if (*pcVar16 == '/') {\n              pcVar8 = (char *)xstrdup(pcVar16);\n            }\n            else {\n              pcVar3 = (char *)getpwd();\n              sVar4 = strlen(pcVar16);\n              sVar5 = strlen(pcVar3);\n              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);\n              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);\n            }\n            pcVar16 = strrchr(pcVar8,0x2f);\n            if (pcVar16 != (char *)0x0) {\n              *pcVar16 = '\0';\n            }\n            sVar4 = strlen(pcVar8);\n            pcVar16 = pcVar8;\n            goto LAB_0005d5b0;\n          }" { (if_statement "if (*pcVar16 == '/') {\n              pcVar8 = (char *)xstrdup(pcVar16);\n            }\n            else {\n              pcVar3 = (char *)getpwd();\n              sVar4 = strlen(pcVar16);\n              sVar5 = strlen(pcVar3);\n              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);\n              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);\n            }" if (parenthesized_expression "(*pcVar16 == '/')" ( (binary_expression "*pcVar16 == '/'" (pointer_expression "*pcVar16" * identifier) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n              pcVar8 = (char *)xstrdup(pcVar16);\n            }" { (expression_statement "pcVar8 = (char *)xstrdup(pcVar16);" (assignment_expression "pcVar8 = (char *)xstrdup(pcVar16)" identifier = (cast_expression "(char *)xstrdup(pcVar16)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(pcVar16)" identifier (argument_list "(pcVar16)" ( identifier ))))) ;) }) (else_clause "else {\n              pcVar3 = (char *)getpwd();\n              sVar4 = strlen(pcVar16);\n              sVar5 = strlen(pcVar3);\n              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);\n              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);\n            }" else (compound_statement "{\n              pcVar3 = (char *)getpwd();\n              sVar4 = strlen(pcVar16);\n              sVar5 = strlen(pcVar3);\n              pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);\n              sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);\n            }" { (expression_statement "pcVar3 = (char *)getpwd();" (assignment_expression "pcVar3 = (char *)getpwd()" identifier = (cast_expression "(char *)getpwd()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "getpwd()" identifier (argument_list "()" ( ))))) ;) (expression_statement "sVar4 = strlen(pcVar16);" (assignment_expression "sVar4 = strlen(pcVar16)" identifier = (call_expression "strlen(pcVar16)" identifier (argument_list "(pcVar16)" ( identifier )))) ;) (expression_statement "sVar5 = strlen(pcVar3);" (assignment_expression "sVar5 = strlen(pcVar3)" identifier = (call_expression "strlen(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier )))) ;) (expression_statement "pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5);" (assignment_expression "pcVar8 = (char *)xmalloc(sVar4 + 2 + sVar5)" identifier = (cast_expression "(char *)xmalloc(sVar4 + 2 + sVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar4 + 2 + sVar5)" identifier (argument_list "(sVar4 + 2 + sVar5)" ( (binary_expression "sVar4 + 2 + sVar5" (binary_expression "sVar4 + 2" identifier + number_literal) + identifier) ))))) ;) (expression_statement "sprintf(pcVar8,"%s/%s",pcVar3,pcVar16);" (call_expression "sprintf(pcVar8,"%s/%s",pcVar3,pcVar16)" identifier (argument_list "(pcVar8,"%s/%s",pcVar3,pcVar16)" ( identifier , (string_literal ""%s/%s"" " string_content ") , identifier , identifier ))) ;) }))) (expression_statement "pcVar16 = strrchr(pcVar8,0x2f);" (assignment_expression "pcVar16 = strrchr(pcVar8,0x2f)" identifier = (call_expression "strrchr(pcVar8,0x2f)" identifier (argument_list "(pcVar8,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar16 != (char *)0x0) {\n              *pcVar16 = '\0';\n            }" if (parenthesized_expression "(pcVar16 != (char *)0x0)" ( (binary_expression "pcVar16 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              *pcVar16 = '\0';\n            }" { (expression_statement "*pcVar16 = '\0';" (assignment_expression "*pcVar16 = '\0'" (pointer_expression "*pcVar16" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "sVar4 = strlen(pcVar8);" (assignment_expression "sVar4 = strlen(pcVar8)" identifier = (call_expression "strlen(pcVar8)" identifier (argument_list "(pcVar8)" ( identifier )))) ;) (expression_statement "pcVar16 = pcVar8;" (assignment_expression "pcVar16 = pcVar8" identifier = identifier) ;) (goto_statement "goto LAB_0005d5b0;" goto statement_identifier ;) })) })) (labeled_statement "LAB_0005d699:\n        if (verbose != 0) {\n          pcVar8 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    );\n          info_msg(pcVar8,pcVar12);\n        }" statement_identifier : (if_statement "if (verbose != 0) {\n          pcVar8 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    );\n          info_msg(pcVar8,pcVar12);\n        }" if (parenthesized_expression "(verbose != 0)" ( (binary_expression "verbose != 0" identifier != number_literal) )) (compound_statement "{\n          pcVar8 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    );\n          info_msg(pcVar8,pcVar12);\n        }" { (expression_statement "pcVar8 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    );" (assignment_expression "pcVar8 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    )" identifier = (cast_expression "(char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    )" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    )" identifier (argument_list "(0,"unrecognised or unsupported token \'%s\' in search path\n",5\n                                    )" ( number_literal , (string_literal ""unrecognised or unsupported token \'%s\' in search path\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "info_msg(pcVar8,pcVar12);" (call_expression "info_msg(pcVar8,pcVar12)" identifier (argument_list "(pcVar8,pcVar12)" ( identifier , identifier ))) ;) }))) (if_statement "if (pcVar6 != (char *)0x0) {\n          *pcVar6 = '/';\n        }" if (parenthesized_expression "(pcVar6 != (char *)0x0)" ( (binary_expression "pcVar6 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *pcVar6 = '/';\n        }" { (expression_statement "*pcVar6 = '/';" (assignment_expression "*pcVar6 = '/'" (pointer_expression "*pcVar6" * identifier) = (char_literal "'/'" ' character ')) ;) })) (expression_statement "pcVar16 = (char *)0x0;" (assignment_expression "pcVar16 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar12 = pcVar12 + (1 - (int)local_5c);" (assignment_expression "pcVar12 = pcVar12 + (1 - (int)local_5c)" identifier = (binary_expression "pcVar12 + (1 - (int)local_5c)" identifier + (parenthesized_expression "(1 - (int)local_5c)" ( (binary_expression "1 - (int)local_5c" number_literal - (cast_expression "(int)local_5c" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) }))) (expression_statement "free(pcVar16);" (call_expression "free(pcVar16)" identifier (argument_list "(pcVar16)" ( identifier ))) ;) })) (expression_statement "needed.name = local_5c;" (assignment_expression "needed.name = local_5c" (field_expression "needed.name" identifier . field_identifier) = identifier) ;) (expression_statement "bVar9 = gldaarch64linux32_try_needed(&needed,(int)local_5c,(dt_needed *)force);" (assignment_expression "bVar9 = gldaarch64linux32_try_needed(&needed,(int)local_5c,(dt_needed *)force)" identifier = (call_expression "gldaarch64linux32_try_needed(&needed,(int)local_5c,(dt_needed *)force)" identifier (argument_list "(&needed,(int)local_5c,(dt_needed *)force)" ( (pointer_expression "&needed" & identifier) , (cast_expression "(int)local_5c" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(dt_needed *)force" ( (type_descriptor "dt_needed *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (bVar9 != 0) {\n      return 1;\n    }" if (parenthesized_expression "(bVar9 != 0)" ( (binary_expression "bVar9 != 0" identifier != number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "free(local_5c);" (call_expression "free(local_5c)" identifier (argument_list "(local_5c)" ( identifier ))) ;) (if_statement "if (*local_48 == '\0') {\n      return 0;\n    }" if (parenthesized_expression "(*local_48 == '\0')" ( (binary_expression "*local_48 == '\0'" (pointer_expression "*local_48" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "path = local_48 + 1;" (assignment_expression "path = local_48 + 1" identifier = (binary_expression "local_48 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "undefined4 __regparm3 FUN_0005d3e0(char *param_1,int *param_2)\n\n{\n  char *__s;\n  undefined4 *puVar1;\n  size_t sVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  size_t sVar5;\n  size_t sVar6;\n  char *pcVar7;\n  char *pcVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  byte bVar11;\n  int iVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  size_t sVar15;\n  byte *pbVar16;\n  char *pcVar17;\n  bool bVar18;\n  bool bVar19;\n  bool bVar20;\n  byte bVar21;\n  char *local_5c;\n  char *local_48;\n  \n  bVar21 = 0;\n  __s = (char *)param_2[1];\n  if (*__s == '/') {\n    uVar10 = FUN_0005d0b0();\n    return uVar10;\n  }\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }\n  puVar1 = (undefined4 *)*param_2;\n  sVar2 = strlen(__s);\n  do {\n    local_48 = strchr(param_1,(int)DAT_001c4728);\n    if (local_48 == (char *)0x0) {\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }\n    sVar15 = (int)local_48 - (int)param_1;\n    local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);\n    pcVar8 = local_5c;\n    if (param_1 != local_48) {\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }\n    pcVar13 = (char *)0x0;\n    strcpy(pcVar8,__s);\n    while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }\n    iVar12 = FUN_0005d0b0();\n    if (iVar12 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    param_1 = local_48 + 1;\n  } while( true );\n}\n\n" (function_definition "undefined4 __regparm3 FUN_0005d3e0(char *param_1,int *param_2)\n\n{\n  char *__s;\n  undefined4 *puVar1;\n  size_t sVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  size_t sVar5;\n  size_t sVar6;\n  char *pcVar7;\n  char *pcVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  byte bVar11;\n  int iVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  size_t sVar15;\n  byte *pbVar16;\n  char *pcVar17;\n  bool bVar18;\n  bool bVar19;\n  bool bVar20;\n  byte bVar21;\n  char *local_5c;\n  char *local_48;\n  \n  bVar21 = 0;\n  __s = (char *)param_2[1];\n  if (*__s == '/') {\n    uVar10 = FUN_0005d0b0();\n    return uVar10;\n  }\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }\n  puVar1 = (undefined4 *)*param_2;\n  sVar2 = strlen(__s);\n  do {\n    local_48 = strchr(param_1,(int)DAT_001c4728);\n    if (local_48 == (char *)0x0) {\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }\n    sVar15 = (int)local_48 - (int)param_1;\n    local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);\n    pcVar8 = local_5c;\n    if (param_1 != local_48) {\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }\n    pcVar13 = (char *)0x0;\n    strcpy(pcVar8,__s);\n    while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }\n    iVar12 = FUN_0005d0b0();\n    if (iVar12 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    param_1 = local_48 + 1;\n  } while( true );\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0005d3e0(char *param_1,int *param_2)" identifier (parameter_list "(char *param_1,int *param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *__s;\n  undefined4 *puVar1;\n  size_t sVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  size_t sVar5;\n  size_t sVar6;\n  char *pcVar7;\n  char *pcVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  byte bVar11;\n  int iVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  size_t sVar15;\n  byte *pbVar16;\n  char *pcVar17;\n  bool bVar18;\n  bool bVar19;\n  bool bVar20;\n  byte bVar21;\n  char *local_5c;\n  char *local_48;\n  \n  bVar21 = 0;\n  __s = (char *)param_2[1];\n  if (*__s == '/') {\n    uVar10 = FUN_0005d0b0();\n    return uVar10;\n  }\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }\n  puVar1 = (undefined4 *)*param_2;\n  sVar2 = strlen(__s);\n  do {\n    local_48 = strchr(param_1,(int)DAT_001c4728);\n    if (local_48 == (char *)0x0) {\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }\n    sVar15 = (int)local_48 - (int)param_1;\n    local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);\n    pcVar8 = local_5c;\n    if (param_1 != local_48) {\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }\n    pcVar13 = (char *)0x0;\n    strcpy(pcVar8,__s);\n    while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }\n    iVar12 = FUN_0005d0b0();\n    if (iVar12 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    param_1 = local_48 + 1;\n  } while( true );\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "byte bVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "char *pcVar13;" primitive_type (pointer_declarator "*pcVar13" * identifier) ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "size_t sVar15;" primitive_type identifier ;) (declaration "byte *pbVar16;" type_identifier (pointer_declarator "*pbVar16" * identifier) ;) (declaration "char *pcVar17;" primitive_type (pointer_declarator "*pcVar17" * identifier) ;) (declaration "bool bVar18;" primitive_type identifier ;) (declaration "bool bVar19;" primitive_type identifier ;) (declaration "bool bVar20;" primitive_type identifier ;) (declaration "byte bVar21;" type_identifier identifier ;) (declaration "char *local_5c;" primitive_type (pointer_declarator "*local_5c" * identifier) ;) (declaration "char *local_48;" primitive_type (pointer_declarator "*local_48" * identifier) ;) (expression_statement "bVar21 = 0;" (assignment_expression "bVar21 = 0" identifier = number_literal) ;) (expression_statement "__s = (char *)param_2[1];" (assignment_expression "__s = (char *)param_2[1]" identifier = (cast_expression "(char *)param_2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) ;) (if_statement "if (*__s == '/') {\n    uVar10 = FUN_0005d0b0();\n    return uVar10;\n  }" if (parenthesized_expression "(*__s == '/')" ( (binary_expression "*__s == '/'" (pointer_expression "*__s" * identifier) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n    uVar10 = FUN_0005d0b0();\n    return uVar10;\n  }" { (expression_statement "uVar10 = FUN_0005d0b0();" (assignment_expression "uVar10 = FUN_0005d0b0()" identifier = (call_expression "FUN_0005d0b0()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar10;" return identifier ;) })) (if_statement "if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }" if (parenthesized_expression "((param_1 == (char *)0x0) || (*param_1 == '\0'))" ( (binary_expression "(param_1 == (char *)0x0) || (*param_1 == '\0')" (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar1 = (undefined4 *)*param_2;" (assignment_expression "puVar1 = (undefined4 *)*param_2" identifier = (cast_expression "(undefined4 *)*param_2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (do_statement "do {\n    local_48 = strchr(param_1,(int)DAT_001c4728);\n    if (local_48 == (char *)0x0) {\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }\n    sVar15 = (int)local_48 - (int)param_1;\n    local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);\n    pcVar8 = local_5c;\n    if (param_1 != local_48) {\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }\n    pcVar13 = (char *)0x0;\n    strcpy(pcVar8,__s);\n    while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }\n    iVar12 = FUN_0005d0b0();\n    if (iVar12 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    param_1 = local_48 + 1;\n  } while( true );" do (compound_statement "{\n    local_48 = strchr(param_1,(int)DAT_001c4728);\n    if (local_48 == (char *)0x0) {\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }\n    sVar15 = (int)local_48 - (int)param_1;\n    local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);\n    pcVar8 = local_5c;\n    if (param_1 != local_48) {\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }\n    pcVar13 = (char *)0x0;\n    strcpy(pcVar8,__s);\n    while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }\n    iVar12 = FUN_0005d0b0();\n    if (iVar12 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    param_1 = local_48 + 1;\n  }" { (expression_statement "local_48 = strchr(param_1,(int)DAT_001c4728);" (assignment_expression "local_48 = strchr(param_1,(int)DAT_001c4728)" identifier = (call_expression "strchr(param_1,(int)DAT_001c4728)" identifier (argument_list "(param_1,(int)DAT_001c4728)" ( identifier , (cast_expression "(int)DAT_001c4728" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (if_statement "if (local_48 == (char *)0x0) {\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }" if (parenthesized_expression "(local_48 == (char *)0x0)" ( (binary_expression "local_48 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }" { (expression_statement "sVar15 = strlen(param_1);" (assignment_expression "sVar15 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "local_48 = param_1 + sVar15;" (assignment_expression "local_48 = param_1 + sVar15" identifier = (binary_expression "param_1 + sVar15" identifier + identifier)) ;) })) (expression_statement "sVar15 = (int)local_48 - (int)param_1;" (assignment_expression "sVar15 = (int)local_48 - (int)param_1" identifier = (binary_expression "(int)local_48 - (int)param_1" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);" (assignment_expression "local_5c = (char *)xmalloc(sVar2 + 2 + sVar15)" identifier = (cast_expression "(char *)xmalloc(sVar2 + 2 + sVar15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar2 + 2 + sVar15)" identifier (argument_list "(sVar2 + 2 + sVar15)" ( (binary_expression "sVar2 + 2 + sVar15" (binary_expression "sVar2 + 2" identifier + number_literal) + identifier) ))))) ;) (expression_statement "pcVar8 = local_5c;" (assignment_expression "pcVar8 = local_5c" identifier = identifier) ;) (if_statement "if (param_1 != local_48) {\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }" if (parenthesized_expression "(param_1 != local_48)" ( (binary_expression "param_1 != local_48" identifier != identifier) )) (compound_statement "{\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }" { (expression_statement "memcpy(local_5c,param_1,sVar15);" (call_expression "memcpy(local_5c,param_1,sVar15)" identifier (argument_list "(local_5c,param_1,sVar15)" ( identifier , identifier , identifier ))) ;) (expression_statement "local_5c[sVar15] = '/';" (assignment_expression "local_5c[sVar15] = '/'" (subscript_expression "local_5c[sVar15]" identifier [ identifier ]) = (char_literal "'/'" ' character ')) ;) (expression_statement "pcVar8 = local_5c + sVar15 + 1;" (assignment_expression "pcVar8 = local_5c + sVar15 + 1" identifier = (binary_expression "local_5c + sVar15 + 1" (binary_expression "local_5c + sVar15" identifier + identifier) + number_literal)) ;) })) (expression_statement "pcVar13 = (char *)0x0;" (assignment_expression "pcVar13 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "strcpy(pcVar8,__s);" (call_expression "strcpy(pcVar8,__s)" identifier (argument_list "(pcVar8,__s)" ( identifier , identifier ))) ;) (while_statement "while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }" while (parenthesized_expression "(pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0)" ( (comma_expression "pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0" (assignment_expression "pcVar13 = strchr(local_5c + (int)pcVar13,0x24)" identifier = (call_expression "strchr(local_5c + (int)pcVar13,0x24)" identifier (argument_list "(local_5c + (int)pcVar13,0x24)" ( (binary_expression "local_5c + (int)pcVar13" identifier + (cast_expression "(int)pcVar13" ( (type_descriptor "int" primitive_type) ) identifier)) , number_literal )))) , (binary_expression "pcVar13 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }" { (expression_statement "pcVar8 = strchr(pcVar13,0x2f);" (assignment_expression "pcVar8 = strchr(pcVar13,0x2f)" identifier = (call_expression "strchr(pcVar13,0x2f)" identifier (argument_list "(pcVar13,0x2f)" ( identifier , number_literal )))) ;) (expression_statement "sVar15 = strlen(local_5c);" (assignment_expression "sVar15 = strlen(local_5c)" identifier = (call_expression "strlen(local_5c)" identifier (argument_list "(local_5c)" ( identifier )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *pcVar8 = '\0';\n      }" { (expression_statement "*pcVar8 = '\0';" (assignment_expression "*pcVar8 = '\0'" (pointer_expression "*pcVar8" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "bVar11 = pcVar13[1];" (assignment_expression "bVar11 = pcVar13[1]" identifier = (subscript_expression "pcVar13[1]" identifier [ number_literal ])) ;) (expression_statement "pcVar7 = pcVar13 + 1;" (assignment_expression "pcVar7 = pcVar13 + 1" identifier = (binary_expression "pcVar13 + 1" identifier + number_literal)) ;) (if_statement "if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }" if (parenthesized_expression "(bVar11 == 0x7b)" ( (binary_expression "bVar11 == 0x7b" identifier == number_literal) )) (compound_statement "{\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }" { (expression_statement "bVar11 = pcVar13[2];" (assignment_expression "bVar11 = pcVar13[2]" identifier = (subscript_expression "pcVar13[2]" identifier [ number_literal ])) ;) (expression_statement "pcVar7 = pcVar13 + 2;" (assignment_expression "pcVar7 = pcVar13 + 2" identifier = (binary_expression "pcVar13 + 2" identifier + number_literal)) ;) })) (expression_statement "pbVar9 = (byte *)(pcVar7 + 1);" (assignment_expression "pbVar9 = (byte *)(pcVar7 + 1)" identifier = (cast_expression "(byte *)(pcVar7 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar7 + 1)" ( (binary_expression "pcVar7 + 1" identifier + number_literal) )))) ;) (expression_statement "bVar19 = bVar11 < 0x4c;" (assignment_expression "bVar19 = bVar11 < 0x4c" identifier = (binary_expression "bVar11 < 0x4c" identifier < number_literal)) ;) (expression_statement "bVar20 = bVar11 == 0x4c;" (assignment_expression "bVar20 = bVar11 == 0x4c" identifier = (binary_expression "bVar11 == 0x4c" identifier == number_literal)) ;) (if_statement "if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }" if (parenthesized_expression "(bVar20)" ( identifier )) (compound_statement "{\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }" { (expression_statement "iVar12 = 3;" (assignment_expression "iVar12 = 3" identifier = number_literal) ;) (expression_statement "pbVar14 = pbVar9;" (assignment_expression "pbVar14 = pbVar9" identifier = identifier) ;) (expression_statement "pbVar16 = (byte *)0x701f6;" (assignment_expression "pbVar16 = (byte *)0x701f6" identifier = (cast_expression "(byte *)0x701f6" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);" do (compound_statement "{\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        }" { (if_statement "if (iVar12 == 0) break;" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" identifier = (binary_expression "iVar12 + -1" identifier + number_literal)) ;) (expression_statement "bVar19 = *pbVar14 < *pbVar16;" (assignment_expression "bVar19 = *pbVar14 < *pbVar16" identifier = (binary_expression "*pbVar14 < *pbVar16" (pointer_expression "*pbVar14" * identifier) < (pointer_expression "*pbVar16" * identifier))) ;) (expression_statement "bVar20 = *pbVar14 == *pbVar16;" (assignment_expression "bVar20 = *pbVar14 == *pbVar16" identifier = (binary_expression "*pbVar14 == *pbVar16" (pointer_expression "*pbVar14" * identifier) == (pointer_expression "*pbVar16" * identifier))) ;) (expression_statement "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "pbVar14 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "pbVar16 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar16 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar20)" ( identifier )) ;) (expression_statement "bVar18 = false;" (assignment_expression "bVar18 = false" identifier = false) ;) (expression_statement "bVar19 = (!bVar19 && !bVar20) == bVar19;" (assignment_expression "bVar19 = (!bVar19 && !bVar20) == bVar19" identifier = (binary_expression "(!bVar19 && !bVar20) == bVar19" (parenthesized_expression "(!bVar19 && !bVar20)" ( (binary_expression "!bVar19 && !bVar20" (unary_expression "!bVar19" ! identifier) && (unary_expression "!bVar20" ! identifier)) )) == identifier)) ;) (if_statement "if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }" if (parenthesized_expression "(!bVar19)" ( (unary_expression "!bVar19" ! identifier) )) (compound_statement "{\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }" { (expression_statement "iVar12 = 4;" (assignment_expression "iVar12 = 4" identifier = number_literal) ;) (expression_statement "pbVar14 = &DAT_000af890;" (assignment_expression "pbVar14 = &DAT_000af890" identifier = (pointer_expression "&DAT_000af890" & identifier)) ;) (do_statement "do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);" do (compound_statement "{\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          }" { (if_statement "if (iVar12 == 0) break;" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" identifier = (binary_expression "iVar12 + -1" identifier + number_literal)) ;) (expression_statement "bVar18 = *pbVar9 < *pbVar14;" (assignment_expression "bVar18 = *pbVar9 < *pbVar14" identifier = (binary_expression "*pbVar9 < *pbVar14" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar14" * identifier))) ;) (expression_statement "bVar19 = *pbVar9 == *pbVar14;" (assignment_expression "bVar19 = *pbVar9 == *pbVar14" identifier = (binary_expression "*pbVar9 == *pbVar14" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar14" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "pbVar9 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "pbVar14 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar19)" ( identifier )) ;) (if_statement "if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;" if (parenthesized_expression "((!bVar18 && !bVar19) != bVar18)" ( (binary_expression "(!bVar18 && !bVar19) != bVar18" (parenthesized_expression "(!bVar18 && !bVar19)" ( (binary_expression "!bVar18 && !bVar19" (unary_expression "!bVar18" ! identifier) && (unary_expression "!bVar19" ! identifier)) )) != identifier) )) (goto_statement "goto LAB_0005d699;" goto statement_identifier ;)) })) (expression_statement "sVar5 = 3;" (assignment_expression "sVar5 = 3" identifier = number_literal) ;) (expression_statement "pcVar17 = (char *)0x0;" (assignment_expression "pcVar17 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar7 = "lib";" (assignment_expression "pcVar7 = "lib"" identifier = (string_literal ""lib"" " string_content ")) ;) (labeled_statement "LAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);" statement_identifier : (expression_statement "pcVar4 = (char *)xmalloc(sVar5 + sVar15);" (assignment_expression "pcVar4 = (char *)xmalloc(sVar5 + sVar15)" identifier = (cast_expression "(char *)xmalloc(sVar5 + sVar15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar5 + sVar15)" identifier (argument_list "(sVar5 + sVar15)" ( (binary_expression "sVar5 + sVar15" identifier + identifier) ))))) ;)) (expression_statement "iVar12 = (int)pcVar13 - (int)local_5c;" (assignment_expression "iVar12 = (int)pcVar13 - (int)local_5c" identifier = (binary_expression "(int)pcVar13 - (int)local_5c" (cast_expression "(int)pcVar13" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_5c" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }" if (parenthesized_expression "(pcVar8 == (char *)0x0)" ( (binary_expression "pcVar8 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }" { (expression_statement "sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);" (call_expression "sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7)" identifier (argument_list "(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7)" ( identifier , (string_literal ""%.*s%s"" " string_content ") , identifier , identifier , identifier ))) ;) (expression_statement "sVar15 = strlen(pcVar7);" (assignment_expression "sVar15 = strlen(pcVar7)" identifier = (call_expression "strlen(pcVar7)" identifier (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "pcVar13 = (char *)(iVar12 + sVar15);" (assignment_expression "pcVar13 = (char *)(iVar12 + sVar15)" identifier = (cast_expression "(char *)(iVar12 + sVar15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + sVar15)" ( (binary_expression "iVar12 + sVar15" identifier + identifier) )))) ;) }) (else_clause "else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }" else (compound_statement "{\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }" { (expression_statement "sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);" (call_expression "sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1)" identifier (argument_list "(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1)" ( identifier , (string_literal ""%.*s%s/%s"" " string_content ") , identifier , identifier , identifier , (binary_expression "pcVar8 + 1" identifier + number_literal) ))) ;) (expression_statement "sVar15 = strlen(pcVar7);" (assignment_expression "sVar15 = strlen(pcVar7)" identifier = (call_expression "strlen(pcVar7)" identifier (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "pcVar13 = (char *)(iVar12 + 1 + sVar15);" (assignment_expression "pcVar13 = (char *)(iVar12 + 1 + sVar15)" identifier = (cast_expression "(char *)(iVar12 + 1 + sVar15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 1 + sVar15)" ( (binary_expression "iVar12 + 1 + sVar15" (binary_expression "iVar12 + 1" identifier + number_literal) + identifier) )))) ;) }))) (expression_statement "free(local_5c);" (call_expression "free(local_5c)" identifier (argument_list "(local_5c)" ( identifier ))) ;) (expression_statement "local_5c = pcVar4;" (assignment_expression "local_5c = pcVar4" identifier = identifier) ;) }) (else_clause "else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }" else (compound_statement "{\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }" { (expression_statement "bVar19 = bVar11 < 0x4f;" (assignment_expression "bVar19 = bVar11 < 0x4f" identifier = (binary_expression "bVar11 < 0x4f" identifier < number_literal)) ;) (expression_statement "bVar20 = bVar11 == 0x4f;" (assignment_expression "bVar20 = bVar11 == 0x4f" identifier = (binary_expression "bVar11 == 0x4f" identifier == number_literal)) ;) (if_statement "if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }" if (parenthesized_expression "(bVar20)" ( identifier )) (compound_statement "{\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }" { (expression_statement "iVar12 = 6;" (assignment_expression "iVar12 = 6" identifier = number_literal) ;) (expression_statement "pbVar14 = pbVar9;" (assignment_expression "pbVar14 = pbVar9" identifier = identifier) ;) (expression_statement "pbVar16 = (byte *)0x704cc;" (assignment_expression "pbVar16 = (byte *)0x704cc" identifier = (cast_expression "(byte *)0x704cc" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);" do (compound_statement "{\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          }" { (if_statement "if (iVar12 == 0) break;" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" identifier = (binary_expression "iVar12 + -1" identifier + number_literal)) ;) (expression_statement "bVar19 = *pbVar14 < *pbVar16;" (assignment_expression "bVar19 = *pbVar14 < *pbVar16" identifier = (binary_expression "*pbVar14 < *pbVar16" (pointer_expression "*pbVar14" * identifier) < (pointer_expression "*pbVar16" * identifier))) ;) (expression_statement "bVar20 = *pbVar14 == *pbVar16;" (assignment_expression "bVar20 = *pbVar14 == *pbVar16" identifier = (binary_expression "*pbVar14 == *pbVar16" (pointer_expression "*pbVar14" * identifier) == (pointer_expression "*pbVar16" * identifier))) ;) (expression_statement "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "pbVar14 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "pbVar16 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar16 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar20)" ( identifier )) ;) (expression_statement "bVar18 = false;" (assignment_expression "bVar18 = false" identifier = false) ;) (expression_statement "bVar19 = (!bVar19 && !bVar20) == bVar19;" (assignment_expression "bVar19 = (!bVar19 && !bVar20) == bVar19" identifier = (binary_expression "(!bVar19 && !bVar20) == bVar19" (parenthesized_expression "(!bVar19 && !bVar20)" ( (binary_expression "!bVar19 && !bVar20" (unary_expression "!bVar19" ! identifier) && (unary_expression "!bVar20" ! identifier)) )) == identifier)) ;) (if_statement "if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }" if (parenthesized_expression "(!bVar19)" ( (unary_expression "!bVar19" ! identifier) )) (compound_statement "{\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }" { (expression_statement "iVar12 = 7;" (assignment_expression "iVar12 = 7" identifier = number_literal) ;) (expression_statement "pbVar14 = (byte *)"RIGIN}";" (assignment_expression "pbVar14 = (byte *)"RIGIN}"" identifier = (cast_expression "(byte *)"RIGIN}"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""RIGIN}"" " string_content "))) ;) (do_statement "do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);" do (compound_statement "{\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            }" { (if_statement "if (iVar12 == 0) break;" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" identifier = (binary_expression "iVar12 + -1" identifier + number_literal)) ;) (expression_statement "bVar18 = *pbVar9 < *pbVar14;" (assignment_expression "bVar18 = *pbVar9 < *pbVar14" identifier = (binary_expression "*pbVar9 < *pbVar14" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar14" * identifier))) ;) (expression_statement "bVar19 = *pbVar9 == *pbVar14;" (assignment_expression "bVar19 = *pbVar9 == *pbVar14" identifier = (binary_expression "*pbVar9 == *pbVar14" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar14" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "pbVar9 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1" identifier = (binary_expression "pbVar14 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar21 * -2" identifier + (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar19)" ( identifier )) ;) (if_statement "if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;" if (parenthesized_expression "((!bVar18 && !bVar19) != bVar18)" ( (binary_expression "(!bVar18 && !bVar19) != bVar18" (parenthesized_expression "(!bVar18 && !bVar19)" ( (binary_expression "!bVar18 && !bVar19" (unary_expression "!bVar18" ! identifier) && (unary_expression "!bVar19" ! identifier)) )) != identifier) )) (goto_statement "goto LAB_0005d699;" goto statement_identifier ;)) })) (expression_statement "puVar3 = puVar1;" (assignment_expression "puVar3 = puVar1" identifier = identifier) ;) (if_statement "if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }" if (parenthesized_expression "(((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0))" ( (binary_expression "((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)" (parenthesized_expression "((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0))" ( (binary_expression "(puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)" (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)" ( (comma_expression "puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0" (assignment_expression "puVar3 = DAT_001c4614" identifier = identifier) , (binary_expression "DAT_001c4614 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)" ( (comma_expression "pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0" (assignment_expression "pcVar17 = (char *)*puVar3" identifier = (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) , (binary_expression "pcVar17 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }" { (if_statement "if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }" if (parenthesized_expression "(*pcVar17 == '/')" ( (binary_expression "*pcVar17 == '/'" (pointer_expression "*pcVar17" * identifier) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }" { (expression_statement "pcVar7 = (char *)xstrdup(pcVar17);" (assignment_expression "pcVar7 = (char *)xstrdup(pcVar17)" identifier = (cast_expression "(char *)xstrdup(pcVar17)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(pcVar17)" identifier (argument_list "(pcVar17)" ( identifier ))))) ;) }) (else_clause "else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }" else (compound_statement "{\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }" { (expression_statement "pcVar4 = (char *)getpwd();" (assignment_expression "pcVar4 = (char *)getpwd()" identifier = (cast_expression "(char *)getpwd()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "getpwd()" identifier (argument_list "()" ( ))))) ;) (expression_statement "sVar5 = strlen(pcVar17);" (assignment_expression "sVar5 = strlen(pcVar17)" identifier = (call_expression "strlen(pcVar17)" identifier (argument_list "(pcVar17)" ( identifier )))) ;) (expression_statement "sVar6 = strlen(pcVar4);" (assignment_expression "sVar6 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);" (assignment_expression "pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6)" identifier = (cast_expression "(char *)xmalloc(sVar5 + 2 + sVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar5 + 2 + sVar6)" identifier (argument_list "(sVar5 + 2 + sVar6)" ( (binary_expression "sVar5 + 2 + sVar6" (binary_expression "sVar5 + 2" identifier + number_literal) + identifier) ))))) ;) (expression_statement "sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);" (call_expression "sprintf(pcVar7,"%s/%s",pcVar4,pcVar17)" identifier (argument_list "(pcVar7,"%s/%s",pcVar4,pcVar17)" ( identifier , (string_literal ""%s/%s"" " string_content ") , identifier , identifier ))) ;) }))) (expression_statement "pcVar17 = strrchr(pcVar7,0x2f);" (assignment_expression "pcVar17 = strrchr(pcVar7,0x2f)" identifier = (call_expression "strrchr(pcVar7,0x2f)" identifier (argument_list "(pcVar7,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }" if (parenthesized_expression "(pcVar17 != (char *)0x0)" ( (binary_expression "pcVar17 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              *pcVar17 = '\0';\n            }" { (expression_statement "*pcVar17 = '\0';" (assignment_expression "*pcVar17 = '\0'" (pointer_expression "*pcVar17" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "sVar5 = strlen(pcVar7);" (assignment_expression "sVar5 = strlen(pcVar7)" identifier = (call_expression "strlen(pcVar7)" identifier (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "pcVar17 = pcVar7;" (assignment_expression "pcVar17 = pcVar7" identifier = identifier) ;) (goto_statement "goto LAB_0005d5b0;" goto statement_identifier ;) })) })) (labeled_statement "LAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }" statement_identifier : (if_statement "if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }" if (parenthesized_expression "(DAT_001c475c != 0)" ( (binary_expression "DAT_001c475c != 0" identifier != number_literal) )) (compound_statement "{\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }" { (expression_statement "uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);" (assignment_expression "uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5)" identifier = (call_expression "dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5)" identifier (argument_list "(0,"unrecognised or unsupported token \'%s\' in search path\n",5)" ( number_literal , (string_literal ""unrecognised or unsupported token \'%s\' in search path\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d90(uVar10,pcVar13);" (call_expression "FUN_00034d90(uVar10,pcVar13)" identifier (argument_list "(uVar10,pcVar13)" ( identifier , identifier ))) ;) }))) (if_statement "if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *pcVar8 = '/';\n        }" { (expression_statement "*pcVar8 = '/';" (assignment_expression "*pcVar8 = '/'" (pointer_expression "*pcVar8" * identifier) = (char_literal "'/'" ' character ')) ;) })) (expression_statement "pcVar17 = (char *)0x0;" (assignment_expression "pcVar17 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar13 = pcVar13 + (1 - (int)local_5c);" (assignment_expression "pcVar13 = pcVar13 + (1 - (int)local_5c)" identifier = (binary_expression "pcVar13 + (1 - (int)local_5c)" identifier + (parenthesized_expression "(1 - (int)local_5c)" ( (binary_expression "1 - (int)local_5c" number_literal - (cast_expression "(int)local_5c" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) }))) (expression_statement "free(pcVar17);" (call_expression "free(pcVar17)" identifier (argument_list "(pcVar17)" ( identifier ))) ;) })) (expression_statement "iVar12 = FUN_0005d0b0();" (assignment_expression "iVar12 = FUN_0005d0b0()" identifier = (call_expression "FUN_0005d0b0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar12 != 0) {\n      return 1;\n    }" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "free(local_5c);" (call_expression "free(local_5c)" identifier (argument_list "(local_5c)" ( identifier ))) ;) (if_statement "if (*local_48 == '\0') {\n      return 0;\n    }" if (parenthesized_expression "(*local_48 == '\0')" ( (binary_expression "*local_48 == '\0'" (pointer_expression "*local_48" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "param_1 = local_48 + 1;" (assignment_expression "param_1 = local_48 + 1" identifier = (binary_expression "local_48 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (char_literal ' character ')) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) , LIT )))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT)) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) != IDENT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + IDENT) ))))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT < LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT)) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (string_literal " string_content "))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) != IDENT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' character ')) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "undefined4 __regparm3 FUN_0005d3e0(char *param_1,int *param_2)\n\n{\n  char *__s;\n  undefined4 *puVar1;\n  size_t sVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  size_t sVar5;\n  size_t sVar6;\n  char *pcVar7;\n  char *pcVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  byte bVar11;\n  int iVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  size_t sVar15;\n  byte *pbVar16;\n  char *pcVar17;\n  bool bVar18;\n  bool bVar19;\n  bool bVar20;\n  byte bVar21;\n  char *local_5c;\n  char *local_48;\n  \n  bVar21 = 0;\n  __s = (char *)param_2[1];\n  if (*__s == '/') {\n    uVar10 = FUN_0005d0b0();\n    return uVar10;\n  }\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }\n  puVar1 = (undefined4 *)*param_2;\n  sVar2 = strlen(__s);\n  do {\n    local_48 = strchr(param_1,(int)DAT_001c4728);\n    if (local_48 == (char *)0x0) {\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }\n    sVar15 = (int)local_48 - (int)param_1;\n    local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);\n    pcVar8 = local_5c;\n    if (param_1 != local_48) {\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }\n    pcVar13 = (char *)0x0;\n    strcpy(pcVar8,__s);\n    while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }\n    iVar12 = FUN_0005d0b0();\n    if (iVar12 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    param_1 = local_48 + 1;\n  } while( true );\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0005d3e0(char *param_1,int *param_2)" (identifier "FUN_0005d3e0") (parameter_list "(char *param_1,int *param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  char *__s;\n  undefined4 *puVar1;\n  size_t sVar2;\n  undefined4 *puVar3;\n  char *pcVar4;\n  size_t sVar5;\n  size_t sVar6;\n  char *pcVar7;\n  char *pcVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  byte bVar11;\n  int iVar12;\n  char *pcVar13;\n  byte *pbVar14;\n  size_t sVar15;\n  byte *pbVar16;\n  char *pcVar17;\n  bool bVar18;\n  bool bVar19;\n  bool bVar20;\n  byte bVar21;\n  char *local_5c;\n  char *local_48;\n  \n  bVar21 = 0;\n  __s = (char *)param_2[1];\n  if (*__s == '/') {\n    uVar10 = FUN_0005d0b0();\n    return uVar10;\n  }\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }\n  puVar1 = (undefined4 *)*param_2;\n  sVar2 = strlen(__s);\n  do {\n    local_48 = strchr(param_1,(int)DAT_001c4728);\n    if (local_48 == (char *)0x0) {\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }\n    sVar15 = (int)local_48 - (int)param_1;\n    local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);\n    pcVar8 = local_5c;\n    if (param_1 != local_48) {\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }\n    pcVar13 = (char *)0x0;\n    strcpy(pcVar8,__s);\n    while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }\n    iVar12 = FUN_0005d0b0();\n    if (iVar12 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    param_1 = local_48 + 1;\n  } while( true );\n}" ({ "{") (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "size_t sVar5;" (primitive_type "size_t") (identifier "sVar5") (; ";")) (declaration "size_t sVar6;" (primitive_type "size_t") (identifier "sVar6") (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "char *pcVar8;" (primitive_type "char") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "byte bVar11;" (type_identifier "byte") (identifier "bVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "char *pcVar13;" (primitive_type "char") (pointer_declarator "*pcVar13" (* "*") (identifier "pcVar13")) (; ";")) (declaration "byte *pbVar14;" (type_identifier "byte") (pointer_declarator "*pbVar14" (* "*") (identifier "pbVar14")) (; ";")) (declaration "size_t sVar15;" (primitive_type "size_t") (identifier "sVar15") (; ";")) (declaration "byte *pbVar16;" (type_identifier "byte") (pointer_declarator "*pbVar16" (* "*") (identifier "pbVar16")) (; ";")) (declaration "char *pcVar17;" (primitive_type "char") (pointer_declarator "*pcVar17" (* "*") (identifier "pcVar17")) (; ";")) (declaration "bool bVar18;" (primitive_type "bool") (identifier "bVar18") (; ";")) (declaration "bool bVar19;" (primitive_type "bool") (identifier "bVar19") (; ";")) (declaration "bool bVar20;" (primitive_type "bool") (identifier "bVar20") (; ";")) (declaration "byte bVar21;" (type_identifier "byte") (identifier "bVar21") (; ";")) (declaration "char *local_5c;" (primitive_type "char") (pointer_declarator "*local_5c" (* "*") (identifier "local_5c")) (; ";")) (declaration "char *local_48;" (primitive_type "char") (pointer_declarator "*local_48" (* "*") (identifier "local_48")) (; ";")) (expression_statement "bVar21 = 0;" (assignment_expression "bVar21 = 0" (identifier "bVar21") (= "=") (number_literal "0")) (; ";")) (expression_statement "__s = (char *)param_2[1];" (assignment_expression "__s = (char *)param_2[1]" (identifier "__s") (= "=") (cast_expression "(char *)param_2[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (*__s == '/') {\n    uVar10 = FUN_0005d0b0();\n    return uVar10;\n  }" (if "if") (parenthesized_expression "(*__s == '/')" (( "(") (binary_expression "*__s == '/'" (pointer_expression "*__s" (* "*") (identifier "__s")) (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (compound_statement "{\n    uVar10 = FUN_0005d0b0();\n    return uVar10;\n  }" ({ "{") (expression_statement "uVar10 = FUN_0005d0b0();" (assignment_expression "uVar10 = FUN_0005d0b0()" (identifier "uVar10") (= "=") (call_expression "FUN_0005d0b0()" (identifier "FUN_0005d0b0") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar10;" (return "return") (identifier "uVar10") (; ";")) (} "}"))) (if_statement "if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }" (if "if") (parenthesized_expression "((param_1 == (char *)0x0) || (*param_1 == '\0'))" (( "(") (binary_expression "(param_1 == (char *)0x0) || (*param_1 == '\0')" (parenthesized_expression "(param_1 == (char *)0x0)" (( "(") (binary_expression "param_1 == (char *)0x0" (identifier "param_1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(*param_1 == '\0')" (( "(") (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "puVar1 = (undefined4 *)*param_2;" (assignment_expression "puVar1 = (undefined4 *)*param_2" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*param_2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" (identifier "sVar2") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (do_statement "do {\n    local_48 = strchr(param_1,(int)DAT_001c4728);\n    if (local_48 == (char *)0x0) {\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }\n    sVar15 = (int)local_48 - (int)param_1;\n    local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);\n    pcVar8 = local_5c;\n    if (param_1 != local_48) {\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }\n    pcVar13 = (char *)0x0;\n    strcpy(pcVar8,__s);\n    while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }\n    iVar12 = FUN_0005d0b0();\n    if (iVar12 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    param_1 = local_48 + 1;\n  } while( true );" (do "do") (compound_statement "{\n    local_48 = strchr(param_1,(int)DAT_001c4728);\n    if (local_48 == (char *)0x0) {\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }\n    sVar15 = (int)local_48 - (int)param_1;\n    local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);\n    pcVar8 = local_5c;\n    if (param_1 != local_48) {\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }\n    pcVar13 = (char *)0x0;\n    strcpy(pcVar8,__s);\n    while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }\n    iVar12 = FUN_0005d0b0();\n    if (iVar12 != 0) {\n      return 1;\n    }\n    free(local_5c);\n    if (*local_48 == '\0') {\n      return 0;\n    }\n    param_1 = local_48 + 1;\n  }" ({ "{") (expression_statement "local_48 = strchr(param_1,(int)DAT_001c4728);" (assignment_expression "local_48 = strchr(param_1,(int)DAT_001c4728)" (identifier "local_48") (= "=") (call_expression "strchr(param_1,(int)DAT_001c4728)" (identifier "strchr") (argument_list "(param_1,(int)DAT_001c4728)" (( "(") (identifier "param_1") (, ",") (cast_expression "(int)DAT_001c4728" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_001c4728")) () ")")))) (; ";")) (if_statement "if (local_48 == (char *)0x0) {\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }" (if "if") (parenthesized_expression "(local_48 == (char *)0x0)" (( "(") (binary_expression "local_48 == (char *)0x0" (identifier "local_48") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      sVar15 = strlen(param_1);\n      local_48 = param_1 + sVar15;\n    }" ({ "{") (expression_statement "sVar15 = strlen(param_1);" (assignment_expression "sVar15 = strlen(param_1)" (identifier "sVar15") (= "=") (call_expression "strlen(param_1)" (identifier "strlen") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "local_48 = param_1 + sVar15;" (assignment_expression "local_48 = param_1 + sVar15" (identifier "local_48") (= "=") (binary_expression "param_1 + sVar15" (identifier "param_1") (+ "+") (identifier "sVar15"))) (; ";")) (} "}"))) (expression_statement "sVar15 = (int)local_48 - (int)param_1;" (assignment_expression "sVar15 = (int)local_48 - (int)param_1" (identifier "sVar15") (= "=") (binary_expression "(int)local_48 - (int)param_1" (cast_expression "(int)local_48" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_48")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";")) (expression_statement "local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);" (assignment_expression "local_5c = (char *)xmalloc(sVar2 + 2 + sVar15)" (identifier "local_5c") (= "=") (cast_expression "(char *)xmalloc(sVar2 + 2 + sVar15)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar2 + 2 + sVar15)" (identifier "xmalloc") (argument_list "(sVar2 + 2 + sVar15)" (( "(") (binary_expression "sVar2 + 2 + sVar15" (binary_expression "sVar2 + 2" (identifier "sVar2") (+ "+") (number_literal "2")) (+ "+") (identifier "sVar15")) () ")"))))) (; ";")) (expression_statement "pcVar8 = local_5c;" (assignment_expression "pcVar8 = local_5c" (identifier "pcVar8") (= "=") (identifier "local_5c")) (; ";")) (if_statement "if (param_1 != local_48) {\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }" (if "if") (parenthesized_expression "(param_1 != local_48)" (( "(") (binary_expression "param_1 != local_48" (identifier "param_1") (!= "!=") (identifier "local_48")) () ")")) (compound_statement "{\n      memcpy(local_5c,param_1,sVar15);\n      local_5c[sVar15] = '/';\n      pcVar8 = local_5c + sVar15 + 1;\n    }" ({ "{") (expression_statement "memcpy(local_5c,param_1,sVar15);" (call_expression "memcpy(local_5c,param_1,sVar15)" (identifier "memcpy") (argument_list "(local_5c,param_1,sVar15)" (( "(") (identifier "local_5c") (, ",") (identifier "param_1") (, ",") (identifier "sVar15") () ")"))) (; ";")) (expression_statement "local_5c[sVar15] = '/';" (assignment_expression "local_5c[sVar15] = '/'" (subscript_expression "local_5c[sVar15]" (identifier "local_5c") ([ "[") (identifier "sVar15") (] "]")) (= "=") (char_literal "'/'" (' "'") (character "/") (' "'"))) (; ";")) (expression_statement "pcVar8 = local_5c + sVar15 + 1;" (assignment_expression "pcVar8 = local_5c + sVar15 + 1" (identifier "pcVar8") (= "=") (binary_expression "local_5c + sVar15 + 1" (binary_expression "local_5c + sVar15" (identifier "local_5c") (+ "+") (identifier "sVar15")) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "pcVar13 = (char *)0x0;" (assignment_expression "pcVar13 = (char *)0x0" (identifier "pcVar13") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "strcpy(pcVar8,__s);" (call_expression "strcpy(pcVar8,__s)" (identifier "strcpy") (argument_list "(pcVar8,__s)" (( "(") (identifier "pcVar8") (, ",") (identifier "__s") () ")"))) (; ";")) (while_statement "while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }" (while "while") (parenthesized_expression "(pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0)" (( "(") (comma_expression "pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0" (assignment_expression "pcVar13 = strchr(local_5c + (int)pcVar13,0x24)" (identifier "pcVar13") (= "=") (call_expression "strchr(local_5c + (int)pcVar13,0x24)" (identifier "strchr") (argument_list "(local_5c + (int)pcVar13,0x24)" (( "(") (binary_expression "local_5c + (int)pcVar13" (identifier "local_5c") (+ "+") (cast_expression "(int)pcVar13" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar13"))) (, ",") (number_literal "0x24") () ")")))) (, ",") (binary_expression "pcVar13 != (char *)0x0" (identifier "pcVar13") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")) (compound_statement "{\n      pcVar8 = strchr(pcVar13,0x2f);\n      sVar15 = strlen(local_5c);\n      if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }\n      bVar11 = pcVar13[1];\n      pcVar7 = pcVar13 + 1;\n      if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }\n      pbVar9 = (byte *)(pcVar7 + 1);\n      bVar19 = bVar11 < 0x4c;\n      bVar20 = bVar11 == 0x4c;\n      if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }\n      free(pcVar17);\n    }" ({ "{") (expression_statement "pcVar8 = strchr(pcVar13,0x2f);" (assignment_expression "pcVar8 = strchr(pcVar13,0x2f)" (identifier "pcVar8") (= "=") (call_expression "strchr(pcVar13,0x2f)" (identifier "strchr") (argument_list "(pcVar13,0x2f)" (( "(") (identifier "pcVar13") (, ",") (number_literal "0x2f") () ")")))) (; ";")) (expression_statement "sVar15 = strlen(local_5c);" (assignment_expression "sVar15 = strlen(local_5c)" (identifier "sVar15") (= "=") (call_expression "strlen(local_5c)" (identifier "strlen") (argument_list "(local_5c)" (( "(") (identifier "local_5c") () ")")))) (; ";")) (if_statement "if (pcVar8 != (char *)0x0) {\n        *pcVar8 = '\0';\n      }" (if "if") (parenthesized_expression "(pcVar8 != (char *)0x0)" (( "(") (binary_expression "pcVar8 != (char *)0x0" (identifier "pcVar8") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        *pcVar8 = '\0';\n      }" ({ "{") (expression_statement "*pcVar8 = '\0';" (assignment_expression "*pcVar8 = '\0'" (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}"))) (expression_statement "bVar11 = pcVar13[1];" (assignment_expression "bVar11 = pcVar13[1]" (identifier "bVar11") (= "=") (subscript_expression "pcVar13[1]" (identifier "pcVar13") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "pcVar7 = pcVar13 + 1;" (assignment_expression "pcVar7 = pcVar13 + 1" (identifier "pcVar7") (= "=") (binary_expression "pcVar13 + 1" (identifier "pcVar13") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (bVar11 == 0x7b) {\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }" (if "if") (parenthesized_expression "(bVar11 == 0x7b)" (( "(") (binary_expression "bVar11 == 0x7b" (identifier "bVar11") (== "==") (number_literal "0x7b")) () ")")) (compound_statement "{\n        bVar11 = pcVar13[2];\n        pcVar7 = pcVar13 + 2;\n      }" ({ "{") (expression_statement "bVar11 = pcVar13[2];" (assignment_expression "bVar11 = pcVar13[2]" (identifier "bVar11") (= "=") (subscript_expression "pcVar13[2]" (identifier "pcVar13") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "pcVar7 = pcVar13 + 2;" (assignment_expression "pcVar7 = pcVar13 + 2" (identifier "pcVar7") (= "=") (binary_expression "pcVar13 + 2" (identifier "pcVar13") (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "pbVar9 = (byte *)(pcVar7 + 1);" (assignment_expression "pbVar9 = (byte *)(pcVar7 + 1)" (identifier "pbVar9") (= "=") (cast_expression "(byte *)(pcVar7 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar7 + 1)" (( "(") (binary_expression "pcVar7 + 1" (identifier "pcVar7") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "bVar19 = bVar11 < 0x4c;" (assignment_expression "bVar19 = bVar11 < 0x4c" (identifier "bVar19") (= "=") (binary_expression "bVar11 < 0x4c" (identifier "bVar11") (< "<") (number_literal "0x4c"))) (; ";")) (expression_statement "bVar20 = bVar11 == 0x4c;" (assignment_expression "bVar20 = bVar11 == 0x4c" (identifier "bVar20") (= "=") (binary_expression "bVar11 == 0x4c" (identifier "bVar11") (== "==") (number_literal "0x4c"))) (; ";")) (if_statement "if (bVar20) {\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }\n      else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }" (if "if") (parenthesized_expression "(bVar20)" (( "(") (identifier "bVar20") () ")")) (compound_statement "{\n        iVar12 = 3;\n        pbVar14 = pbVar9;\n        pbVar16 = (byte *)0x701f6;\n        do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }\n        sVar5 = 3;\n        pcVar17 = (char *)0x0;\n        pcVar7 = "lib";\nLAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);\n        iVar12 = (int)pcVar13 - (int)local_5c;\n        if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }\n        free(local_5c);\n        local_5c = pcVar4;\n      }" ({ "{") (expression_statement "iVar12 = 3;" (assignment_expression "iVar12 = 3" (identifier "iVar12") (= "=") (number_literal "3")) (; ";")) (expression_statement "pbVar14 = pbVar9;" (assignment_expression "pbVar14 = pbVar9" (identifier "pbVar14") (= "=") (identifier "pbVar9")) (; ";")) (expression_statement "pbVar16 = (byte *)0x701f6;" (assignment_expression "pbVar16 = (byte *)0x701f6" (identifier "pbVar16") (= "=") (cast_expression "(byte *)0x701f6" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x701f6"))) (; ";")) (do_statement "do {\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        } while (bVar20);" (do "do") (compound_statement "{\n          if (iVar12 == 0) break;\n          iVar12 = iVar12 + -1;\n          bVar19 = *pbVar14 < *pbVar16;\n          bVar20 = *pbVar14 == *pbVar16;\n          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n        }" ({ "{") (if_statement "if (iVar12 == 0) break;" (if "if") (parenthesized_expression "(iVar12 == 0)" (( "(") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" (identifier "iVar12") (= "=") (binary_expression "iVar12 + -1" (identifier "iVar12") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar19 = *pbVar14 < *pbVar16;" (assignment_expression "bVar19 = *pbVar14 < *pbVar16" (identifier "bVar19") (= "=") (binary_expression "*pbVar14 < *pbVar16" (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")) (< "<") (pointer_expression "*pbVar16" (* "*") (identifier "pbVar16")))) (; ";")) (expression_statement "bVar20 = *pbVar14 == *pbVar16;" (assignment_expression "bVar20 = *pbVar14 == *pbVar16" (identifier "bVar20") (= "=") (binary_expression "*pbVar14 == *pbVar16" (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")) (== "==") (pointer_expression "*pbVar16" (* "*") (identifier "pbVar16")))) (; ";")) (expression_statement "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1" (identifier "pbVar14") (= "=") (binary_expression "pbVar14 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar21 * -2" (identifier "pbVar14") (+ "+") (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar21")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1" (identifier "pbVar16") (= "=") (binary_expression "pbVar16 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar16 + (uint)bVar21 * -2" (identifier "pbVar16") (+ "+") (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar21")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar20)" (( "(") (identifier "bVar20") () ")")) (; ";")) (expression_statement "bVar18 = false;" (assignment_expression "bVar18 = false" (identifier "bVar18") (= "=") (false "false")) (; ";")) (expression_statement "bVar19 = (!bVar19 && !bVar20) == bVar19;" (assignment_expression "bVar19 = (!bVar19 && !bVar20) == bVar19" (identifier "bVar19") (= "=") (binary_expression "(!bVar19 && !bVar20) == bVar19" (parenthesized_expression "(!bVar19 && !bVar20)" (( "(") (binary_expression "!bVar19 && !bVar20" (unary_expression "!bVar19" (! "!") (identifier "bVar19")) (&& "&&") (unary_expression "!bVar20" (! "!") (identifier "bVar20"))) () ")")) (== "==") (identifier "bVar19"))) (; ";")) (if_statement "if (!bVar19) {\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }" (if "if") (parenthesized_expression "(!bVar19)" (( "(") (unary_expression "!bVar19" (! "!") (identifier "bVar19")) () ")")) (compound_statement "{\n          iVar12 = 4;\n          pbVar14 = &DAT_000af890;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n        }" ({ "{") (expression_statement "iVar12 = 4;" (assignment_expression "iVar12 = 4" (identifier "iVar12") (= "=") (number_literal "4")) (; ";")) (expression_statement "pbVar14 = &DAT_000af890;" (assignment_expression "pbVar14 = &DAT_000af890" (identifier "pbVar14") (= "=") (pointer_expression "&DAT_000af890" (& "&") (identifier "DAT_000af890"))) (; ";")) (do_statement "do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          } while (bVar19);" (do "do") (compound_statement "{\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar18 = *pbVar9 < *pbVar14;\n            bVar19 = *pbVar9 == *pbVar14;\n            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n          }" ({ "{") (if_statement "if (iVar12 == 0) break;" (if "if") (parenthesized_expression "(iVar12 == 0)" (( "(") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" (identifier "iVar12") (= "=") (binary_expression "iVar12 + -1" (identifier "iVar12") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar18 = *pbVar9 < *pbVar14;" (assignment_expression "bVar18 = *pbVar9 < *pbVar14" (identifier "bVar18") (= "=") (binary_expression "*pbVar9 < *pbVar14" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (< "<") (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")))) (; ";")) (expression_statement "bVar19 = *pbVar9 == *pbVar14;" (assignment_expression "bVar19 = *pbVar9 == *pbVar14" (identifier "bVar19") (= "=") (binary_expression "*pbVar9 == *pbVar14" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (== "==") (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")))) (; ";")) (expression_statement "pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar21 * -2" (identifier "pbVar9") (+ "+") (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar21")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1" (identifier "pbVar14") (= "=") (binary_expression "pbVar14 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar21 * -2" (identifier "pbVar14") (+ "+") (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar21")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar19)" (( "(") (identifier "bVar19") () ")")) (; ";")) (if_statement "if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;" (if "if") (parenthesized_expression "((!bVar18 && !bVar19) != bVar18)" (( "(") (binary_expression "(!bVar18 && !bVar19) != bVar18" (parenthesized_expression "(!bVar18 && !bVar19)" (( "(") (binary_expression "!bVar18 && !bVar19" (unary_expression "!bVar18" (! "!") (identifier "bVar18")) (&& "&&") (unary_expression "!bVar19" (! "!") (identifier "bVar19"))) () ")")) (!= "!=") (identifier "bVar18")) () ")")) (goto_statement "goto LAB_0005d699;" (goto "goto") (statement_identifier "LAB_0005d699") (; ";"))) (} "}"))) (expression_statement "sVar5 = 3;" (assignment_expression "sVar5 = 3" (identifier "sVar5") (= "=") (number_literal "3")) (; ";")) (expression_statement "pcVar17 = (char *)0x0;" (assignment_expression "pcVar17 = (char *)0x0" (identifier "pcVar17") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "pcVar7 = "lib";" (assignment_expression "pcVar7 = "lib"" (identifier "pcVar7") (= "=") (string_literal ""lib"" (" """) (string_content "lib") (" """))) (; ";")) (labeled_statement "LAB_0005d5b0:\n        pcVar4 = (char *)xmalloc(sVar5 + sVar15);" (statement_identifier "LAB_0005d5b0") (: ":") (expression_statement "pcVar4 = (char *)xmalloc(sVar5 + sVar15);" (assignment_expression "pcVar4 = (char *)xmalloc(sVar5 + sVar15)" (identifier "pcVar4") (= "=") (cast_expression "(char *)xmalloc(sVar5 + sVar15)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar5 + sVar15)" (identifier "xmalloc") (argument_list "(sVar5 + sVar15)" (( "(") (binary_expression "sVar5 + sVar15" (identifier "sVar5") (+ "+") (identifier "sVar15")) () ")"))))) (; ";"))) (expression_statement "iVar12 = (int)pcVar13 - (int)local_5c;" (assignment_expression "iVar12 = (int)pcVar13 - (int)local_5c" (identifier "iVar12") (= "=") (binary_expression "(int)pcVar13 - (int)local_5c" (cast_expression "(int)pcVar13" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar13")) (- "-") (cast_expression "(int)local_5c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_5c")))) (; ";")) (if_statement "if (pcVar8 == (char *)0x0) {\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }\n        else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }" (if "if") (parenthesized_expression "(pcVar8 == (char *)0x0)" (( "(") (binary_expression "pcVar8 == (char *)0x0" (identifier "pcVar8") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + sVar15);\n        }" ({ "{") (expression_statement "sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);" (call_expression "sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7)" (identifier "sprintf") (argument_list "(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7)" (( "(") (identifier "pcVar4") (, ",") (string_literal ""%.*s%s"" (" """) (string_content "%.*s%s") (" """)) (, ",") (identifier "iVar12") (, ",") (identifier "local_5c") (, ",") (identifier "pcVar7") () ")"))) (; ";")) (expression_statement "sVar15 = strlen(pcVar7);" (assignment_expression "sVar15 = strlen(pcVar7)" (identifier "sVar15") (= "=") (call_expression "strlen(pcVar7)" (identifier "strlen") (argument_list "(pcVar7)" (( "(") (identifier "pcVar7") () ")")))) (; ";")) (expression_statement "pcVar13 = (char *)(iVar12 + sVar15);" (assignment_expression "pcVar13 = (char *)(iVar12 + sVar15)" (identifier "pcVar13") (= "=") (cast_expression "(char *)(iVar12 + sVar15)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + sVar15)" (( "(") (binary_expression "iVar12 + sVar15" (identifier "iVar12") (+ "+") (identifier "sVar15")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }" (else "else") (compound_statement "{\n          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);\n          sVar15 = strlen(pcVar7);\n          pcVar13 = (char *)(iVar12 + 1 + sVar15);\n        }" ({ "{") (expression_statement "sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);" (call_expression "sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1)" (identifier "sprintf") (argument_list "(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1)" (( "(") (identifier "pcVar4") (, ",") (string_literal ""%.*s%s/%s"" (" """) (string_content "%.*s%s/%s") (" """)) (, ",") (identifier "iVar12") (, ",") (identifier "local_5c") (, ",") (identifier "pcVar7") (, ",") (binary_expression "pcVar8 + 1" (identifier "pcVar8") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "sVar15 = strlen(pcVar7);" (assignment_expression "sVar15 = strlen(pcVar7)" (identifier "sVar15") (= "=") (call_expression "strlen(pcVar7)" (identifier "strlen") (argument_list "(pcVar7)" (( "(") (identifier "pcVar7") () ")")))) (; ";")) (expression_statement "pcVar13 = (char *)(iVar12 + 1 + sVar15);" (assignment_expression "pcVar13 = (char *)(iVar12 + 1 + sVar15)" (identifier "pcVar13") (= "=") (cast_expression "(char *)(iVar12 + 1 + sVar15)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 1 + sVar15)" (( "(") (binary_expression "iVar12 + 1 + sVar15" (binary_expression "iVar12 + 1" (identifier "iVar12") (+ "+") (number_literal "1")) (+ "+") (identifier "sVar15")) () ")")))) (; ";")) (} "}")))) (expression_statement "free(local_5c);" (call_expression "free(local_5c)" (identifier "free") (argument_list "(local_5c)" (( "(") (identifier "local_5c") () ")"))) (; ";")) (expression_statement "local_5c = pcVar4;" (assignment_expression "local_5c = pcVar4" (identifier "local_5c") (= "=") (identifier "pcVar4")) (; ";")) (} "}")) (else_clause "else {\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }" (else "else") (compound_statement "{\n        bVar19 = bVar11 < 0x4f;\n        bVar20 = bVar11 == 0x4f;\n        if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }\nLAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }\n        if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }\n        pcVar17 = (char *)0x0;\n        pcVar13 = pcVar13 + (1 - (int)local_5c);\n      }" ({ "{") (expression_statement "bVar19 = bVar11 < 0x4f;" (assignment_expression "bVar19 = bVar11 < 0x4f" (identifier "bVar19") (= "=") (binary_expression "bVar11 < 0x4f" (identifier "bVar11") (< "<") (number_literal "0x4f"))) (; ";")) (expression_statement "bVar20 = bVar11 == 0x4f;" (assignment_expression "bVar20 = bVar11 == 0x4f" (identifier "bVar20") (= "=") (binary_expression "bVar11 == 0x4f" (identifier "bVar11") (== "==") (number_literal "0x4f"))) (; ";")) (if_statement "if (bVar20) {\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }" (if "if") (parenthesized_expression "(bVar20)" (( "(") (identifier "bVar20") () ")")) (compound_statement "{\n          iVar12 = 6;\n          pbVar14 = pbVar9;\n          pbVar16 = (byte *)0x704cc;\n          do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }\n          puVar3 = puVar1;\n          if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }\n        }" ({ "{") (expression_statement "iVar12 = 6;" (assignment_expression "iVar12 = 6" (identifier "iVar12") (= "=") (number_literal "6")) (; ";")) (expression_statement "pbVar14 = pbVar9;" (assignment_expression "pbVar14 = pbVar9" (identifier "pbVar14") (= "=") (identifier "pbVar9")) (; ";")) (expression_statement "pbVar16 = (byte *)0x704cc;" (assignment_expression "pbVar16 = (byte *)0x704cc" (identifier "pbVar16") (= "=") (cast_expression "(byte *)0x704cc" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x704cc"))) (; ";")) (do_statement "do {\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          } while (bVar20);" (do "do") (compound_statement "{\n            if (iVar12 == 0) break;\n            iVar12 = iVar12 + -1;\n            bVar19 = *pbVar14 < *pbVar16;\n            bVar20 = *pbVar14 == *pbVar16;\n            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;\n          }" ({ "{") (if_statement "if (iVar12 == 0) break;" (if "if") (parenthesized_expression "(iVar12 == 0)" (( "(") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" (identifier "iVar12") (= "=") (binary_expression "iVar12 + -1" (identifier "iVar12") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar19 = *pbVar14 < *pbVar16;" (assignment_expression "bVar19 = *pbVar14 < *pbVar16" (identifier "bVar19") (= "=") (binary_expression "*pbVar14 < *pbVar16" (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")) (< "<") (pointer_expression "*pbVar16" (* "*") (identifier "pbVar16")))) (; ";")) (expression_statement "bVar20 = *pbVar14 == *pbVar16;" (assignment_expression "bVar20 = *pbVar14 == *pbVar16" (identifier "bVar20") (= "=") (binary_expression "*pbVar14 == *pbVar16" (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")) (== "==") (pointer_expression "*pbVar16" (* "*") (identifier "pbVar16")))) (; ";")) (expression_statement "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1" (identifier "pbVar14") (= "=") (binary_expression "pbVar14 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar21 * -2" (identifier "pbVar14") (+ "+") (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar21")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1" (identifier "pbVar16") (= "=") (binary_expression "pbVar16 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar16 + (uint)bVar21 * -2" (identifier "pbVar16") (+ "+") (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar21")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar20)" (( "(") (identifier "bVar20") () ")")) (; ";")) (expression_statement "bVar18 = false;" (assignment_expression "bVar18 = false" (identifier "bVar18") (= "=") (false "false")) (; ";")) (expression_statement "bVar19 = (!bVar19 && !bVar20) == bVar19;" (assignment_expression "bVar19 = (!bVar19 && !bVar20) == bVar19" (identifier "bVar19") (= "=") (binary_expression "(!bVar19 && !bVar20) == bVar19" (parenthesized_expression "(!bVar19 && !bVar20)" (( "(") (binary_expression "!bVar19 && !bVar20" (unary_expression "!bVar19" (! "!") (identifier "bVar19")) (&& "&&") (unary_expression "!bVar20" (! "!") (identifier "bVar20"))) () ")")) (== "==") (identifier "bVar19"))) (; ";")) (if_statement "if (!bVar19) {\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }" (if "if") (parenthesized_expression "(!bVar19)" (( "(") (unary_expression "!bVar19" (! "!") (identifier "bVar19")) () ")")) (compound_statement "{\n            iVar12 = 7;\n            pbVar14 = (byte *)"RIGIN}";\n            do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;\n          }" ({ "{") (expression_statement "iVar12 = 7;" (assignment_expression "iVar12 = 7" (identifier "iVar12") (= "=") (number_literal "7")) (; ";")) (expression_statement "pbVar14 = (byte *)"RIGIN}";" (assignment_expression "pbVar14 = (byte *)"RIGIN}"" (identifier "pbVar14") (= "=") (cast_expression "(byte *)"RIGIN}"" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (string_literal ""RIGIN}"" (" """) (string_content "RIGIN}") (" """)))) (; ";")) (do_statement "do {\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            } while (bVar19);" (do "do") (compound_statement "{\n              if (iVar12 == 0) break;\n              iVar12 = iVar12 + -1;\n              bVar18 = *pbVar9 < *pbVar14;\n              bVar19 = *pbVar9 == *pbVar14;\n              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;\n              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;\n            }" ({ "{") (if_statement "if (iVar12 == 0) break;" (if "if") (parenthesized_expression "(iVar12 == 0)" (( "(") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" (identifier "iVar12") (= "=") (binary_expression "iVar12 + -1" (identifier "iVar12") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar18 = *pbVar9 < *pbVar14;" (assignment_expression "bVar18 = *pbVar9 < *pbVar14" (identifier "bVar18") (= "=") (binary_expression "*pbVar9 < *pbVar14" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (< "<") (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")))) (; ";")) (expression_statement "bVar19 = *pbVar9 == *pbVar14;" (assignment_expression "bVar19 = *pbVar9 == *pbVar14" (identifier "bVar19") (= "=") (binary_expression "*pbVar9 == *pbVar14" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (== "==") (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")))) (; ";")) (expression_statement "pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar21 * -2" (identifier "pbVar9") (+ "+") (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar21")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1" (identifier "pbVar14") (= "=") (binary_expression "pbVar14 + (uint)bVar21 * -2 + 1" (binary_expression "pbVar14 + (uint)bVar21 * -2" (identifier "pbVar14") (+ "+") (binary_expression "(uint)bVar21 * -2" (cast_expression "(uint)bVar21" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar21")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar19)" (( "(") (identifier "bVar19") () ")")) (; ";")) (if_statement "if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;" (if "if") (parenthesized_expression "((!bVar18 && !bVar19) != bVar18)" (( "(") (binary_expression "(!bVar18 && !bVar19) != bVar18" (parenthesized_expression "(!bVar18 && !bVar19)" (( "(") (binary_expression "!bVar18 && !bVar19" (unary_expression "!bVar18" (! "!") (identifier "bVar18")) (&& "&&") (unary_expression "!bVar19" (! "!") (identifier "bVar19"))) () ")")) (!= "!=") (identifier "bVar18")) () ")")) (goto_statement "goto LAB_0005d699;" (goto "goto") (statement_identifier "LAB_0005d699") (; ";"))) (} "}"))) (expression_statement "puVar3 = puVar1;" (assignment_expression "puVar3 = puVar1" (identifier "puVar3") (= "=") (identifier "puVar1")) (; ";")) (if_statement "if (((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }" (if "if") (parenthesized_expression "(((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0))" (( "(") (binary_expression "((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&\n             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)" (parenthesized_expression "((puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0))" (( "(") (binary_expression "(puVar1 != (undefined4 *)0x0) ||\n              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)" (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)" (( "(") (comma_expression "puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0" (assignment_expression "puVar3 = DAT_001c4614" (identifier "puVar3") (= "=") (identifier "DAT_001c4614")) (, ",") (binary_expression "DAT_001c4614 != (undefined4 *)0x0" (identifier "DAT_001c4614") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)" (( "(") (comma_expression "pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0" (assignment_expression "pcVar17 = (char *)*puVar3" (identifier "pcVar17") (= "=") (cast_expression "(char *)*puVar3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")))) (, ",") (binary_expression "pcVar17 != (char *)0x0" (identifier "pcVar17") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n            if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }\n            pcVar17 = strrchr(pcVar7,0x2f);\n            if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }\n            sVar5 = strlen(pcVar7);\n            pcVar17 = pcVar7;\n            goto LAB_0005d5b0;\n          }" ({ "{") (if_statement "if (*pcVar17 == '/') {\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }\n            else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }" (if "if") (parenthesized_expression "(*pcVar17 == '/')" (( "(") (binary_expression "*pcVar17 == '/'" (pointer_expression "*pcVar17" (* "*") (identifier "pcVar17")) (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (compound_statement "{\n              pcVar7 = (char *)xstrdup(pcVar17);\n            }" ({ "{") (expression_statement "pcVar7 = (char *)xstrdup(pcVar17);" (assignment_expression "pcVar7 = (char *)xstrdup(pcVar17)" (identifier "pcVar7") (= "=") (cast_expression "(char *)xstrdup(pcVar17)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xstrdup(pcVar17)" (identifier "xstrdup") (argument_list "(pcVar17)" (( "(") (identifier "pcVar17") () ")"))))) (; ";")) (} "}")) (else_clause "else {\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }" (else "else") (compound_statement "{\n              pcVar4 = (char *)getpwd();\n              sVar5 = strlen(pcVar17);\n              sVar6 = strlen(pcVar4);\n              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);\n              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);\n            }" ({ "{") (expression_statement "pcVar4 = (char *)getpwd();" (assignment_expression "pcVar4 = (char *)getpwd()" (identifier "pcVar4") (= "=") (cast_expression "(char *)getpwd()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "getpwd()" (identifier "getpwd") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "sVar5 = strlen(pcVar17);" (assignment_expression "sVar5 = strlen(pcVar17)" (identifier "sVar5") (= "=") (call_expression "strlen(pcVar17)" (identifier "strlen") (argument_list "(pcVar17)" (( "(") (identifier "pcVar17") () ")")))) (; ";")) (expression_statement "sVar6 = strlen(pcVar4);" (assignment_expression "sVar6 = strlen(pcVar4)" (identifier "sVar6") (= "=") (call_expression "strlen(pcVar4)" (identifier "strlen") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")")))) (; ";")) (expression_statement "pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);" (assignment_expression "pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6)" (identifier "pcVar7") (= "=") (cast_expression "(char *)xmalloc(sVar5 + 2 + sVar6)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar5 + 2 + sVar6)" (identifier "xmalloc") (argument_list "(sVar5 + 2 + sVar6)" (( "(") (binary_expression "sVar5 + 2 + sVar6" (binary_expression "sVar5 + 2" (identifier "sVar5") (+ "+") (number_literal "2")) (+ "+") (identifier "sVar6")) () ")"))))) (; ";")) (expression_statement "sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);" (call_expression "sprintf(pcVar7,"%s/%s",pcVar4,pcVar17)" (identifier "sprintf") (argument_list "(pcVar7,"%s/%s",pcVar4,pcVar17)" (( "(") (identifier "pcVar7") (, ",") (string_literal ""%s/%s"" (" """) (string_content "%s/%s") (" """)) (, ",") (identifier "pcVar4") (, ",") (identifier "pcVar17") () ")"))) (; ";")) (} "}")))) (expression_statement "pcVar17 = strrchr(pcVar7,0x2f);" (assignment_expression "pcVar17 = strrchr(pcVar7,0x2f)" (identifier "pcVar17") (= "=") (call_expression "strrchr(pcVar7,0x2f)" (identifier "strrchr") (argument_list "(pcVar7,0x2f)" (( "(") (identifier "pcVar7") (, ",") (number_literal "0x2f") () ")")))) (; ";")) (if_statement "if (pcVar17 != (char *)0x0) {\n              *pcVar17 = '\0';\n            }" (if "if") (parenthesized_expression "(pcVar17 != (char *)0x0)" (( "(") (binary_expression "pcVar17 != (char *)0x0" (identifier "pcVar17") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n              *pcVar17 = '\0';\n            }" ({ "{") (expression_statement "*pcVar17 = '\0';" (assignment_expression "*pcVar17 = '\0'" (pointer_expression "*pcVar17" (* "*") (identifier "pcVar17")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}"))) (expression_statement "sVar5 = strlen(pcVar7);" (assignment_expression "sVar5 = strlen(pcVar7)" (identifier "sVar5") (= "=") (call_expression "strlen(pcVar7)" (identifier "strlen") (argument_list "(pcVar7)" (( "(") (identifier "pcVar7") () ")")))) (; ";")) (expression_statement "pcVar17 = pcVar7;" (assignment_expression "pcVar17 = pcVar7" (identifier "pcVar17") (= "=") (identifier "pcVar7")) (; ";")) (goto_statement "goto LAB_0005d5b0;" (goto "goto") (statement_identifier "LAB_0005d5b0") (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_0005d699:\n        if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }" (statement_identifier "LAB_0005d699") (: ":") (if_statement "if (DAT_001c475c != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }" (if "if") (parenthesized_expression "(DAT_001c475c != 0)" (( "(") (binary_expression "DAT_001c475c != 0" (identifier "DAT_001c475c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_00034d90(uVar10,pcVar13);\n        }" ({ "{") (expression_statement "uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);" (assignment_expression "uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5)" (identifier "uVar10") (= "=") (call_expression "dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5)" (identifier "dcgettext") (argument_list "(0,"unrecognised or unsupported token \'%s\' in search path\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""unrecognised or unsupported token \'%s\' in search path\n"" (" """) (string_content "unrecognised or unsupported token ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (string_content " in search path") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034d90(uVar10,pcVar13);" (call_expression "FUN_00034d90(uVar10,pcVar13)" (identifier "FUN_00034d90") (argument_list "(uVar10,pcVar13)" (( "(") (identifier "uVar10") (, ",") (identifier "pcVar13") () ")"))) (; ";")) (} "}")))) (if_statement "if (pcVar8 != (char *)0x0) {\n          *pcVar8 = '/';\n        }" (if "if") (parenthesized_expression "(pcVar8 != (char *)0x0)" (( "(") (binary_expression "pcVar8 != (char *)0x0" (identifier "pcVar8") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          *pcVar8 = '/';\n        }" ({ "{") (expression_statement "*pcVar8 = '/';" (assignment_expression "*pcVar8 = '/'" (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) (= "=") (char_literal "'/'" (' "'") (character "/") (' "'"))) (; ";")) (} "}"))) (expression_statement "pcVar17 = (char *)0x0;" (assignment_expression "pcVar17 = (char *)0x0" (identifier "pcVar17") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "pcVar13 = pcVar13 + (1 - (int)local_5c);" (assignment_expression "pcVar13 = pcVar13 + (1 - (int)local_5c)" (identifier "pcVar13") (= "=") (binary_expression "pcVar13 + (1 - (int)local_5c)" (identifier "pcVar13") (+ "+") (parenthesized_expression "(1 - (int)local_5c)" (( "(") (binary_expression "1 - (int)local_5c" (number_literal "1") (- "-") (cast_expression "(int)local_5c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_5c"))) () ")")))) (; ";")) (} "}")))) (expression_statement "free(pcVar17);" (call_expression "free(pcVar17)" (identifier "free") (argument_list "(pcVar17)" (( "(") (identifier "pcVar17") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar12 = FUN_0005d0b0();" (assignment_expression "iVar12 = FUN_0005d0b0()" (identifier "iVar12") (= "=") (call_expression "FUN_0005d0b0()" (identifier "FUN_0005d0b0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar12 != 0) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(iVar12 != 0)" (( "(") (binary_expression "iVar12 != 0" (identifier "iVar12") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "free(local_5c);" (call_expression "free(local_5c)" (identifier "free") (argument_list "(local_5c)" (( "(") (identifier "local_5c") () ")"))) (; ";")) (if_statement "if (*local_48 == '\0') {\n      return 0;\n    }" (if "if") (parenthesized_expression "(*local_48 == '\0')" (( "(") (binary_expression "*local_48 == '\0'" (pointer_expression "*local_48" (* "*") (identifier "local_48")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "param_1 = local_48 + 1;" (assignment_expression "param_1 = local_48 + 1" (identifier "param_1") (= "=") (binary_expression "local_48 + 1" (identifier "local_48") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

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

type_1 __regparm3 function_1(char *var_2,type_2 *n,int force)

{
  char *__s;
  size_t var_8;
  type_3 *pbVar2;
  char *pcVar3;
  size_t var_22;
  size_t var_28;
  char *var_13;
  type_4 *var_20;
  char *var_15;
  type_1 var_33;
  type_4 var_14;
  int var_16;
  char *var_12;
  type_4 *var_17;
  size_t var_6;
  type_4 *var_18;
  char *var_25;
  bool var_21;
  bool var_19;
  bool bVar19;
  type_4 bVar20;
  char *var_10;
  char *var_5;
  type_2 needed;
  
  bVar20 = 0;
  __s = n->name;
  if (*__s == '/') {
    var_33 = var_1(n,(int)__s,(type_2 *)force);
    return var_33;
  }
  if ((var_2 == (char *)0x0) || (*var_2 == '\0')) {
    return 0;
  }
  needed.by = n->by;
  needed.name = __s;
  var_8 = var_3(__s);
  do {
    var_5 = var_4(var_2,(int)config.rpath_separator);
    if (var_5 == (char *)0x0) {
      var_6 = var_3(var_2);
      var_5 = var_2 + var_6;
    }
    var_6 = (int)var_5 - (int)var_2;
    var_10 = (char *)var_7(var_8 + 2 + var_6);
    var_13 = var_10;
    if (var_2 != var_5) {
      var_9(var_10,var_2,var_6);
      var_10[var_6] = '/';
      var_13 = var_10 + var_6 + 1;
    }
    var_12 = (char *)0x0;
    var_11(var_13,__s);
    while (var_12 = var_4(var_10 + (int)var_12,0x24), var_12 != (char *)0x0) {
      var_13 = var_4(var_12,0x2f);
      var_6 = var_3(var_10);
      if (var_13 != (char *)0x0) {
        *var_13 = '\0';
      }
      var_14 = var_12[1];
      var_15 = var_12 + 1;
      if (var_14 == 0x7b) {
        var_14 = var_12[2];
        var_15 = var_12 + 2;
      }
      var_20 = (type_4 *)(var_15 + 1);
      var_19 = var_14 < 0x4c;
      bVar19 = var_14 == 0x4c;
      if (bVar19) {
        var_16 = 3;
        var_17 = var_20;
        var_18 = (type_4 *)0x701f6;
        do {
          if (var_16 == 0) break;
          var_16 = var_16 + -1;
          var_19 = *var_17 < *var_18;
          bVar19 = *var_17 == *var_18;
          var_17 = var_17 + (type_5)bVar20 * -2 + 1;
          var_18 = var_18 + (type_5)bVar20 * -2 + 1;
        } while (bVar19);
        var_21 = false;
        var_19 = (!var_19 && !bVar19) == var_19;
        if (!var_19) {
          var_16 = 4;
          var_17 = &DAT_000af890;
          do {
            if (var_16 == 0) break;
            var_16 = var_16 + -1;
            var_21 = *var_20 < *var_17;
            var_19 = *var_20 == *var_17;
            var_20 = var_20 + (type_5)bVar20 * -2 + 1;
            var_17 = var_17 + (type_5)bVar20 * -2 + 1;
          } while (var_19);
          if ((!var_21 && !var_19) != var_21) goto LAB_0005d699;
        }
        var_22 = 3;
        var_25 = (char *)0x0;
        var_15 = "lib";
LAB_0005d5b0:
        pcVar3 = (char *)var_7(var_22 + var_6);
        var_16 = (int)var_12 - (int)var_10;
        if (var_13 == (char *)0x0) {
          var_23(pcVar3,"%.*s%s",var_16,var_10,var_15);
          var_6 = var_3(var_15);
          var_12 = (char *)(var_16 + var_6);
        }
        else {
          var_23(pcVar3,"%.*s%s/%s",var_16,var_10,var_15,var_13 + 1);
          var_6 = var_3(var_15);
          var_12 = (char *)(var_16 + 1 + var_6);
        }
        var_24(var_10);
        var_10 = pcVar3;
      }
      else {
        var_19 = var_14 < 0x4f;
        bVar19 = var_14 == 0x4f;
        if (bVar19) {
          var_16 = 6;
          var_17 = var_20;
          var_18 = (type_4 *)0x704cc;
          do {
            if (var_16 == 0) break;
            var_16 = var_16 + -1;
            var_19 = *var_17 < *var_18;
            bVar19 = *var_17 == *var_18;
            var_17 = var_17 + (type_5)bVar20 * -2 + 1;
            var_18 = var_18 + (type_5)bVar20 * -2 + 1;
          } while (bVar19);
          var_21 = false;
          var_19 = (!var_19 && !bVar19) == var_19;
          if (!var_19) {
            var_16 = 7;
            var_17 = (type_4 *)"RIGIN}";
            do {
              if (var_16 == 0) break;
              var_16 = var_16 + -1;
              var_21 = *var_20 < *var_17;
              var_19 = *var_20 == *var_17;
              var_20 = var_20 + (type_5)bVar20 * -2 + 1;
              var_17 = var_17 + (type_5)bVar20 * -2 + 1;
            } while (var_19);
            if ((!var_21 && !var_19) != var_21) goto LAB_0005d699;
          }
          pbVar2 = needed.by;
          if (((needed.by != (type_3 *)0x0) ||
              (pbVar2 = link_info.output_bfd, link_info.output_bfd != (type_3 *)0x0)) &&
             (var_25 = pbVar2->filename, var_25 != (char *)0x0)) {
            if (*var_25 == '/') {
              var_15 = (char *)var_26(var_25);
            }
            else {
              pcVar3 = (char *)var_27();
              var_22 = var_3(var_25);
              var_28 = var_3(pcVar3);
              var_15 = (char *)var_7(var_22 + 2 + var_28);
              var_23(var_15,"%s/%s",pcVar3,var_25);
            }
            var_25 = var_29(var_15,0x2f);
            if (var_25 != (char *)0x0) {
              *var_25 = '\0';
            }
            var_22 = var_3(var_15);
            var_25 = var_15;
            goto LAB_0005d5b0;
          }
        }
LAB_0005d699:
        if (var_30 != 0) {
          var_15 = (char *)var_31(0,"unrecognised or unsupported token \'%s\' in search path\n",5
                                    );
          var_32(var_15,var_12);
        }
        if (var_13 != (char *)0x0) {
          *var_13 = '/';
        }
        var_25 = (char *)0x0;
        var_12 = var_12 + (1 - (int)var_10);
      }
      var_24(var_25);
    }
    needed.name = var_10;
    var_33 = var_1(&needed,(int)var_10,(type_2 *)force);
    if (var_33 != 0) {
      return 1;
    }
    var_24(var_10);
    if (*var_5 == '\0') {
      return 0;
    }
    var_2 = var_5 + 1;
  } while( true );
}


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

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

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

{
  char *__s;
  undefined4 *puVar1;
  size_t sVar2;
  undefined4 *puVar3;
  char *pcVar4;
  size_t sVar5;
  size_t sVar6;
  char *pcVar7;
  char *pcVar8;
  byte *pbVar9;
  undefined4 uVar10;
  byte bVar11;
  int iVar12;
  char *pcVar13;
  byte *pbVar14;
  size_t sVar15;
  byte *pbVar16;
  char *pcVar17;
  bool bVar18;
  bool bVar19;
  bool bVar20;
  byte bVar21;
  char *local_5c;
  char *local_48;
  
  bVar21 = 0;
  __s = (char *)param_2[1];
  if (*__s == '/') {
    uVar10 = FUN_0005d0b0();
    return uVar10;
  }
  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {
    return 0;
  }
  puVar1 = (undefined4 *)*param_2;
  sVar2 = strlen(__s);
  do {
    local_48 = strchr(param_1,(int)DAT_001c4728);
    if (local_48 == (char *)0x0) {
      sVar15 = strlen(param_1);
      local_48 = param_1 + sVar15;
    }
    sVar15 = (int)local_48 - (int)param_1;
    local_5c = (char *)xmalloc(sVar2 + 2 + sVar15);
    pcVar8 = local_5c;
    if (param_1 != local_48) {
      memcpy(local_5c,param_1,sVar15);
      local_5c[sVar15] = '/';
      pcVar8 = local_5c + sVar15 + 1;
    }
    pcVar13 = (char *)0x0;
    strcpy(pcVar8,__s);
    while (pcVar13 = strchr(local_5c + (int)pcVar13,0x24), pcVar13 != (char *)0x0) {
      pcVar8 = strchr(pcVar13,0x2f);
      sVar15 = strlen(local_5c);
      if (pcVar8 != (char *)0x0) {
        *pcVar8 = '\0';
      }
      bVar11 = pcVar13[1];
      pcVar7 = pcVar13 + 1;
      if (bVar11 == 0x7b) {
        bVar11 = pcVar13[2];
        pcVar7 = pcVar13 + 2;
      }
      pbVar9 = (byte *)(pcVar7 + 1);
      bVar19 = bVar11 < 0x4c;
      bVar20 = bVar11 == 0x4c;
      if (bVar20) {
        iVar12 = 3;
        pbVar14 = pbVar9;
        pbVar16 = (byte *)0x701f6;
        do {
          if (iVar12 == 0) break;
          iVar12 = iVar12 + -1;
          bVar19 = *pbVar14 < *pbVar16;
          bVar20 = *pbVar14 == *pbVar16;
          pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;
          pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;
        } while (bVar20);
        bVar18 = false;
        bVar19 = (!bVar19 && !bVar20) == bVar19;
        if (!bVar19) {
          iVar12 = 4;
          pbVar14 = &DAT_000af890;
          do {
            if (iVar12 == 0) break;
            iVar12 = iVar12 + -1;
            bVar18 = *pbVar9 < *pbVar14;
            bVar19 = *pbVar9 == *pbVar14;
            pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;
            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;
          } while (bVar19);
          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;
        }
        sVar5 = 3;
        pcVar17 = (char *)0x0;
        pcVar7 = "lib";
LAB_0005d5b0:
        pcVar4 = (char *)xmalloc(sVar5 + sVar15);
        iVar12 = (int)pcVar13 - (int)local_5c;
        if (pcVar8 == (char *)0x0) {
          sprintf(pcVar4,"%.*s%s",iVar12,local_5c,pcVar7);
          sVar15 = strlen(pcVar7);
          pcVar13 = (char *)(iVar12 + sVar15);
        }
        else {
          sprintf(pcVar4,"%.*s%s/%s",iVar12,local_5c,pcVar7,pcVar8 + 1);
          sVar15 = strlen(pcVar7);
          pcVar13 = (char *)(iVar12 + 1 + sVar15);
        }
        free(local_5c);
        local_5c = pcVar4;
      }
      else {
        bVar19 = bVar11 < 0x4f;
        bVar20 = bVar11 == 0x4f;
        if (bVar20) {
          iVar12 = 6;
          pbVar14 = pbVar9;
          pbVar16 = (byte *)0x704cc;
          do {
            if (iVar12 == 0) break;
            iVar12 = iVar12 + -1;
            bVar19 = *pbVar14 < *pbVar16;
            bVar20 = *pbVar14 == *pbVar16;
            pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;
            pbVar16 = pbVar16 + (uint)bVar21 * -2 + 1;
          } while (bVar20);
          bVar18 = false;
          bVar19 = (!bVar19 && !bVar20) == bVar19;
          if (!bVar19) {
            iVar12 = 7;
            pbVar14 = (byte *)"RIGIN}";
            do {
              if (iVar12 == 0) break;
              iVar12 = iVar12 + -1;
              bVar18 = *pbVar9 < *pbVar14;
              bVar19 = *pbVar9 == *pbVar14;
              pbVar9 = pbVar9 + (uint)bVar21 * -2 + 1;
              pbVar14 = pbVar14 + (uint)bVar21 * -2 + 1;
            } while (bVar19);
            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0005d699;
          }
          puVar3 = puVar1;
          if (((puVar1 != (undefined4 *)0x0) ||
              (puVar3 = DAT_001c4614, DAT_001c4614 != (undefined4 *)0x0)) &&
             (pcVar17 = (char *)*puVar3, pcVar17 != (char *)0x0)) {
            if (*pcVar17 == '/') {
              pcVar7 = (char *)xstrdup(pcVar17);
            }
            else {
              pcVar4 = (char *)getpwd();
              sVar5 = strlen(pcVar17);
              sVar6 = strlen(pcVar4);
              pcVar7 = (char *)xmalloc(sVar5 + 2 + sVar6);
              sprintf(pcVar7,"%s/%s",pcVar4,pcVar17);
            }
            pcVar17 = strrchr(pcVar7,0x2f);
            if (pcVar17 != (char *)0x0) {
              *pcVar17 = '\0';
            }
            sVar5 = strlen(pcVar7);
            pcVar17 = pcVar7;
            goto LAB_0005d5b0;
          }
        }
LAB_0005d699:
        if (DAT_001c475c != 0) {
          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);
          FUN_00034d90(uVar10,pcVar13);
        }
        if (pcVar8 != (char *)0x0) {
          *pcVar8 = '/';
        }
        pcVar17 = (char *)0x0;
        pcVar13 = pcVar13 + (1 - (int)local_5c);
      }
      free(pcVar17);
    }
    iVar12 = FUN_0005d0b0();
    if (iVar12 != 0) {
      return 1;
    }
    free(local_5c);
    if (*local_48 == '\0') {
      return 0;
    }
    param_1 = local_48 + 1;
  } while( true );
}

