
bfd_boolean gldelf_l1om_search_needed(char *path,dt_needed *n,int force)

{
  char *__s;
  byte bVar1;
  bfd_boolean bVar2;
  size_t sVar3;
  char *__s_00;
  bfd *pbVar4;
  char *pcVar5;
  size_t sVar6;
  size_t sVar7;
  char *__s_01;
  char *pcVar8;
  char *pcVar9;
  char *pcVar10;
  long lVar11;
  undefined4 in_register_00000014;
  uint uVar12;
  byte *pbVar13;
  byte *pbVar14;
  byte *pbVar15;
  ulong uVar16;
  size_t sVar17;
  bool bVar18;
  bool bVar19;
  bool bVar20;
  byte bVar21;
  char *local_78;
  dt_needed needed;
  
  bVar21 = 0;
  __s = n->name;
  if (*__s == '/') {
    bVar2 = gldelf_l1om_try_needed(n,(int)__s,(dt_needed *)CONCAT44(in_register_00000014,force));
    return bVar2;
  }
  if ((path == (char *)0x0) || (*path == '\0')) {
    return 0;
  }
  needed.by = n->by;
  needed.name = __s;
  sVar3 = strlen(__s);
  do {
    local_78 = strchr(path,(int)config.rpath_separator);
    if (local_78 == (char *)0x0) {
      sVar17 = strlen(path);
      local_78 = path + sVar17;
    }
    sVar17 = (long)local_78 - (long)path;
    __s_00 = (char *)xmalloc(sVar17 + sVar3 + 2);
    pcVar8 = __s_00;
    if (path != local_78) {
      memcpy(__s_00,path,sVar17);
      __s_00[sVar17] = '/';
      pcVar8 = __s_00 + sVar17 + 1;
    }
    uVar12 = 0;
    strcpy(pcVar8,__s);
    while( true ) {
      pcVar8 = strchr(__s_00 + uVar12,0x24);
      if (pcVar8 == (char *)0x0) break;
      pcVar9 = strchr(pcVar8,0x2f);
      sVar17 = strlen(__s_00);
      if (pcVar9 != (char *)0x0) {
        *pcVar9 = '\0';
      }
      bVar1 = pcVar8[1];
      pcVar10 = pcVar8 + 1;
      if (bVar1 == 0x7b) {
        bVar1 = pcVar8[2];
        pcVar10 = pcVar8 + 2;
      }
      pbVar14 = (byte *)(pcVar10 + 1);
      bVar19 = bVar1 < 0x4c;
      bVar20 = bVar1 == 0x4c;
      if (bVar20) {
        lVar11 = 3;
        pbVar13 = pbVar14;
        pbVar15 = (byte *)0x15d1f0;
        do {
          if (lVar11 == 0) break;
          lVar11 = lVar11 + -1;
          bVar19 = *pbVar13 < *pbVar15;
          bVar20 = *pbVar13 == *pbVar15;
          pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;
          pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;
        } while (bVar20);
        bVar18 = false;
        bVar19 = (!bVar19 && !bVar20) == bVar19;
        if (!bVar19) {
          lVar11 = 4;
          pbVar13 = &DAT_0019f947;
          do {
            if (lVar11 == 0) break;
            lVar11 = lVar11 + -1;
            bVar18 = *pbVar14 < *pbVar13;
            bVar19 = *pbVar14 == *pbVar13;
            pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;
            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;
          } while (bVar19);
          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;
        }
        sVar6 = 5;
        pcVar10 = (char *)0x0;
        __s_01 = "lib64";
LAB_0013fa65:
        uVar16 = (long)pcVar8 - (long)__s_00;
        pcVar8 = (char *)xmalloc((sVar17 & 0xffffffff) + sVar6);
        if (pcVar9 == (char *)0x0) {
          sprintf(pcVar8,"%.*s%s",uVar16 & 0xffffffff,__s_00,__s_01);
          sVar17 = strlen(__s_01);
          uVar12 = (int)uVar16 + (int)sVar17;
        }
        else {
          sprintf(pcVar8,"%.*s%s/%s",uVar16 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);
          sVar17 = strlen(__s_01);
          uVar12 = (int)uVar16 + 1 + (int)sVar17;
        }
        free(__s_00);
      }
      else {
        bVar19 = bVar1 < 0x4f;
        bVar20 = bVar1 == 0x4f;
        if (bVar20) {
          lVar11 = 6;
          pbVar13 = pbVar14;
          pbVar15 = (byte *)0x15d4c6;
          do {
            if (lVar11 == 0) break;
            lVar11 = lVar11 + -1;
            bVar19 = *pbVar13 < *pbVar15;
            bVar20 = *pbVar13 == *pbVar15;
            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;
            pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;
          } while (bVar20);
          bVar18 = false;
          bVar19 = (!bVar19 && !bVar20) == bVar19;
          if (!bVar19) {
            lVar11 = 7;
            pbVar13 = &DAT_0019f940;
            do {
              if (lVar11 == 0) break;
              lVar11 = lVar11 + -1;
              bVar18 = *pbVar14 < *pbVar13;
              bVar19 = *pbVar14 == *pbVar13;
              pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;
              pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;
            } while (bVar19);
            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;
          }
          pbVar4 = needed.by;
          if (((needed.by != (bfd *)0x0) ||
              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&
             (pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0)) {
            if (*pcVar10 == '/') {
              __s_01 = (char *)xstrdup(pcVar10);
            }
            else {
              pcVar5 = (char *)getpwd();
              sVar6 = strlen(pcVar10);
              sVar7 = strlen(pcVar5);
              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);
              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);
            }
            pcVar5 = strrchr(__s_01,0x2f);
            pcVar10 = __s_01;
            if (pcVar5 == (char *)0x0) {
              sVar6 = strlen(__s_01);
            }
            else {
              *pcVar5 = '\0';
              sVar6 = strlen(__s_01);
            }
            goto LAB_0013fa65;
          }
        }
LAB_0013fb2b:
        if (verbose != 0) {
          pcVar10 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",
                                      5);
          info_msg(pcVar10,pcVar8);
        }
        if (pcVar9 != (char *)0x0) {
          *pcVar9 = '/';
        }
        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;
        pcVar10 = (char *)0x0;
        pcVar8 = __s_00;
      }
      free(pcVar10);
      __s_00 = pcVar8;
    }
    needed.name = __s_00;
    bVar2 = gldelf_l1om_try_needed(&needed,(int)__s_00,(dt_needed *)(ulong)(uint)force);
    if (bVar2 != 0) {
      return 1;
    }
    free(__s_00);
    if (*local_78 == '\0') {
      return 0;
    }
    path = local_78 + 1;
  } while( true );
}



undefined8 FUN_0013f8c0(char *param_1,undefined8 *param_2,undefined4 param_3)

{
  char *__s;
  byte bVar1;
  int iVar2;
  size_t sVar3;
  char *__s_00;
  undefined8 *puVar4;
  char *pcVar5;
  size_t sVar6;
  size_t sVar7;
  char *__s_01;
  char *pcVar8;
  char *pcVar9;
  undefined8 uVar10;
  long lVar11;
  uint uVar12;
  byte *pbVar13;
  byte *pbVar14;
  char *pcVar15;
  byte *pbVar16;
  ulong uVar17;
  size_t sVar18;
  bool bVar19;
  bool bVar20;
  bool bVar21;
  byte bVar22;
  char *local_78;
  undefined8 *local_48;
  char *local_40;
  
  bVar22 = 0;
  __s = (char *)param_2[1];
  if (*__s == '/') {
    uVar10 = FUN_0013f5c0(param_2,__s);
    return uVar10;
  }
  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {
    return 0;
  }
  local_48 = (undefined8 *)*param_2;
  local_40 = __s;
  sVar3 = strlen(__s);
  do {
    local_78 = strchr(param_1,(int)DAT_002b6108);
    if (local_78 == (char *)0x0) {
      sVar18 = strlen(param_1);
      local_78 = param_1 + sVar18;
    }
    sVar18 = (long)local_78 - (long)param_1;
    __s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);
    pcVar8 = __s_00;
    if (param_1 != local_78) {
      memcpy(__s_00,param_1,sVar18);
      __s_00[sVar18] = '/';
      pcVar8 = __s_00 + sVar18 + 1;
    }
    uVar12 = 0;
    strcpy(pcVar8,__s);
    while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {
      pcVar9 = strchr(pcVar8,0x2f);
      sVar18 = strlen(__s_00);
      if (pcVar9 != (char *)0x0) {
        *pcVar9 = '\0';
      }
      bVar1 = pcVar8[1];
      pcVar15 = pcVar8 + 1;
      if (bVar1 == 0x7b) {
        bVar1 = pcVar8[2];
        pcVar15 = pcVar8 + 2;
      }
      pbVar14 = (byte *)(pcVar15 + 1);
      bVar20 = bVar1 < 0x4c;
      bVar21 = bVar1 == 0x4c;
      if (bVar21) {
        lVar11 = 3;
        pbVar13 = pbVar14;
        pbVar16 = (byte *)0x15d1f0;
        do {
          if (lVar11 == 0) break;
          lVar11 = lVar11 + -1;
          bVar20 = *pbVar13 < *pbVar16;
          bVar21 = *pbVar13 == *pbVar16;
          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;
          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;
        } while (bVar21);
        bVar19 = false;
        bVar20 = (!bVar20 && !bVar21) == bVar20;
        if (!bVar20) {
          lVar11 = 4;
          pbVar13 = &DAT_0019f947;
          do {
            if (lVar11 == 0) break;
            lVar11 = lVar11 + -1;
            bVar19 = *pbVar14 < *pbVar13;
            bVar20 = *pbVar14 == *pbVar13;
            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;
            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;
          } while (bVar20);
          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;
        }
        sVar6 = 5;
        pcVar15 = (char *)0x0;
        __s_01 = "lib64";
LAB_0013fa65:
        uVar17 = (long)pcVar8 - (long)__s_00;
        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);
        if (pcVar9 == (char *)0x0) {
          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);
          sVar18 = strlen(__s_01);
          uVar12 = (int)uVar17 + (int)sVar18;
        }
        else {
          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);
          sVar18 = strlen(__s_01);
          uVar12 = (int)uVar17 + 1 + (int)sVar18;
        }
        free(__s_00);
      }
      else {
        bVar20 = bVar1 < 0x4f;
        bVar21 = bVar1 == 0x4f;
        if (bVar21) {
          lVar11 = 6;
          pbVar13 = pbVar14;
          pbVar16 = (byte *)0x15d4c6;
          do {
            if (lVar11 == 0) break;
            lVar11 = lVar11 + -1;
            bVar20 = *pbVar13 < *pbVar16;
            bVar21 = *pbVar13 == *pbVar16;
            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;
            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;
          } while (bVar21);
          bVar19 = false;
          bVar20 = (!bVar20 && !bVar21) == bVar20;
          if (!bVar20) {
            lVar11 = 7;
            pbVar13 = &DAT_0019f940;
            do {
              if (lVar11 == 0) break;
              lVar11 = lVar11 + -1;
              bVar19 = *pbVar14 < *pbVar13;
              bVar20 = *pbVar14 == *pbVar13;
              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;
              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;
            } while (bVar20);
            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;
          }
          puVar4 = local_48;
          if (((local_48 != (undefined8 *)0x0) ||
              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&
             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {
            if (*pcVar15 == '/') {
              __s_01 = (char *)xstrdup(pcVar15);
            }
            else {
              pcVar5 = (char *)getpwd();
              sVar6 = strlen(pcVar15);
              sVar7 = strlen(pcVar5);
              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);
              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);
            }
            pcVar5 = strrchr(__s_01,0x2f);
            pcVar15 = __s_01;
            if (pcVar5 == (char *)0x0) {
              sVar6 = strlen(__s_01);
            }
            else {
              *pcVar5 = '\0';
              sVar6 = strlen(__s_01);
            }
            goto LAB_0013fa65;
          }
        }
LAB_0013fb2b:
        if (DAT_002b6158 != 0) {
          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);
          FUN_001292e0(uVar10,pcVar8);
        }
        if (pcVar9 != (char *)0x0) {
          *pcVar9 = '/';
        }
        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;
        pcVar15 = (char *)0x0;
        pcVar8 = __s_00;
      }
      free(pcVar15);
      __s_00 = pcVar8;
    }
    local_40 = __s_00;
    iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);
    if (iVar2 != 0) {
      return 1;
    }
    free(__s_00);
    if (*local_78 == '\0') {
      return 0;
    }
    param_1 = local_78 + 1;
  } while( true );
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
MOV RBX,RDI
MOV RDI,RSI
SUB RSP,0x48
MOV RAX,qword ptr [RSI + 0x8]
MOV dword ptr [RSP + 0x1c],EDX
CMP byte ptr [RAX],0x2f
MOV qword ptr [RSP + 0x10],RAX
JZ 0x0013fcb8
TEST RBX,RBX
JZ 0x0013fb50
CMP byte ptr [RBX],0x0
JZ 0x0013fb50
MOV RAX,qword ptr [RSI]
MOV qword ptr [RSP + 0x30],RAX
MOV RAX,qword ptr [RSP + 0x10]
MOV RDI,RAX
MOV qword ptr [RSP + 0x38],RAX
CALL 0x0010d330
ADD RAX,0x2
MOV qword ptr [RSP + 0x20],RAX
LEA RAX,[RSP + 0x30]
MOV qword ptr [RSP + 0x28],RAX
NOP dword ptr [RAX]
MOVSX ESI,byte ptr [0x002b6108]
MOV RDI,RBX
CALL 0x0010d3a0
MOV qword ptr [RSP],RAX
TEST RAX,RAX
JZ 0x0013fc90
MOV R14,qword ptr [RSP]
MOV RAX,qword ptr [RSP + 0x20]
MOV R13,R14
SUB R13,RBX
LEA RDI,[R13 + RAX*0x1]
CALL 0x0010dda0
MOV RBP,RAX
MOV RDI,RAX
CMP RBX,R14
JZ 0x0013f986
MOV RDX,R13
MOV RSI,RBX
CALL 0x0010d740
MOV byte ptr [RBP + R13*0x1],0x2f
LEA RDI,[RBP + R13*0x1 + 0x1]
MOV RSI,qword ptr [RSP + 0x10]
XOR EBX,EBX
CALL 0x0010d150
JMP 0x0013fabf
MOV ECX,0x6
MOV RSI,RDX
LEA RDI,[0x15d4c6]
CMPSB.REPE RDI,RSI
SETA AL
SBB AL,0x0
TEST AL,AL
JZ 0x0013f9d8
MOV ECX,0x7
LEA RDI,[0x19f940]
MOV RSI,RDX
CMPSB.REPE RDI,RSI
SETA AL
SBB AL,0x0
TEST AL,AL
JNZ 0x0013fb2b
MOV RAX,qword ptr [RSP + 0x30]
TEST RAX,RAX
JZ 0x0013fc50
MOV R14,qword ptr [RAX]
TEST R14,R14
JZ 0x0013fb2b
CMP byte ptr [R14],0x2f
JZ 0x0013fc68
CALL 0x0010d3c0
MOV RDI,R14
MOV qword ptr [RSP + 0x8],RAX
CALL 0x0010d330
MOV RDI,qword ptr [RSP + 0x8]
MOV RBX,RAX
CALL 0x0010d330
LEA RDI,[RBX + RAX*0x1 + 0x2]
CALL 0x0010dda0
MOV RDX,qword ptr [RSP + 0x8]
MOV RCX,R14
LEA RSI,[0x19f94f]
MOV RBX,RAX
MOV RDI,RAX
XOR EAX,EAX
CALL 0x0010dbc0
MOV ESI,0x2f
MOV RDI,RBX
CALL 0x0010d410
TEST RAX,RAX
JZ 0x0013fc80
MOV byte ptr [RAX],0x0
MOV RDI,RBX
MOV R14,RBX
CALL 0x0010d330
MOV R13D,R13D
SUB R12,RBP
LEA RDI,[R13 + RAX*0x1]
CALL 0x0010dda0
MOV R13,RAX
TEST R15,R15
JZ 0x0013fc20
MOV R8,RBX
LEA R9,[R15 + 0x1]
MOV RCX,RBP
MOV EDX,R12D
LEA RSI,[0x19f94b]
MOV RDI,R13
XOR EAX,EAX
CALL 0x0010dbc0
MOV RDI,RBX
CALL 0x0010d330
LEA EBX,[R12 + RAX*0x1 + 0x1]
MOV RDI,RBP
MOV RBP,R13
CALL 0x0010dd90
MOV RDI,R14
CALL 0x0010dd90
MOV EDI,EBX
MOV ESI,0x24
ADD RDI,RBP
CALL 0x0010d3a0
MOV R12,RAX
TEST RAX,RAX
JZ 0x0013fbd8
MOV ESI,0x2f
MOV RDI,R12
LEA RBX,[R12 + 0x1]
CALL 0x0010d3a0
MOV RDI,RBP
MOV R15,RAX
CALL 0x0010d330
MOV R13,RAX
TEST R15,R15
JZ 0x0013fb03
MOV byte ptr [R15],0x0
MOVZX EAX,byte ptr [R12 + 0x1]
MOV RSI,RBX
CMP AL,0x7b
JNZ 0x0013fb1b
MOVZX EAX,byte ptr [R12 + 0x2]
LEA RSI,[R12 + 0x2]
LEA RDX,[RSI + 0x1]
CMP AL,0x4c
JZ 0x0013fb68
CMP AL,0x4f
JZ 0x0013f9a0
MOV EAX,dword ptr [0x002b6158]
TEST EAX,EAX
JNZ 0x0013fbb0
TEST R15,R15
JZ 0x0013fb3e
MOV byte ptr [R15],0x2f
SUB EBX,EBP
XOR R14D,R14D
JMP 0x0013fab7
ADD RSP,0x48
XOR EAX,EAX
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV ECX,0x3
MOV RSI,RDX
LEA RDI,[0x15d1f0]
CMPSB.REPE RDI,RSI
SETA AL
SBB AL,0x0
TEST AL,AL
JZ 0x0013fb9c
MOV ECX,0x4
MOV RSI,RDX
LEA RDI,[0x19f947]
CMPSB.REPE RDI,RSI
SETA AL
SBB AL,0x0
TEST AL,AL
JNZ 0x0013fb2b
MOV EAX,0x5
XOR R14D,R14D
LEA RBX,[0x19f93a]
JMP 0x0013fa65
XOR EDI,EDI
MOV EDX,0x5
LEA RSI,[0x19f478]
CALL 0x0010d300
MOV RSI,R12
MOV RDI,RAX
XOR EAX,EAX
CALL 0x001292e0
JMP 0x0013fb35
MOV EDX,dword ptr [RSP + 0x1c]
MOV RDI,qword ptr [RSP + 0x28]
MOV RSI,RBP
MOV qword ptr [RSP + 0x38],RBP
CALL 0x0013f5c0
TEST EAX,EAX
JNZ 0x0013fca4
MOV RDI,RBP
CALL 0x0010dd90
MOV RAX,qword ptr [RSP]
CMP byte ptr [RAX],0x0
JZ 0x0013fb50
ADD RAX,0x1
MOV RBX,RAX
JMP 0x0013f930
MOV R8,RBX
MOV RCX,RBP
MOV EDX,R12D
MOV RDI,R13
LEA RSI,[0x19f955]
XOR EAX,EAX
CALL 0x0010dbc0
MOV RDI,RBX
CALL 0x0010d330
LEA EBX,[R12 + RAX*0x1]
JMP 0x0013faac
MOV RAX,qword ptr [0x002b5f90]
TEST RAX,RAX
JNZ 0x0013f9e6
JMP 0x0013fb2b
MOV RDI,R14
CALL 0x0010d510
MOV RBX,RAX
JMP 0x0013fa41
MOV RDI,RBX
MOV R14,RBX
CALL 0x0010d330
JMP 0x0013fa65
MOV RDI,RBX
CALL 0x0010d330
ADD RAX,RBX
MOV qword ptr [RSP],RAX
JMP 0x0013f94c
ADD RSP,0x48
MOV EAX,0x1
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RSI,RAX
CALL 0x0013f5c0
ADD RSP,0x48
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
(translation_unit "undefined8 FUN_0013f8c0(char *param_1,undefined8 *param_2,undefined4 param_3)\n\n{\n  char *__s;\n  byte bVar1;\n  int iVar2;\n  size_t sVar3;\n  char *__s_00;\n  undefined8 *puVar4;\n  char *pcVar5;\n  size_t sVar6;\n  size_t sVar7;\n  char *__s_01;\n  char *pcVar8;\n  char *pcVar9;\n  undefined8 uVar10;\n  long lVar11;\n  uint uVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  char *pcVar15;\n  byte *pbVar16;\n  ulong uVar17;\n  size_t sVar18;\n  bool bVar19;\n  bool bVar20;\n  bool bVar21;\n  byte bVar22;\n  char *local_78;\n  undefined8 *local_48;\n  char *local_40;\n  \n  bVar22 = 0;\n  __s = (char *)param_2[1];\n  if (*__s == '/') {\n    uVar10 = FUN_0013f5c0(param_2,__s);\n    return uVar10;\n  }\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }\n  local_48 = (undefined8 *)*param_2;\n  local_40 = __s;\n  sVar3 = strlen(__s);\n  do {\n    local_78 = strchr(param_1,(int)DAT_002b6108);\n    if (local_78 == (char *)0x0) {\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }\n    sVar18 = (long)local_78 - (long)param_1;\n    __s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (param_1 != local_78) {\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }\n    local_40 = __s_00;\n    iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);\n    if (iVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    param_1 = local_78 + 1;\n  } while( true );\n}\n\n" (function_definition "undefined8 FUN_0013f8c0(char *param_1,undefined8 *param_2,undefined4 param_3)\n\n{\n  char *__s;\n  byte bVar1;\n  int iVar2;\n  size_t sVar3;\n  char *__s_00;\n  undefined8 *puVar4;\n  char *pcVar5;\n  size_t sVar6;\n  size_t sVar7;\n  char *__s_01;\n  char *pcVar8;\n  char *pcVar9;\n  undefined8 uVar10;\n  long lVar11;\n  uint uVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  char *pcVar15;\n  byte *pbVar16;\n  ulong uVar17;\n  size_t sVar18;\n  bool bVar19;\n  bool bVar20;\n  bool bVar21;\n  byte bVar22;\n  char *local_78;\n  undefined8 *local_48;\n  char *local_40;\n  \n  bVar22 = 0;\n  __s = (char *)param_2[1];\n  if (*__s == '/') {\n    uVar10 = FUN_0013f5c0(param_2,__s);\n    return uVar10;\n  }\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }\n  local_48 = (undefined8 *)*param_2;\n  local_40 = __s;\n  sVar3 = strlen(__s);\n  do {\n    local_78 = strchr(param_1,(int)DAT_002b6108);\n    if (local_78 == (char *)0x0) {\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }\n    sVar18 = (long)local_78 - (long)param_1;\n    __s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (param_1 != local_78) {\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }\n    local_40 = __s_00;\n    iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);\n    if (iVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    param_1 = local_78 + 1;\n  } while( true );\n}" type_identifier (function_declarator "FUN_0013f8c0(char *param_1,undefined8 *param_2,undefined4 param_3)" identifier (parameter_list "(char *param_1,undefined8 *param_2,undefined4 param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  char *__s;\n  byte bVar1;\n  int iVar2;\n  size_t sVar3;\n  char *__s_00;\n  undefined8 *puVar4;\n  char *pcVar5;\n  size_t sVar6;\n  size_t sVar7;\n  char *__s_01;\n  char *pcVar8;\n  char *pcVar9;\n  undefined8 uVar10;\n  long lVar11;\n  uint uVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  char *pcVar15;\n  byte *pbVar16;\n  ulong uVar17;\n  size_t sVar18;\n  bool bVar19;\n  bool bVar20;\n  bool bVar21;\n  byte bVar22;\n  char *local_78;\n  undefined8 *local_48;\n  char *local_40;\n  \n  bVar22 = 0;\n  __s = (char *)param_2[1];\n  if (*__s == '/') {\n    uVar10 = FUN_0013f5c0(param_2,__s);\n    return uVar10;\n  }\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }\n  local_48 = (undefined8 *)*param_2;\n  local_40 = __s;\n  sVar3 = strlen(__s);\n  do {\n    local_78 = strchr(param_1,(int)DAT_002b6108);\n    if (local_78 == (char *)0x0) {\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }\n    sVar18 = (long)local_78 - (long)param_1;\n    __s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (param_1 != local_78) {\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }\n    local_40 = __s_00;\n    iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);\n    if (iVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    param_1 = local_78 + 1;\n  } while( true );\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "char *__s_01;" primitive_type (pointer_declarator "*__s_01" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "undefined8 uVar10;" type_identifier identifier ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "char *pcVar15;" primitive_type (pointer_declarator "*pcVar15" * identifier) ;) (declaration "byte *pbVar16;" type_identifier (pointer_declarator "*pbVar16" * identifier) ;) (declaration "ulong uVar17;" type_identifier identifier ;) (declaration "size_t sVar18;" primitive_type identifier ;) (declaration "bool bVar19;" primitive_type identifier ;) (declaration "bool bVar20;" primitive_type identifier ;) (declaration "bool bVar21;" primitive_type identifier ;) (declaration "byte bVar22;" type_identifier identifier ;) (declaration "char *local_78;" primitive_type (pointer_declarator "*local_78" * identifier) ;) (declaration "undefined8 *local_48;" type_identifier (pointer_declarator "*local_48" * identifier) ;) (declaration "char *local_40;" primitive_type (pointer_declarator "*local_40" * identifier) ;) (expression_statement "bVar22 = 0;" (assignment_expression "bVar22 = 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_0013f5c0(param_2,__s);\n    return uVar10;\n  }" if (parenthesized_expression "(*__s == '/')" ( (binary_expression "*__s == '/'" (pointer_expression "*__s" * identifier) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n    uVar10 = FUN_0013f5c0(param_2,__s);\n    return uVar10;\n  }" { (expression_statement "uVar10 = FUN_0013f5c0(param_2,__s);" (assignment_expression "uVar10 = FUN_0013f5c0(param_2,__s)" identifier = (call_expression "FUN_0013f5c0(param_2,__s)" identifier (argument_list "(param_2,__s)" ( identifier , identifier )))) ;) (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 "local_48 = (undefined8 *)*param_2;" (assignment_expression "local_48 = (undefined8 *)*param_2" identifier = (cast_expression "(undefined8 *)*param_2" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "local_40 = __s;" (assignment_expression "local_40 = __s" identifier = identifier) ;) (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (do_statement "do {\n    local_78 = strchr(param_1,(int)DAT_002b6108);\n    if (local_78 == (char *)0x0) {\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }\n    sVar18 = (long)local_78 - (long)param_1;\n    __s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (param_1 != local_78) {\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }\n    local_40 = __s_00;\n    iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);\n    if (iVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    param_1 = local_78 + 1;\n  } while( true );" do (compound_statement "{\n    local_78 = strchr(param_1,(int)DAT_002b6108);\n    if (local_78 == (char *)0x0) {\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }\n    sVar18 = (long)local_78 - (long)param_1;\n    __s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (param_1 != local_78) {\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }\n    local_40 = __s_00;\n    iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);\n    if (iVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    param_1 = local_78 + 1;\n  }" { (expression_statement "local_78 = strchr(param_1,(int)DAT_002b6108);" (assignment_expression "local_78 = strchr(param_1,(int)DAT_002b6108)" identifier = (call_expression "strchr(param_1,(int)DAT_002b6108)" identifier (argument_list "(param_1,(int)DAT_002b6108)" ( identifier , (cast_expression "(int)DAT_002b6108" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (if_statement "if (local_78 == (char *)0x0) {\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }" if (parenthesized_expression "(local_78 == (char *)0x0)" ( (binary_expression "local_78 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }" { (expression_statement "sVar18 = strlen(param_1);" (assignment_expression "sVar18 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "local_78 = param_1 + sVar18;" (assignment_expression "local_78 = param_1 + sVar18" identifier = (binary_expression "param_1 + sVar18" identifier + identifier)) ;) })) (expression_statement "sVar18 = (long)local_78 - (long)param_1;" (assignment_expression "sVar18 = (long)local_78 - (long)param_1" identifier = (binary_expression "(long)local_78 - (long)param_1" (cast_expression "(long)local_78" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "__s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);" (assignment_expression "__s_00 = (char *)xmalloc(sVar18 + sVar3 + 2)" identifier = (cast_expression "(char *)xmalloc(sVar18 + sVar3 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar18 + sVar3 + 2)" identifier (argument_list "(sVar18 + sVar3 + 2)" ( (binary_expression "sVar18 + sVar3 + 2" (binary_expression "sVar18 + sVar3" identifier + identifier) + number_literal) ))))) ;) (expression_statement "pcVar8 = __s_00;" (assignment_expression "pcVar8 = __s_00" identifier = identifier) ;) (if_statement "if (param_1 != local_78) {\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }" if (parenthesized_expression "(param_1 != local_78)" ( (binary_expression "param_1 != local_78" identifier != identifier) )) (compound_statement "{\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }" { (expression_statement "memcpy(__s_00,param_1,sVar18);" (call_expression "memcpy(__s_00,param_1,sVar18)" identifier (argument_list "(__s_00,param_1,sVar18)" ( identifier , identifier , identifier ))) ;) (expression_statement "__s_00[sVar18] = '/';" (assignment_expression "__s_00[sVar18] = '/'" (subscript_expression "__s_00[sVar18]" identifier [ identifier ]) = (char_literal "'/'" ' character ')) ;) (expression_statement "pcVar8 = __s_00 + sVar18 + 1;" (assignment_expression "pcVar8 = __s_00 + sVar18 + 1" identifier = (binary_expression "__s_00 + sVar18 + 1" (binary_expression "__s_00 + sVar18" identifier + identifier) + number_literal)) ;) })) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (expression_statement "strcpy(pcVar8,__s);" (call_expression "strcpy(pcVar8,__s)" identifier (argument_list "(pcVar8,__s)" ( identifier , identifier ))) ;) (while_statement "while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }" while (parenthesized_expression "(pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0)" ( (comma_expression "pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0" (assignment_expression "pcVar8 = strchr(__s_00 + uVar12,0x24)" identifier = (call_expression "strchr(__s_00 + uVar12,0x24)" identifier (argument_list "(__s_00 + uVar12,0x24)" ( (binary_expression "__s_00 + uVar12" identifier + identifier) , number_literal )))) , (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }" { (expression_statement "pcVar9 = strchr(pcVar8,0x2f);" (assignment_expression "pcVar9 = strchr(pcVar8,0x2f)" identifier = (call_expression "strchr(pcVar8,0x2f)" identifier (argument_list "(pcVar8,0x2f)" ( identifier , number_literal )))) ;) (expression_statement "sVar18 = strlen(__s_00);" (assignment_expression "sVar18 = strlen(__s_00)" identifier = (call_expression "strlen(__s_00)" identifier (argument_list "(__s_00)" ( identifier )))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *pcVar9 = '\0';\n      }" { (expression_statement "*pcVar9 = '\0';" (assignment_expression "*pcVar9 = '\0'" (pointer_expression "*pcVar9" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "bVar1 = pcVar8[1];" (assignment_expression "bVar1 = pcVar8[1]" identifier = (subscript_expression "pcVar8[1]" identifier [ number_literal ])) ;) (expression_statement "pcVar15 = pcVar8 + 1;" (assignment_expression "pcVar15 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }" if (parenthesized_expression "(bVar1 == 0x7b)" ( (binary_expression "bVar1 == 0x7b" identifier == number_literal) )) (compound_statement "{\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }" { (expression_statement "bVar1 = pcVar8[2];" (assignment_expression "bVar1 = pcVar8[2]" identifier = (subscript_expression "pcVar8[2]" identifier [ number_literal ])) ;) (expression_statement "pcVar15 = pcVar8 + 2;" (assignment_expression "pcVar15 = pcVar8 + 2" identifier = (binary_expression "pcVar8 + 2" identifier + number_literal)) ;) })) (expression_statement "pbVar14 = (byte *)(pcVar15 + 1);" (assignment_expression "pbVar14 = (byte *)(pcVar15 + 1)" identifier = (cast_expression "(byte *)(pcVar15 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 1)" ( (binary_expression "pcVar15 + 1" identifier + number_literal) )))) ;) (expression_statement "bVar20 = bVar1 < 0x4c;" (assignment_expression "bVar20 = bVar1 < 0x4c" identifier = (binary_expression "bVar1 < 0x4c" identifier < number_literal)) ;) (expression_statement "bVar21 = bVar1 == 0x4c;" (assignment_expression "bVar21 = bVar1 == 0x4c" identifier = (binary_expression "bVar1 == 0x4c" identifier == number_literal)) ;) (if_statement "if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }" if (parenthesized_expression "(bVar21)" ( identifier )) (compound_statement "{\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }" { (expression_statement "lVar11 = 3;" (assignment_expression "lVar11 = 3" identifier = number_literal) ;) (expression_statement "pbVar13 = pbVar14;" (assignment_expression "pbVar13 = pbVar14" identifier = identifier) ;) (expression_statement "pbVar16 = (byte *)0x15d1f0;" (assignment_expression "pbVar16 = (byte *)0x15d1f0" identifier = (cast_expression "(byte *)0x15d1f0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);" do (compound_statement "{\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        }" { (if_statement "if (lVar11 == 0) break;" if (parenthesized_expression "(lVar11 == 0)" ( (binary_expression "lVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar11 = lVar11 + -1;" (assignment_expression "lVar11 = lVar11 + -1" identifier = (binary_expression "lVar11 + -1" identifier + number_literal)) ;) (expression_statement "bVar20 = *pbVar13 < *pbVar16;" (assignment_expression "bVar20 = *pbVar13 < *pbVar16" identifier = (binary_expression "*pbVar13 < *pbVar16" (pointer_expression "*pbVar13" * identifier) < (pointer_expression "*pbVar16" * identifier))) ;) (expression_statement "bVar21 = *pbVar13 == *pbVar16;" (assignment_expression "bVar21 = *pbVar13 == *pbVar16" identifier = (binary_expression "*pbVar13 == *pbVar16" (pointer_expression "*pbVar13" * identifier) == (pointer_expression "*pbVar16" * identifier))) ;) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1" identifier = (binary_expression "pbVar13 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar22 * -2" identifier + (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1" identifier = (binary_expression "pbVar16 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar16 + (ulong)bVar22 * -2" identifier + (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar21)" ( identifier )) ;) (expression_statement "bVar19 = false;" (assignment_expression "bVar19 = false" identifier = false) ;) (expression_statement "bVar20 = (!bVar20 && !bVar21) == bVar20;" (assignment_expression "bVar20 = (!bVar20 && !bVar21) == bVar20" identifier = (binary_expression "(!bVar20 && !bVar21) == bVar20" (parenthesized_expression "(!bVar20 && !bVar21)" ( (binary_expression "!bVar20 && !bVar21" (unary_expression "!bVar20" ! identifier) && (unary_expression "!bVar21" ! identifier)) )) == identifier)) ;) (if_statement "if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }" if (parenthesized_expression "(!bVar20)" ( (unary_expression "!bVar20" ! identifier) )) (compound_statement "{\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }" { (expression_statement "lVar11 = 4;" (assignment_expression "lVar11 = 4" identifier = number_literal) ;) (expression_statement "pbVar13 = &DAT_0019f947;" (assignment_expression "pbVar13 = &DAT_0019f947" identifier = (pointer_expression "&DAT_0019f947" & identifier)) ;) (do_statement "do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);" do (compound_statement "{\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          }" { (if_statement "if (lVar11 == 0) break;" if (parenthesized_expression "(lVar11 == 0)" ( (binary_expression "lVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar11 = lVar11 + -1;" (assignment_expression "lVar11 = lVar11 + -1" identifier = (binary_expression "lVar11 + -1" identifier + number_literal)) ;) (expression_statement "bVar19 = *pbVar14 < *pbVar13;" (assignment_expression "bVar19 = *pbVar14 < *pbVar13" identifier = (binary_expression "*pbVar14 < *pbVar13" (pointer_expression "*pbVar14" * identifier) < (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "bVar20 = *pbVar14 == *pbVar13;" (assignment_expression "bVar20 = *pbVar14 == *pbVar13" identifier = (binary_expression "*pbVar14 == *pbVar13" (pointer_expression "*pbVar14" * identifier) == (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1" identifier = (binary_expression "pbVar14 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar14 + (ulong)bVar22 * -2" identifier + (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1" identifier = (binary_expression "pbVar13 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar22 * -2" identifier + (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar20)" ( identifier )) ;) (if_statement "if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;" if (parenthesized_expression "((!bVar19 && !bVar20) != bVar19)" ( (binary_expression "(!bVar19 && !bVar20) != bVar19" (parenthesized_expression "(!bVar19 && !bVar20)" ( (binary_expression "!bVar19 && !bVar20" (unary_expression "!bVar19" ! identifier) && (unary_expression "!bVar20" ! identifier)) )) != identifier) )) (goto_statement "goto LAB_0013fb2b;" goto statement_identifier ;)) })) (expression_statement "sVar6 = 5;" (assignment_expression "sVar6 = 5" identifier = number_literal) ;) (expression_statement "pcVar15 = (char *)0x0;" (assignment_expression "pcVar15 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__s_01 = "lib64";" (assignment_expression "__s_01 = "lib64"" identifier = (string_literal ""lib64"" " string_content ")) ;) (labeled_statement "LAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;" statement_identifier : (expression_statement "uVar17 = (long)pcVar8 - (long)__s_00;" (assignment_expression "uVar17 = (long)pcVar8 - (long)__s_00" identifier = (binary_expression "(long)pcVar8 - (long)__s_00" (cast_expression "(long)pcVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__s_00" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;)) (expression_statement "pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);" (assignment_expression "pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6)" identifier = (cast_expression "(char *)xmalloc((sVar18 & 0xffffffff) + sVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc((sVar18 & 0xffffffff) + sVar6)" identifier (argument_list "((sVar18 & 0xffffffff) + sVar6)" ( (binary_expression "(sVar18 & 0xffffffff) + sVar6" (parenthesized_expression "(sVar18 & 0xffffffff)" ( (binary_expression "sVar18 & 0xffffffff" identifier & number_literal) )) + identifier) ))))) ;) (if_statement "if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }" { (expression_statement "sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);" (call_expression "sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01)" identifier (argument_list "(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01)" ( identifier , (string_literal ""%.*s%s"" " string_content ") , (binary_expression "uVar17 & 0xffffffff" identifier & number_literal) , identifier , identifier ))) ;) (expression_statement "sVar18 = strlen(__s_01);" (assignment_expression "sVar18 = strlen(__s_01)" identifier = (call_expression "strlen(__s_01)" identifier (argument_list "(__s_01)" ( identifier )))) ;) (expression_statement "uVar12 = (int)uVar17 + (int)sVar18;" (assignment_expression "uVar12 = (int)uVar17 + (int)sVar18" identifier = (binary_expression "(int)uVar17 + (int)sVar18" (cast_expression "(int)uVar17" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)sVar18" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }" else (compound_statement "{\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }" { (expression_statement "sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);" (call_expression "sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1)" identifier (argument_list "(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1)" ( identifier , (string_literal ""%.*s%s/%s"" " string_content ") , (binary_expression "uVar17 & 0xffffffff" identifier & number_literal) , identifier , identifier , (binary_expression "pcVar9 + 1" identifier + number_literal) ))) ;) (expression_statement "sVar18 = strlen(__s_01);" (assignment_expression "sVar18 = strlen(__s_01)" identifier = (call_expression "strlen(__s_01)" identifier (argument_list "(__s_01)" ( identifier )))) ;) (expression_statement "uVar12 = (int)uVar17 + 1 + (int)sVar18;" (assignment_expression "uVar12 = (int)uVar17 + 1 + (int)sVar18" identifier = (binary_expression "(int)uVar17 + 1 + (int)sVar18" (binary_expression "(int)uVar17 + 1" (cast_expression "(int)uVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) + (cast_expression "(int)sVar18" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }))) (expression_statement "free(__s_00);" (call_expression "free(__s_00)" identifier (argument_list "(__s_00)" ( identifier ))) ;) }) (else_clause "else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }" else (compound_statement "{\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }" { (expression_statement "bVar20 = bVar1 < 0x4f;" (assignment_expression "bVar20 = bVar1 < 0x4f" identifier = (binary_expression "bVar1 < 0x4f" identifier < number_literal)) ;) (expression_statement "bVar21 = bVar1 == 0x4f;" (assignment_expression "bVar21 = bVar1 == 0x4f" identifier = (binary_expression "bVar1 == 0x4f" identifier == number_literal)) ;) (if_statement "if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }" if (parenthesized_expression "(bVar21)" ( identifier )) (compound_statement "{\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }" { (expression_statement "lVar11 = 6;" (assignment_expression "lVar11 = 6" identifier = number_literal) ;) (expression_statement "pbVar13 = pbVar14;" (assignment_expression "pbVar13 = pbVar14" identifier = identifier) ;) (expression_statement "pbVar16 = (byte *)0x15d4c6;" (assignment_expression "pbVar16 = (byte *)0x15d4c6" identifier = (cast_expression "(byte *)0x15d4c6" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);" do (compound_statement "{\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          }" { (if_statement "if (lVar11 == 0) break;" if (parenthesized_expression "(lVar11 == 0)" ( (binary_expression "lVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar11 = lVar11 + -1;" (assignment_expression "lVar11 = lVar11 + -1" identifier = (binary_expression "lVar11 + -1" identifier + number_literal)) ;) (expression_statement "bVar20 = *pbVar13 < *pbVar16;" (assignment_expression "bVar20 = *pbVar13 < *pbVar16" identifier = (binary_expression "*pbVar13 < *pbVar16" (pointer_expression "*pbVar13" * identifier) < (pointer_expression "*pbVar16" * identifier))) ;) (expression_statement "bVar21 = *pbVar13 == *pbVar16;" (assignment_expression "bVar21 = *pbVar13 == *pbVar16" identifier = (binary_expression "*pbVar13 == *pbVar16" (pointer_expression "*pbVar13" * identifier) == (pointer_expression "*pbVar16" * identifier))) ;) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1" identifier = (binary_expression "pbVar13 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar22 * -2" identifier + (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1" identifier = (binary_expression "pbVar16 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar16 + (ulong)bVar22 * -2" identifier + (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar21)" ( identifier )) ;) (expression_statement "bVar19 = false;" (assignment_expression "bVar19 = false" identifier = false) ;) (expression_statement "bVar20 = (!bVar20 && !bVar21) == bVar20;" (assignment_expression "bVar20 = (!bVar20 && !bVar21) == bVar20" identifier = (binary_expression "(!bVar20 && !bVar21) == bVar20" (parenthesized_expression "(!bVar20 && !bVar21)" ( (binary_expression "!bVar20 && !bVar21" (unary_expression "!bVar20" ! identifier) && (unary_expression "!bVar21" ! identifier)) )) == identifier)) ;) (if_statement "if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }" if (parenthesized_expression "(!bVar20)" ( (unary_expression "!bVar20" ! identifier) )) (compound_statement "{\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }" { (expression_statement "lVar11 = 7;" (assignment_expression "lVar11 = 7" identifier = number_literal) ;) (expression_statement "pbVar13 = &DAT_0019f940;" (assignment_expression "pbVar13 = &DAT_0019f940" identifier = (pointer_expression "&DAT_0019f940" & identifier)) ;) (do_statement "do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);" do (compound_statement "{\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            }" { (if_statement "if (lVar11 == 0) break;" if (parenthesized_expression "(lVar11 == 0)" ( (binary_expression "lVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar11 = lVar11 + -1;" (assignment_expression "lVar11 = lVar11 + -1" identifier = (binary_expression "lVar11 + -1" identifier + number_literal)) ;) (expression_statement "bVar19 = *pbVar14 < *pbVar13;" (assignment_expression "bVar19 = *pbVar14 < *pbVar13" identifier = (binary_expression "*pbVar14 < *pbVar13" (pointer_expression "*pbVar14" * identifier) < (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "bVar20 = *pbVar14 == *pbVar13;" (assignment_expression "bVar20 = *pbVar14 == *pbVar13" identifier = (binary_expression "*pbVar14 == *pbVar13" (pointer_expression "*pbVar14" * identifier) == (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1" identifier = (binary_expression "pbVar14 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar14 + (ulong)bVar22 * -2" identifier + (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1" identifier = (binary_expression "pbVar13 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar22 * -2" identifier + (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar20)" ( identifier )) ;) (if_statement "if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;" if (parenthesized_expression "((!bVar19 && !bVar20) != bVar19)" ( (binary_expression "(!bVar19 && !bVar20) != bVar19" (parenthesized_expression "(!bVar19 && !bVar20)" ( (binary_expression "!bVar19 && !bVar20" (unary_expression "!bVar19" ! identifier) && (unary_expression "!bVar20" ! identifier)) )) != identifier) )) (goto_statement "goto LAB_0013fb2b;" goto statement_identifier ;)) })) (expression_statement "puVar4 = local_48;" (assignment_expression "puVar4 = local_48" identifier = identifier) ;) (if_statement "if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }" if (parenthesized_expression "(((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0))" ( (binary_expression "((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)" (parenthesized_expression "((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0))" ( (binary_expression "(local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)" (parenthesized_expression "(local_48 != (undefined8 *)0x0)" ( (binary_expression "local_48 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)" ( (comma_expression "puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0" (assignment_expression "puVar4 = DAT_002b5f90" identifier = identifier) , (binary_expression "DAT_002b5f90 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)" ( (comma_expression "pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0" (assignment_expression "pcVar15 = (char *)*puVar4" identifier = (cast_expression "(char *)*puVar4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) , (binary_expression "pcVar15 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }" { (if_statement "if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }" if (parenthesized_expression "(*pcVar15 == '/')" ( (binary_expression "*pcVar15 == '/'" (pointer_expression "*pcVar15" * identifier) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n              __s_01 = (char *)xstrdup(pcVar15);\n            }" { (expression_statement "__s_01 = (char *)xstrdup(pcVar15);" (assignment_expression "__s_01 = (char *)xstrdup(pcVar15)" identifier = (cast_expression "(char *)xstrdup(pcVar15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(pcVar15)" identifier (argument_list "(pcVar15)" ( identifier ))))) ;) }) (else_clause "else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }" else (compound_statement "{\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }" { (expression_statement "pcVar5 = (char *)getpwd();" (assignment_expression "pcVar5 = (char *)getpwd()" identifier = (cast_expression "(char *)getpwd()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "getpwd()" identifier (argument_list "()" ( ))))) ;) (expression_statement "sVar6 = strlen(pcVar15);" (assignment_expression "sVar6 = strlen(pcVar15)" identifier = (call_expression "strlen(pcVar15)" identifier (argument_list "(pcVar15)" ( identifier )))) ;) (expression_statement "sVar7 = strlen(pcVar5);" (assignment_expression "sVar7 = strlen(pcVar5)" identifier = (call_expression "strlen(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "__s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);" (assignment_expression "__s_01 = (char *)xmalloc(sVar6 + 2 + sVar7)" identifier = (cast_expression "(char *)xmalloc(sVar6 + 2 + sVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar6 + 2 + sVar7)" identifier (argument_list "(sVar6 + 2 + sVar7)" ( (binary_expression "sVar6 + 2 + sVar7" (binary_expression "sVar6 + 2" identifier + number_literal) + identifier) ))))) ;) (expression_statement "sprintf(__s_01,"%s/%s",pcVar5,pcVar15);" (call_expression "sprintf(__s_01,"%s/%s",pcVar5,pcVar15)" identifier (argument_list "(__s_01,"%s/%s",pcVar5,pcVar15)" ( identifier , (string_literal ""%s/%s"" " string_content ") , identifier , identifier ))) ;) }))) (expression_statement "pcVar5 = strrchr(__s_01,0x2f);" (assignment_expression "pcVar5 = strrchr(__s_01,0x2f)" identifier = (call_expression "strrchr(__s_01,0x2f)" identifier (argument_list "(__s_01,0x2f)" ( identifier , number_literal )))) ;) (expression_statement "pcVar15 = __s_01;" (assignment_expression "pcVar15 = __s_01" identifier = identifier) ;) (if_statement "if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }" if (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              sVar6 = strlen(__s_01);\n            }" { (expression_statement "sVar6 = strlen(__s_01);" (assignment_expression "sVar6 = strlen(__s_01)" identifier = (call_expression "strlen(__s_01)" identifier (argument_list "(__s_01)" ( identifier )))) ;) }) (else_clause "else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }" else (compound_statement "{\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }" { (expression_statement "*pcVar5 = '\0';" (assignment_expression "*pcVar5 = '\0'" (pointer_expression "*pcVar5" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "sVar6 = strlen(__s_01);" (assignment_expression "sVar6 = strlen(__s_01)" identifier = (call_expression "strlen(__s_01)" identifier (argument_list "(__s_01)" ( identifier )))) ;) }))) (goto_statement "goto LAB_0013fa65;" goto statement_identifier ;) })) })) (labeled_statement "LAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }" statement_identifier : (if_statement "if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }" if (parenthesized_expression "(DAT_002b6158 != 0)" ( (binary_expression "DAT_002b6158 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\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_001292e0(uVar10,pcVar8);" (call_expression "FUN_001292e0(uVar10,pcVar8)" identifier (argument_list "(uVar10,pcVar8)" ( identifier , identifier ))) ;) }))) (if_statement "if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *pcVar9 = '/';\n        }" { (expression_statement "*pcVar9 = '/';" (assignment_expression "*pcVar9 = '/'" (pointer_expression "*pcVar9" * identifier) = (char_literal "'/'" ' character ')) ;) })) (expression_statement "uVar12 = (int)(pcVar8 + 1) - (int)__s_00;" (assignment_expression "uVar12 = (int)(pcVar8 + 1) - (int)__s_00" identifier = (binary_expression "(int)(pcVar8 + 1) - (int)__s_00" (cast_expression "(int)(pcVar8 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar8 + 1)" ( (binary_expression "pcVar8 + 1" identifier + number_literal) ))) - (cast_expression "(int)__s_00" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pcVar15 = (char *)0x0;" (assignment_expression "pcVar15 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar8 = __s_00;" (assignment_expression "pcVar8 = __s_00" identifier = identifier) ;) }))) (expression_statement "free(pcVar15);" (call_expression "free(pcVar15)" identifier (argument_list "(pcVar15)" ( identifier ))) ;) (expression_statement "__s_00 = pcVar8;" (assignment_expression "__s_00 = pcVar8" identifier = identifier) ;) })) (expression_statement "local_40 = __s_00;" (assignment_expression "local_40 = __s_00" identifier = identifier) ;) (expression_statement "iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);" (assignment_expression "iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3)" identifier = (call_expression "FUN_0013f5c0(&local_48,__s_00,param_3)" identifier (argument_list "(&local_48,__s_00,param_3)" ( (pointer_expression "&local_48" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n      return 1;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "free(__s_00);" (call_expression "free(__s_00)" identifier (argument_list "(__s_00)" ( identifier ))) ;) (if_statement "if (*local_78 == '\0') {\n      return 0;\n    }" if (parenthesized_expression "(*local_78 == '\0')" ( (binary_expression "*local_78 == '\0'" (pointer_expression "*local_78" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "param_1 = local_78 + 1;" (assignment_expression "param_1 = local_78 + 1" identifier = (binary_expression "local_78 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "bfd_boolean gldelf_l1om_search_needed(char *path,dt_needed *n,int force)\n\n{\n  char *__s;\n  byte bVar1;\n  bfd_boolean bVar2;\n  size_t sVar3;\n  char *__s_00;\n  bfd *pbVar4;\n  char *pcVar5;\n  size_t sVar6;\n  size_t sVar7;\n  char *__s_01;\n  char *pcVar8;\n  char *pcVar9;\n  char *pcVar10;\n  long lVar11;\n  undefined4 in_register_00000014;\n  uint uVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  ulong uVar16;\n  size_t sVar17;\n  bool bVar18;\n  bool bVar19;\n  bool bVar20;\n  byte bVar21;\n  char *local_78;\n  dt_needed needed;\n  \n  bVar21 = 0;\n  __s = n->name;\n  if (*__s == '/') {\n    bVar2 = gldelf_l1om_try_needed(n,(int)__s,(dt_needed *)CONCAT44(in_register_00000014,force));\n    return bVar2;\n  }\n  if ((path == (char *)0x0) || (*path == '\0')) {\n    return 0;\n  }\n  needed.by = n->by;\n  needed.name = __s;\n  sVar3 = strlen(__s);\n  do {\n    local_78 = strchr(path,(int)config.rpath_separator);\n    if (local_78 == (char *)0x0) {\n      sVar17 = strlen(path);\n      local_78 = path + sVar17;\n    }\n    sVar17 = (long)local_78 - (long)path;\n    __s_00 = (char *)xmalloc(sVar17 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (path != local_78) {\n      memcpy(__s_00,path,sVar17);\n      __s_00[sVar17] = '/';\n      pcVar8 = __s_00 + sVar17 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while( true ) {\n      pcVar8 = strchr(__s_00 + uVar12,0x24);\n      if (pcVar8 == (char *)0x0) break;\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar17 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar10 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar10 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar10 + 1);\n      bVar19 = bVar1 < 0x4c;\n      bVar20 = bVar1 == 0x4c;\n      if (bVar20) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar15 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar19 = *pbVar13 < *pbVar15;\n          bVar20 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar18 = *pbVar14 < *pbVar13;\n            bVar19 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar10 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar16 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar17 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar16 & 0xffffffff,__s_00,__s_01);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + (int)sVar17;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar16 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + 1 + (int)sVar17;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar19 = bVar1 < 0x4f;\n        bVar20 = bVar1 == 0x4f;\n        if (bVar20) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar15 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar13 < *pbVar15;\n            bVar20 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar18 = *pbVar14 < *pbVar13;\n              bVar19 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n          }\n          pbVar4 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0)) {\n            if (*pcVar10 == '/') {\n              __s_01 = (char *)xstrdup(pcVar10);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar10);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar10 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (verbose != 0) {\n          pcVar10 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",\n                                      5);\n          info_msg(pcVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar10 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar10);\n      __s_00 = pcVar8;\n    }\n    needed.name = __s_00;\n    bVar2 = gldelf_l1om_try_needed(&needed,(int)__s_00,(dt_needed *)(ulong)(uint)force);\n    if (bVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    path = local_78 + 1;\n  } while( true );\n}\n\n" (function_definition "bfd_boolean gldelf_l1om_search_needed(char *path,dt_needed *n,int force)\n\n{\n  char *__s;\n  byte bVar1;\n  bfd_boolean bVar2;\n  size_t sVar3;\n  char *__s_00;\n  bfd *pbVar4;\n  char *pcVar5;\n  size_t sVar6;\n  size_t sVar7;\n  char *__s_01;\n  char *pcVar8;\n  char *pcVar9;\n  char *pcVar10;\n  long lVar11;\n  undefined4 in_register_00000014;\n  uint uVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  ulong uVar16;\n  size_t sVar17;\n  bool bVar18;\n  bool bVar19;\n  bool bVar20;\n  byte bVar21;\n  char *local_78;\n  dt_needed needed;\n  \n  bVar21 = 0;\n  __s = n->name;\n  if (*__s == '/') {\n    bVar2 = gldelf_l1om_try_needed(n,(int)__s,(dt_needed *)CONCAT44(in_register_00000014,force));\n    return bVar2;\n  }\n  if ((path == (char *)0x0) || (*path == '\0')) {\n    return 0;\n  }\n  needed.by = n->by;\n  needed.name = __s;\n  sVar3 = strlen(__s);\n  do {\n    local_78 = strchr(path,(int)config.rpath_separator);\n    if (local_78 == (char *)0x0) {\n      sVar17 = strlen(path);\n      local_78 = path + sVar17;\n    }\n    sVar17 = (long)local_78 - (long)path;\n    __s_00 = (char *)xmalloc(sVar17 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (path != local_78) {\n      memcpy(__s_00,path,sVar17);\n      __s_00[sVar17] = '/';\n      pcVar8 = __s_00 + sVar17 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while( true ) {\n      pcVar8 = strchr(__s_00 + uVar12,0x24);\n      if (pcVar8 == (char *)0x0) break;\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar17 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar10 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar10 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar10 + 1);\n      bVar19 = bVar1 < 0x4c;\n      bVar20 = bVar1 == 0x4c;\n      if (bVar20) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar15 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar19 = *pbVar13 < *pbVar15;\n          bVar20 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar18 = *pbVar14 < *pbVar13;\n            bVar19 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar10 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar16 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar17 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar16 & 0xffffffff,__s_00,__s_01);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + (int)sVar17;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar16 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + 1 + (int)sVar17;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar19 = bVar1 < 0x4f;\n        bVar20 = bVar1 == 0x4f;\n        if (bVar20) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar15 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar13 < *pbVar15;\n            bVar20 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar18 = *pbVar14 < *pbVar13;\n              bVar19 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n          }\n          pbVar4 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0)) {\n            if (*pcVar10 == '/') {\n              __s_01 = (char *)xstrdup(pcVar10);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar10);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar10 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (verbose != 0) {\n          pcVar10 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",\n                                      5);\n          info_msg(pcVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar10 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar10);\n      __s_00 = pcVar8;\n    }\n    needed.name = __s_00;\n    bVar2 = gldelf_l1om_try_needed(&needed,(int)__s_00,(dt_needed *)(ulong)(uint)force);\n    if (bVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    path = local_78 + 1;\n  } while( true );\n}" type_identifier (function_declarator "gldelf_l1om_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  byte bVar1;\n  bfd_boolean bVar2;\n  size_t sVar3;\n  char *__s_00;\n  bfd *pbVar4;\n  char *pcVar5;\n  size_t sVar6;\n  size_t sVar7;\n  char *__s_01;\n  char *pcVar8;\n  char *pcVar9;\n  char *pcVar10;\n  long lVar11;\n  undefined4 in_register_00000014;\n  uint uVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  ulong uVar16;\n  size_t sVar17;\n  bool bVar18;\n  bool bVar19;\n  bool bVar20;\n  byte bVar21;\n  char *local_78;\n  dt_needed needed;\n  \n  bVar21 = 0;\n  __s = n->name;\n  if (*__s == '/') {\n    bVar2 = gldelf_l1om_try_needed(n,(int)__s,(dt_needed *)CONCAT44(in_register_00000014,force));\n    return bVar2;\n  }\n  if ((path == (char *)0x0) || (*path == '\0')) {\n    return 0;\n  }\n  needed.by = n->by;\n  needed.name = __s;\n  sVar3 = strlen(__s);\n  do {\n    local_78 = strchr(path,(int)config.rpath_separator);\n    if (local_78 == (char *)0x0) {\n      sVar17 = strlen(path);\n      local_78 = path + sVar17;\n    }\n    sVar17 = (long)local_78 - (long)path;\n    __s_00 = (char *)xmalloc(sVar17 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (path != local_78) {\n      memcpy(__s_00,path,sVar17);\n      __s_00[sVar17] = '/';\n      pcVar8 = __s_00 + sVar17 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while( true ) {\n      pcVar8 = strchr(__s_00 + uVar12,0x24);\n      if (pcVar8 == (char *)0x0) break;\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar17 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar10 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar10 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar10 + 1);\n      bVar19 = bVar1 < 0x4c;\n      bVar20 = bVar1 == 0x4c;\n      if (bVar20) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar15 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar19 = *pbVar13 < *pbVar15;\n          bVar20 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar18 = *pbVar14 < *pbVar13;\n            bVar19 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar10 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar16 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar17 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar16 & 0xffffffff,__s_00,__s_01);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + (int)sVar17;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar16 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + 1 + (int)sVar17;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar19 = bVar1 < 0x4f;\n        bVar20 = bVar1 == 0x4f;\n        if (bVar20) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar15 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar13 < *pbVar15;\n            bVar20 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar18 = *pbVar14 < *pbVar13;\n              bVar19 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n          }\n          pbVar4 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0)) {\n            if (*pcVar10 == '/') {\n              __s_01 = (char *)xstrdup(pcVar10);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar10);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar10 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (verbose != 0) {\n          pcVar10 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",\n                                      5);\n          info_msg(pcVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar10 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar10);\n      __s_00 = pcVar8;\n    }\n    needed.name = __s_00;\n    bVar2 = gldelf_l1om_try_needed(&needed,(int)__s_00,(dt_needed *)(ulong)(uint)force);\n    if (bVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    path = local_78 + 1;\n  } while( true );\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "byte bVar1;" type_identifier identifier ;) (declaration "bfd_boolean bVar2;" type_identifier identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (declaration "bfd *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "char *__s_01;" primitive_type (pointer_declarator "*__s_01" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 in_register_00000014;" type_identifier identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "byte *pbVar15;" type_identifier (pointer_declarator "*pbVar15" * identifier) ;) (declaration "ulong uVar16;" type_identifier identifier ;) (declaration "size_t sVar17;" primitive_type 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_78;" primitive_type (pointer_declarator "*local_78" * identifier) ;) (declaration "dt_needed needed;" type_identifier identifier ;) (expression_statement "bVar21 = 0;" (assignment_expression "bVar21 = 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    bVar2 = gldelf_l1om_try_needed(n,(int)__s,(dt_needed *)CONCAT44(in_register_00000014,force));\n    return bVar2;\n  }" if (parenthesized_expression "(*__s == '/')" ( (binary_expression "*__s == '/'" (pointer_expression "*__s" * identifier) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n    bVar2 = gldelf_l1om_try_needed(n,(int)__s,(dt_needed *)CONCAT44(in_register_00000014,force));\n    return bVar2;\n  }" { (expression_statement "bVar2 = gldelf_l1om_try_needed(n,(int)__s,(dt_needed *)CONCAT44(in_register_00000014,force));" (assignment_expression "bVar2 = gldelf_l1om_try_needed(n,(int)__s,(dt_needed *)CONCAT44(in_register_00000014,force))" identifier = (call_expression "gldelf_l1om_try_needed(n,(int)__s,(dt_needed *)CONCAT44(in_register_00000014,force))" identifier (argument_list "(n,(int)__s,(dt_needed *)CONCAT44(in_register_00000014,force))" ( identifier , (cast_expression "(int)__s" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(dt_needed *)CONCAT44(in_register_00000014,force)" ( (type_descriptor "dt_needed *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(in_register_00000014,force)" identifier (argument_list "(in_register_00000014,force)" ( identifier , identifier )))) )))) ;) (return_statement "return bVar2;" 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 "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (do_statement "do {\n    local_78 = strchr(path,(int)config.rpath_separator);\n    if (local_78 == (char *)0x0) {\n      sVar17 = strlen(path);\n      local_78 = path + sVar17;\n    }\n    sVar17 = (long)local_78 - (long)path;\n    __s_00 = (char *)xmalloc(sVar17 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (path != local_78) {\n      memcpy(__s_00,path,sVar17);\n      __s_00[sVar17] = '/';\n      pcVar8 = __s_00 + sVar17 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while( true ) {\n      pcVar8 = strchr(__s_00 + uVar12,0x24);\n      if (pcVar8 == (char *)0x0) break;\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar17 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar10 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar10 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar10 + 1);\n      bVar19 = bVar1 < 0x4c;\n      bVar20 = bVar1 == 0x4c;\n      if (bVar20) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar15 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar19 = *pbVar13 < *pbVar15;\n          bVar20 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar18 = *pbVar14 < *pbVar13;\n            bVar19 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar10 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar16 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar17 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar16 & 0xffffffff,__s_00,__s_01);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + (int)sVar17;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar16 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + 1 + (int)sVar17;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar19 = bVar1 < 0x4f;\n        bVar20 = bVar1 == 0x4f;\n        if (bVar20) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar15 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar13 < *pbVar15;\n            bVar20 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar18 = *pbVar14 < *pbVar13;\n              bVar19 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n          }\n          pbVar4 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0)) {\n            if (*pcVar10 == '/') {\n              __s_01 = (char *)xstrdup(pcVar10);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar10);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar10 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (verbose != 0) {\n          pcVar10 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",\n                                      5);\n          info_msg(pcVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar10 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar10);\n      __s_00 = pcVar8;\n    }\n    needed.name = __s_00;\n    bVar2 = gldelf_l1om_try_needed(&needed,(int)__s_00,(dt_needed *)(ulong)(uint)force);\n    if (bVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    path = local_78 + 1;\n  } while( true );" do (compound_statement "{\n    local_78 = strchr(path,(int)config.rpath_separator);\n    if (local_78 == (char *)0x0) {\n      sVar17 = strlen(path);\n      local_78 = path + sVar17;\n    }\n    sVar17 = (long)local_78 - (long)path;\n    __s_00 = (char *)xmalloc(sVar17 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (path != local_78) {\n      memcpy(__s_00,path,sVar17);\n      __s_00[sVar17] = '/';\n      pcVar8 = __s_00 + sVar17 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while( true ) {\n      pcVar8 = strchr(__s_00 + uVar12,0x24);\n      if (pcVar8 == (char *)0x0) break;\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar17 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar10 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar10 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar10 + 1);\n      bVar19 = bVar1 < 0x4c;\n      bVar20 = bVar1 == 0x4c;\n      if (bVar20) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar15 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar19 = *pbVar13 < *pbVar15;\n          bVar20 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar18 = *pbVar14 < *pbVar13;\n            bVar19 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar10 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar16 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar17 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar16 & 0xffffffff,__s_00,__s_01);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + (int)sVar17;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar16 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + 1 + (int)sVar17;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar19 = bVar1 < 0x4f;\n        bVar20 = bVar1 == 0x4f;\n        if (bVar20) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar15 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar13 < *pbVar15;\n            bVar20 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar18 = *pbVar14 < *pbVar13;\n              bVar19 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n          }\n          pbVar4 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0)) {\n            if (*pcVar10 == '/') {\n              __s_01 = (char *)xstrdup(pcVar10);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar10);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar10 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (verbose != 0) {\n          pcVar10 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",\n                                      5);\n          info_msg(pcVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar10 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar10);\n      __s_00 = pcVar8;\n    }\n    needed.name = __s_00;\n    bVar2 = gldelf_l1om_try_needed(&needed,(int)__s_00,(dt_needed *)(ulong)(uint)force);\n    if (bVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    path = local_78 + 1;\n  }" { (expression_statement "local_78 = strchr(path,(int)config.rpath_separator);" (assignment_expression "local_78 = 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_78 == (char *)0x0) {\n      sVar17 = strlen(path);\n      local_78 = path + sVar17;\n    }" if (parenthesized_expression "(local_78 == (char *)0x0)" ( (binary_expression "local_78 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sVar17 = strlen(path);\n      local_78 = path + sVar17;\n    }" { (expression_statement "sVar17 = strlen(path);" (assignment_expression "sVar17 = strlen(path)" identifier = (call_expression "strlen(path)" identifier (argument_list "(path)" ( identifier )))) ;) (expression_statement "local_78 = path + sVar17;" (assignment_expression "local_78 = path + sVar17" identifier = (binary_expression "path + sVar17" identifier + identifier)) ;) })) (expression_statement "sVar17 = (long)local_78 - (long)path;" (assignment_expression "sVar17 = (long)local_78 - (long)path" identifier = (binary_expression "(long)local_78 - (long)path" (cast_expression "(long)local_78" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)path" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "__s_00 = (char *)xmalloc(sVar17 + sVar3 + 2);" (assignment_expression "__s_00 = (char *)xmalloc(sVar17 + sVar3 + 2)" identifier = (cast_expression "(char *)xmalloc(sVar17 + sVar3 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar17 + sVar3 + 2)" identifier (argument_list "(sVar17 + sVar3 + 2)" ( (binary_expression "sVar17 + sVar3 + 2" (binary_expression "sVar17 + sVar3" identifier + identifier) + number_literal) ))))) ;) (expression_statement "pcVar8 = __s_00;" (assignment_expression "pcVar8 = __s_00" identifier = identifier) ;) (if_statement "if (path != local_78) {\n      memcpy(__s_00,path,sVar17);\n      __s_00[sVar17] = '/';\n      pcVar8 = __s_00 + sVar17 + 1;\n    }" if (parenthesized_expression "(path != local_78)" ( (binary_expression "path != local_78" identifier != identifier) )) (compound_statement "{\n      memcpy(__s_00,path,sVar17);\n      __s_00[sVar17] = '/';\n      pcVar8 = __s_00 + sVar17 + 1;\n    }" { (expression_statement "memcpy(__s_00,path,sVar17);" (call_expression "memcpy(__s_00,path,sVar17)" identifier (argument_list "(__s_00,path,sVar17)" ( identifier , identifier , identifier ))) ;) (expression_statement "__s_00[sVar17] = '/';" (assignment_expression "__s_00[sVar17] = '/'" (subscript_expression "__s_00[sVar17]" identifier [ identifier ]) = (char_literal "'/'" ' character ')) ;) (expression_statement "pcVar8 = __s_00 + sVar17 + 1;" (assignment_expression "pcVar8 = __s_00 + sVar17 + 1" identifier = (binary_expression "__s_00 + sVar17 + 1" (binary_expression "__s_00 + sVar17" identifier + identifier) + number_literal)) ;) })) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (expression_statement "strcpy(pcVar8,__s);" (call_expression "strcpy(pcVar8,__s)" identifier (argument_list "(pcVar8,__s)" ( identifier , identifier ))) ;) (while_statement "while( true ) {\n      pcVar8 = strchr(__s_00 + uVar12,0x24);\n      if (pcVar8 == (char *)0x0) break;\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar17 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar10 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar10 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar10 + 1);\n      bVar19 = bVar1 < 0x4c;\n      bVar20 = bVar1 == 0x4c;\n      if (bVar20) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar15 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar19 = *pbVar13 < *pbVar15;\n          bVar20 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar18 = *pbVar14 < *pbVar13;\n            bVar19 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar10 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar16 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar17 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar16 & 0xffffffff,__s_00,__s_01);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + (int)sVar17;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar16 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + 1 + (int)sVar17;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar19 = bVar1 < 0x4f;\n        bVar20 = bVar1 == 0x4f;\n        if (bVar20) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar15 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar13 < *pbVar15;\n            bVar20 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar18 = *pbVar14 < *pbVar13;\n              bVar19 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n          }\n          pbVar4 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0)) {\n            if (*pcVar10 == '/') {\n              __s_01 = (char *)xstrdup(pcVar10);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar10);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar10 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (verbose != 0) {\n          pcVar10 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",\n                                      5);\n          info_msg(pcVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar10 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar10);\n      __s_00 = pcVar8;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      pcVar8 = strchr(__s_00 + uVar12,0x24);\n      if (pcVar8 == (char *)0x0) break;\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar17 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar10 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar10 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar10 + 1);\n      bVar19 = bVar1 < 0x4c;\n      bVar20 = bVar1 == 0x4c;\n      if (bVar20) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar15 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar19 = *pbVar13 < *pbVar15;\n          bVar20 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar18 = *pbVar14 < *pbVar13;\n            bVar19 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar10 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar16 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar17 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar16 & 0xffffffff,__s_00,__s_01);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + (int)sVar17;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar16 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + 1 + (int)sVar17;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar19 = bVar1 < 0x4f;\n        bVar20 = bVar1 == 0x4f;\n        if (bVar20) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar15 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar13 < *pbVar15;\n            bVar20 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar18 = *pbVar14 < *pbVar13;\n              bVar19 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n          }\n          pbVar4 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0)) {\n            if (*pcVar10 == '/') {\n              __s_01 = (char *)xstrdup(pcVar10);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar10);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar10 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (verbose != 0) {\n          pcVar10 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",\n                                      5);\n          info_msg(pcVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar10 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar10);\n      __s_00 = pcVar8;\n    }" { (expression_statement "pcVar8 = strchr(__s_00 + uVar12,0x24);" (assignment_expression "pcVar8 = strchr(__s_00 + uVar12,0x24)" identifier = (call_expression "strchr(__s_00 + uVar12,0x24)" identifier (argument_list "(__s_00 + uVar12,0x24)" ( (binary_expression "__s_00 + uVar12" identifier + identifier) , number_literal )))) ;) (if_statement "if (pcVar8 == (char *)0x0) break;" 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)) )) (break_statement "break;" break ;)) (expression_statement "pcVar9 = strchr(pcVar8,0x2f);" (assignment_expression "pcVar9 = strchr(pcVar8,0x2f)" identifier = (call_expression "strchr(pcVar8,0x2f)" identifier (argument_list "(pcVar8,0x2f)" ( identifier , number_literal )))) ;) (expression_statement "sVar17 = strlen(__s_00);" (assignment_expression "sVar17 = strlen(__s_00)" identifier = (call_expression "strlen(__s_00)" identifier (argument_list "(__s_00)" ( identifier )))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *pcVar9 = '\0';\n      }" { (expression_statement "*pcVar9 = '\0';" (assignment_expression "*pcVar9 = '\0'" (pointer_expression "*pcVar9" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "bVar1 = pcVar8[1];" (assignment_expression "bVar1 = pcVar8[1]" identifier = (subscript_expression "pcVar8[1]" identifier [ number_literal ])) ;) (expression_statement "pcVar10 = pcVar8 + 1;" (assignment_expression "pcVar10 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar10 = pcVar8 + 2;\n      }" if (parenthesized_expression "(bVar1 == 0x7b)" ( (binary_expression "bVar1 == 0x7b" identifier == number_literal) )) (compound_statement "{\n        bVar1 = pcVar8[2];\n        pcVar10 = pcVar8 + 2;\n      }" { (expression_statement "bVar1 = pcVar8[2];" (assignment_expression "bVar1 = pcVar8[2]" identifier = (subscript_expression "pcVar8[2]" identifier [ number_literal ])) ;) (expression_statement "pcVar10 = pcVar8 + 2;" (assignment_expression "pcVar10 = pcVar8 + 2" identifier = (binary_expression "pcVar8 + 2" identifier + number_literal)) ;) })) (expression_statement "pbVar14 = (byte *)(pcVar10 + 1);" (assignment_expression "pbVar14 = (byte *)(pcVar10 + 1)" identifier = (cast_expression "(byte *)(pcVar10 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 1)" ( (binary_expression "pcVar10 + 1" identifier + number_literal) )))) ;) (expression_statement "bVar19 = bVar1 < 0x4c;" (assignment_expression "bVar19 = bVar1 < 0x4c" identifier = (binary_expression "bVar1 < 0x4c" identifier < number_literal)) ;) (expression_statement "bVar20 = bVar1 == 0x4c;" (assignment_expression "bVar20 = bVar1 == 0x4c" identifier = (binary_expression "bVar1 == 0x4c" identifier == number_literal)) ;) (if_statement "if (bVar20) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar15 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar19 = *pbVar13 < *pbVar15;\n          bVar20 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar18 = *pbVar14 < *pbVar13;\n            bVar19 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar10 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar16 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar17 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar16 & 0xffffffff,__s_00,__s_01);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + (int)sVar17;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar16 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + 1 + (int)sVar17;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar19 = bVar1 < 0x4f;\n        bVar20 = bVar1 == 0x4f;\n        if (bVar20) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar15 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar13 < *pbVar15;\n            bVar20 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar18 = *pbVar14 < *pbVar13;\n              bVar19 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n          }\n          pbVar4 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0)) {\n            if (*pcVar10 == '/') {\n              __s_01 = (char *)xstrdup(pcVar10);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar10);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar10 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (verbose != 0) {\n          pcVar10 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",\n                                      5);\n          info_msg(pcVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar10 = (char *)0x0;\n        pcVar8 = __s_00;\n      }" if (parenthesized_expression "(bVar20)" ( identifier )) (compound_statement "{\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar15 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar19 = *pbVar13 < *pbVar15;\n          bVar20 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n        } while (bVar20);\n        bVar18 = false;\n        bVar19 = (!bVar19 && !bVar20) == bVar19;\n        if (!bVar19) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar18 = *pbVar14 < *pbVar13;\n            bVar19 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar10 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar16 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar17 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar16 & 0xffffffff,__s_00,__s_01);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + (int)sVar17;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar16 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + 1 + (int)sVar17;\n        }\n        free(__s_00);\n      }" { (expression_statement "lVar11 = 3;" (assignment_expression "lVar11 = 3" identifier = number_literal) ;) (expression_statement "pbVar13 = pbVar14;" (assignment_expression "pbVar13 = pbVar14" identifier = identifier) ;) (expression_statement "pbVar15 = (byte *)0x15d1f0;" (assignment_expression "pbVar15 = (byte *)0x15d1f0" identifier = (cast_expression "(byte *)0x15d1f0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar19 = *pbVar13 < *pbVar15;\n          bVar20 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n        } while (bVar20);" do (compound_statement "{\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar19 = *pbVar13 < *pbVar15;\n          bVar20 = *pbVar13 == *pbVar15;\n          pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n        }" { (if_statement "if (lVar11 == 0) break;" if (parenthesized_expression "(lVar11 == 0)" ( (binary_expression "lVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar11 = lVar11 + -1;" (assignment_expression "lVar11 = lVar11 + -1" identifier = (binary_expression "lVar11 + -1" identifier + number_literal)) ;) (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 "bVar20 = *pbVar13 == *pbVar15;" (assignment_expression "bVar20 = *pbVar13 == *pbVar15" identifier = (binary_expression "*pbVar13 == *pbVar15" (pointer_expression "*pbVar13" * identifier) == (pointer_expression "*pbVar15" * identifier))) ;) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1" identifier = (binary_expression "pbVar13 + (ulong)bVar21 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar21 * -2" identifier + (binary_expression "(ulong)bVar21 * -2" (cast_expression "(ulong)bVar21" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;" (assignment_expression "pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1" identifier = (binary_expression "pbVar15 + (ulong)bVar21 * -2 + 1" (binary_expression "pbVar15 + (ulong)bVar21 * -2" identifier + (binary_expression "(ulong)bVar21 * -2" (cast_expression "(ulong)bVar21" ( (type_descriptor "ulong" 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          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar18 = *pbVar14 < *pbVar13;\n            bVar19 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n        }" if (parenthesized_expression "(!bVar19)" ( (unary_expression "!bVar19" ! identifier) )) (compound_statement "{\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar18 = *pbVar14 < *pbVar13;\n            bVar19 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          } while (bVar19);\n          if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n        }" { (expression_statement "lVar11 = 4;" (assignment_expression "lVar11 = 4" identifier = number_literal) ;) (expression_statement "pbVar13 = &DAT_0019f947;" (assignment_expression "pbVar13 = &DAT_0019f947" identifier = (pointer_expression "&DAT_0019f947" & identifier)) ;) (do_statement "do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar18 = *pbVar14 < *pbVar13;\n            bVar19 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          } while (bVar19);" do (compound_statement "{\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar18 = *pbVar14 < *pbVar13;\n            bVar19 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n          }" { (if_statement "if (lVar11 == 0) break;" if (parenthesized_expression "(lVar11 == 0)" ( (binary_expression "lVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar11 = lVar11 + -1;" (assignment_expression "lVar11 = lVar11 + -1" identifier = (binary_expression "lVar11 + -1" identifier + number_literal)) ;) (expression_statement "bVar18 = *pbVar14 < *pbVar13;" (assignment_expression "bVar18 = *pbVar14 < *pbVar13" identifier = (binary_expression "*pbVar14 < *pbVar13" (pointer_expression "*pbVar14" * identifier) < (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "bVar19 = *pbVar14 == *pbVar13;" (assignment_expression "bVar19 = *pbVar14 == *pbVar13" identifier = (binary_expression "*pbVar14 == *pbVar13" (pointer_expression "*pbVar14" * identifier) == (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1" identifier = (binary_expression "pbVar14 + (ulong)bVar21 * -2 + 1" (binary_expression "pbVar14 + (ulong)bVar21 * -2" identifier + (binary_expression "(ulong)bVar21 * -2" (cast_expression "(ulong)bVar21" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1" identifier = (binary_expression "pbVar13 + (ulong)bVar21 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar21 * -2" identifier + (binary_expression "(ulong)bVar21 * -2" (cast_expression "(ulong)bVar21" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar19)" ( identifier )) ;) (if_statement "if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;" 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_0013fb2b;" goto statement_identifier ;)) })) (expression_statement "sVar6 = 5;" (assignment_expression "sVar6 = 5" identifier = number_literal) ;) (expression_statement "pcVar10 = (char *)0x0;" (assignment_expression "pcVar10 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__s_01 = "lib64";" (assignment_expression "__s_01 = "lib64"" identifier = (string_literal ""lib64"" " string_content ")) ;) (labeled_statement "LAB_0013fa65:\n        uVar16 = (long)pcVar8 - (long)__s_00;" statement_identifier : (expression_statement "uVar16 = (long)pcVar8 - (long)__s_00;" (assignment_expression "uVar16 = (long)pcVar8 - (long)__s_00" identifier = (binary_expression "(long)pcVar8 - (long)__s_00" (cast_expression "(long)pcVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__s_00" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;)) (expression_statement "pcVar8 = (char *)xmalloc((sVar17 & 0xffffffff) + sVar6);" (assignment_expression "pcVar8 = (char *)xmalloc((sVar17 & 0xffffffff) + sVar6)" identifier = (cast_expression "(char *)xmalloc((sVar17 & 0xffffffff) + sVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc((sVar17 & 0xffffffff) + sVar6)" identifier (argument_list "((sVar17 & 0xffffffff) + sVar6)" ( (binary_expression "(sVar17 & 0xffffffff) + sVar6" (parenthesized_expression "(sVar17 & 0xffffffff)" ( (binary_expression "sVar17 & 0xffffffff" identifier & number_literal) )) + identifier) ))))) ;) (if_statement "if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar16 & 0xffffffff,__s_00,__s_01);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + (int)sVar17;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar16 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + 1 + (int)sVar17;\n        }" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          sprintf(pcVar8,"%.*s%s",uVar16 & 0xffffffff,__s_00,__s_01);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + (int)sVar17;\n        }" { (expression_statement "sprintf(pcVar8,"%.*s%s",uVar16 & 0xffffffff,__s_00,__s_01);" (call_expression "sprintf(pcVar8,"%.*s%s",uVar16 & 0xffffffff,__s_00,__s_01)" identifier (argument_list "(pcVar8,"%.*s%s",uVar16 & 0xffffffff,__s_00,__s_01)" ( identifier , (string_literal ""%.*s%s"" " string_content ") , (binary_expression "uVar16 & 0xffffffff" identifier & number_literal) , identifier , identifier ))) ;) (expression_statement "sVar17 = strlen(__s_01);" (assignment_expression "sVar17 = strlen(__s_01)" identifier = (call_expression "strlen(__s_01)" identifier (argument_list "(__s_01)" ( identifier )))) ;) (expression_statement "uVar12 = (int)uVar16 + (int)sVar17;" (assignment_expression "uVar12 = (int)uVar16 + (int)sVar17" identifier = (binary_expression "(int)uVar16 + (int)sVar17" (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)sVar17" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar16 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + 1 + (int)sVar17;\n        }" else (compound_statement "{\n          sprintf(pcVar8,"%.*s%s/%s",uVar16 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar17 = strlen(__s_01);\n          uVar12 = (int)uVar16 + 1 + (int)sVar17;\n        }" { (expression_statement "sprintf(pcVar8,"%.*s%s/%s",uVar16 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);" (call_expression "sprintf(pcVar8,"%.*s%s/%s",uVar16 & 0xffffffff,__s_00,__s_01,pcVar9 + 1)" identifier (argument_list "(pcVar8,"%.*s%s/%s",uVar16 & 0xffffffff,__s_00,__s_01,pcVar9 + 1)" ( identifier , (string_literal ""%.*s%s/%s"" " string_content ") , (binary_expression "uVar16 & 0xffffffff" identifier & number_literal) , identifier , identifier , (binary_expression "pcVar9 + 1" identifier + number_literal) ))) ;) (expression_statement "sVar17 = strlen(__s_01);" (assignment_expression "sVar17 = strlen(__s_01)" identifier = (call_expression "strlen(__s_01)" identifier (argument_list "(__s_01)" ( identifier )))) ;) (expression_statement "uVar12 = (int)uVar16 + 1 + (int)sVar17;" (assignment_expression "uVar12 = (int)uVar16 + 1 + (int)sVar17" identifier = (binary_expression "(int)uVar16 + 1 + (int)sVar17" (binary_expression "(int)uVar16 + 1" (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) + (cast_expression "(int)sVar17" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }))) (expression_statement "free(__s_00);" (call_expression "free(__s_00)" identifier (argument_list "(__s_00)" ( identifier ))) ;) }) (else_clause "else {\n        bVar19 = bVar1 < 0x4f;\n        bVar20 = bVar1 == 0x4f;\n        if (bVar20) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar15 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar13 < *pbVar15;\n            bVar20 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar18 = *pbVar14 < *pbVar13;\n              bVar19 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n          }\n          pbVar4 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0)) {\n            if (*pcVar10 == '/') {\n              __s_01 = (char *)xstrdup(pcVar10);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar10);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar10 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (verbose != 0) {\n          pcVar10 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",\n                                      5);\n          info_msg(pcVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar10 = (char *)0x0;\n        pcVar8 = __s_00;\n      }" else (compound_statement "{\n        bVar19 = bVar1 < 0x4f;\n        bVar20 = bVar1 == 0x4f;\n        if (bVar20) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar15 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar13 < *pbVar15;\n            bVar20 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar18 = *pbVar14 < *pbVar13;\n              bVar19 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n          }\n          pbVar4 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0)) {\n            if (*pcVar10 == '/') {\n              __s_01 = (char *)xstrdup(pcVar10);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar10);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar10 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (verbose != 0) {\n          pcVar10 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",\n                                      5);\n          info_msg(pcVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar10 = (char *)0x0;\n        pcVar8 = __s_00;\n      }" { (expression_statement "bVar19 = bVar1 < 0x4f;" (assignment_expression "bVar19 = bVar1 < 0x4f" identifier = (binary_expression "bVar1 < 0x4f" identifier < number_literal)) ;) (expression_statement "bVar20 = bVar1 == 0x4f;" (assignment_expression "bVar20 = bVar1 == 0x4f" identifier = (binary_expression "bVar1 == 0x4f" identifier == number_literal)) ;) (if_statement "if (bVar20) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar15 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar13 < *pbVar15;\n            bVar20 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar18 = *pbVar14 < *pbVar13;\n              bVar19 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n          }\n          pbVar4 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0)) {\n            if (*pcVar10 == '/') {\n              __s_01 = (char *)xstrdup(pcVar10);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar10);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar10 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }" if (parenthesized_expression "(bVar20)" ( identifier )) (compound_statement "{\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar15 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar13 < *pbVar15;\n            bVar20 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n          } while (bVar20);\n          bVar18 = false;\n          bVar19 = (!bVar19 && !bVar20) == bVar19;\n          if (!bVar19) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar18 = *pbVar14 < *pbVar13;\n              bVar19 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n          }\n          pbVar4 = needed.by;\n          if (((needed.by != (bfd *)0x0) ||\n              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0)) {\n            if (*pcVar10 == '/') {\n              __s_01 = (char *)xstrdup(pcVar10);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar10);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar10 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }" { (expression_statement "lVar11 = 6;" (assignment_expression "lVar11 = 6" identifier = number_literal) ;) (expression_statement "pbVar13 = pbVar14;" (assignment_expression "pbVar13 = pbVar14" identifier = identifier) ;) (expression_statement "pbVar15 = (byte *)0x15d4c6;" (assignment_expression "pbVar15 = (byte *)0x15d4c6" identifier = (cast_expression "(byte *)0x15d4c6" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar13 < *pbVar15;\n            bVar20 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n          } while (bVar20);" do (compound_statement "{\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar13 < *pbVar15;\n            bVar20 = *pbVar13 == *pbVar15;\n            pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;\n          }" { (if_statement "if (lVar11 == 0) break;" if (parenthesized_expression "(lVar11 == 0)" ( (binary_expression "lVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar11 = lVar11 + -1;" (assignment_expression "lVar11 = lVar11 + -1" identifier = (binary_expression "lVar11 + -1" identifier + number_literal)) ;) (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 "bVar20 = *pbVar13 == *pbVar15;" (assignment_expression "bVar20 = *pbVar13 == *pbVar15" identifier = (binary_expression "*pbVar13 == *pbVar15" (pointer_expression "*pbVar13" * identifier) == (pointer_expression "*pbVar15" * identifier))) ;) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1" identifier = (binary_expression "pbVar13 + (ulong)bVar21 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar21 * -2" identifier + (binary_expression "(ulong)bVar21 * -2" (cast_expression "(ulong)bVar21" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1;" (assignment_expression "pbVar15 = pbVar15 + (ulong)bVar21 * -2 + 1" identifier = (binary_expression "pbVar15 + (ulong)bVar21 * -2 + 1" (binary_expression "pbVar15 + (ulong)bVar21 * -2" identifier + (binary_expression "(ulong)bVar21 * -2" (cast_expression "(ulong)bVar21" ( (type_descriptor "ulong" 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            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar18 = *pbVar14 < *pbVar13;\n              bVar19 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n          }" if (parenthesized_expression "(!bVar19)" ( (unary_expression "!bVar19" ! identifier) )) (compound_statement "{\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar18 = *pbVar14 < *pbVar13;\n              bVar19 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            } while (bVar19);\n            if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;\n          }" { (expression_statement "lVar11 = 7;" (assignment_expression "lVar11 = 7" identifier = number_literal) ;) (expression_statement "pbVar13 = &DAT_0019f940;" (assignment_expression "pbVar13 = &DAT_0019f940" identifier = (pointer_expression "&DAT_0019f940" & identifier)) ;) (do_statement "do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar18 = *pbVar14 < *pbVar13;\n              bVar19 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            } while (bVar19);" do (compound_statement "{\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar18 = *pbVar14 < *pbVar13;\n              bVar19 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;\n            }" { (if_statement "if (lVar11 == 0) break;" if (parenthesized_expression "(lVar11 == 0)" ( (binary_expression "lVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar11 = lVar11 + -1;" (assignment_expression "lVar11 = lVar11 + -1" identifier = (binary_expression "lVar11 + -1" identifier + number_literal)) ;) (expression_statement "bVar18 = *pbVar14 < *pbVar13;" (assignment_expression "bVar18 = *pbVar14 < *pbVar13" identifier = (binary_expression "*pbVar14 < *pbVar13" (pointer_expression "*pbVar14" * identifier) < (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "bVar19 = *pbVar14 == *pbVar13;" (assignment_expression "bVar19 = *pbVar14 == *pbVar13" identifier = (binary_expression "*pbVar14 == *pbVar13" (pointer_expression "*pbVar14" * identifier) == (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (ulong)bVar21 * -2 + 1" identifier = (binary_expression "pbVar14 + (ulong)bVar21 * -2 + 1" (binary_expression "pbVar14 + (ulong)bVar21 * -2" identifier + (binary_expression "(ulong)bVar21 * -2" (cast_expression "(ulong)bVar21" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar21 * -2 + 1" identifier = (binary_expression "pbVar13 + (ulong)bVar21 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar21 * -2" identifier + (binary_expression "(ulong)bVar21 * -2" (cast_expression "(ulong)bVar21" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar19)" ( identifier )) ;) (if_statement "if ((!bVar18 && !bVar19) != bVar18) goto LAB_0013fb2b;" 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_0013fb2b;" goto statement_identifier ;)) })) (expression_statement "pbVar4 = needed.by;" (assignment_expression "pbVar4 = needed.by" identifier = (field_expression "needed.by" identifier . field_identifier)) ;) (if_statement "if (((needed.by != (bfd *)0x0) ||\n              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0)) {\n            if (*pcVar10 == '/') {\n              __s_01 = (char *)xstrdup(pcVar10);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar10);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar10 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }" if (parenthesized_expression "(((needed.by != (bfd *)0x0) ||\n              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0))" ( (binary_expression "((needed.by != (bfd *)0x0) ||\n              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)) &&\n             (pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0)" (parenthesized_expression "((needed.by != (bfd *)0x0) ||\n              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0))" ( (binary_expression "(needed.by != (bfd *)0x0) ||\n              (pbVar4 = 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 "(pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0)" ( (comma_expression "pbVar4 = link_info.output_bfd, link_info.output_bfd != (bfd *)0x0" (assignment_expression "pbVar4 = 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 "(pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0)" ( (comma_expression "pcVar10 = pbVar4->filename, pcVar10 != (char *)0x0" (assignment_expression "pcVar10 = pbVar4->filename" identifier = (field_expression "pbVar4->filename" identifier -> field_identifier)) , (binary_expression "pcVar10 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n            if (*pcVar10 == '/') {\n              __s_01 = (char *)xstrdup(pcVar10);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar10);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar10 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }" { (if_statement "if (*pcVar10 == '/') {\n              __s_01 = (char *)xstrdup(pcVar10);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar10);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);\n            }" if (parenthesized_expression "(*pcVar10 == '/')" ( (binary_expression "*pcVar10 == '/'" (pointer_expression "*pcVar10" * identifier) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n              __s_01 = (char *)xstrdup(pcVar10);\n            }" { (expression_statement "__s_01 = (char *)xstrdup(pcVar10);" (assignment_expression "__s_01 = (char *)xstrdup(pcVar10)" identifier = (cast_expression "(char *)xstrdup(pcVar10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(pcVar10)" identifier (argument_list "(pcVar10)" ( identifier ))))) ;) }) (else_clause "else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar10);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);\n            }" else (compound_statement "{\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar10);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar10);\n            }" { (expression_statement "pcVar5 = (char *)getpwd();" (assignment_expression "pcVar5 = (char *)getpwd()" identifier = (cast_expression "(char *)getpwd()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "getpwd()" identifier (argument_list "()" ( ))))) ;) (expression_statement "sVar6 = strlen(pcVar10);" (assignment_expression "sVar6 = strlen(pcVar10)" identifier = (call_expression "strlen(pcVar10)" identifier (argument_list "(pcVar10)" ( identifier )))) ;) (expression_statement "sVar7 = strlen(pcVar5);" (assignment_expression "sVar7 = strlen(pcVar5)" identifier = (call_expression "strlen(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "__s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);" (assignment_expression "__s_01 = (char *)xmalloc(sVar6 + 2 + sVar7)" identifier = (cast_expression "(char *)xmalloc(sVar6 + 2 + sVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar6 + 2 + sVar7)" identifier (argument_list "(sVar6 + 2 + sVar7)" ( (binary_expression "sVar6 + 2 + sVar7" (binary_expression "sVar6 + 2" identifier + number_literal) + identifier) ))))) ;) (expression_statement "sprintf(__s_01,"%s/%s",pcVar5,pcVar10);" (call_expression "sprintf(__s_01,"%s/%s",pcVar5,pcVar10)" identifier (argument_list "(__s_01,"%s/%s",pcVar5,pcVar10)" ( identifier , (string_literal ""%s/%s"" " string_content ") , identifier , identifier ))) ;) }))) (expression_statement "pcVar5 = strrchr(__s_01,0x2f);" (assignment_expression "pcVar5 = strrchr(__s_01,0x2f)" identifier = (call_expression "strrchr(__s_01,0x2f)" identifier (argument_list "(__s_01,0x2f)" ( identifier , number_literal )))) ;) (expression_statement "pcVar10 = __s_01;" (assignment_expression "pcVar10 = __s_01" identifier = identifier) ;) (if_statement "if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }" if (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              sVar6 = strlen(__s_01);\n            }" { (expression_statement "sVar6 = strlen(__s_01);" (assignment_expression "sVar6 = strlen(__s_01)" identifier = (call_expression "strlen(__s_01)" identifier (argument_list "(__s_01)" ( identifier )))) ;) }) (else_clause "else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }" else (compound_statement "{\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }" { (expression_statement "*pcVar5 = '\0';" (assignment_expression "*pcVar5 = '\0'" (pointer_expression "*pcVar5" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "sVar6 = strlen(__s_01);" (assignment_expression "sVar6 = strlen(__s_01)" identifier = (call_expression "strlen(__s_01)" identifier (argument_list "(__s_01)" ( identifier )))) ;) }))) (goto_statement "goto LAB_0013fa65;" goto statement_identifier ;) })) })) (labeled_statement "LAB_0013fb2b:\n        if (verbose != 0) {\n          pcVar10 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",\n                                      5);\n          info_msg(pcVar10,pcVar8);\n        }" statement_identifier : (if_statement "if (verbose != 0) {\n          pcVar10 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",\n                                      5);\n          info_msg(pcVar10,pcVar8);\n        }" if (parenthesized_expression "(verbose != 0)" ( (binary_expression "verbose != 0" identifier != number_literal) )) (compound_statement "{\n          pcVar10 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",\n                                      5);\n          info_msg(pcVar10,pcVar8);\n        }" { (expression_statement "pcVar10 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",\n                                      5);" (assignment_expression "pcVar10 = (char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",\n                                      5)" identifier = (cast_expression "(char *)dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",\n                                      5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",\n                                      5)" identifier (argument_list "(0,"unrecognised or unsupported token \'%s\' in search path\n",\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 "info_msg(pcVar10,pcVar8);" (call_expression "info_msg(pcVar10,pcVar8)" identifier (argument_list "(pcVar10,pcVar8)" ( identifier , identifier ))) ;) }))) (if_statement "if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *pcVar9 = '/';\n        }" { (expression_statement "*pcVar9 = '/';" (assignment_expression "*pcVar9 = '/'" (pointer_expression "*pcVar9" * identifier) = (char_literal "'/'" ' character ')) ;) })) (expression_statement "uVar12 = (int)(pcVar8 + 1) - (int)__s_00;" (assignment_expression "uVar12 = (int)(pcVar8 + 1) - (int)__s_00" identifier = (binary_expression "(int)(pcVar8 + 1) - (int)__s_00" (cast_expression "(int)(pcVar8 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar8 + 1)" ( (binary_expression "pcVar8 + 1" identifier + number_literal) ))) - (cast_expression "(int)__s_00" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pcVar10 = (char *)0x0;" (assignment_expression "pcVar10 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar8 = __s_00;" (assignment_expression "pcVar8 = __s_00" identifier = identifier) ;) }))) (expression_statement "free(pcVar10);" (call_expression "free(pcVar10)" identifier (argument_list "(pcVar10)" ( identifier ))) ;) (expression_statement "__s_00 = pcVar8;" (assignment_expression "__s_00 = pcVar8" identifier = identifier) ;) })) (expression_statement "needed.name = __s_00;" (assignment_expression "needed.name = __s_00" (field_expression "needed.name" identifier . field_identifier) = identifier) ;) (expression_statement "bVar2 = gldelf_l1om_try_needed(&needed,(int)__s_00,(dt_needed *)(ulong)(uint)force);" (assignment_expression "bVar2 = gldelf_l1om_try_needed(&needed,(int)__s_00,(dt_needed *)(ulong)(uint)force)" identifier = (call_expression "gldelf_l1om_try_needed(&needed,(int)__s_00,(dt_needed *)(ulong)(uint)force)" identifier (argument_list "(&needed,(int)__s_00,(dt_needed *)(ulong)(uint)force)" ( (pointer_expression "&needed" & identifier) , (cast_expression "(int)__s_00" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(dt_needed *)(ulong)(uint)force" ( (type_descriptor "dt_needed *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(ulong)(uint)force" ( (type_descriptor "ulong" type_identifier) ) (cast_expression "(uint)force" ( (type_descriptor "uint" type_identifier) ) identifier))) )))) ;) (if_statement "if (bVar2 != 0) {\n      return 1;\n    }" if (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "free(__s_00);" (call_expression "free(__s_00)" identifier (argument_list "(__s_00)" ( identifier ))) ;) (if_statement "if (*local_78 == '\0') {\n      return 0;\n    }" if (parenthesized_expression "(*local_78 == '\0')" ( (binary_expression "*local_78 == '\0'" (pointer_expression "*local_78" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "path = local_78 + 1;" (assignment_expression "path = local_78 + 1" identifier = (binary_expression "local_78 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "undefined8 FUN_0013f8c0(char *param_1,undefined8 *param_2,undefined4 param_3)\n\n{\n  char *__s;\n  byte bVar1;\n  int iVar2;\n  size_t sVar3;\n  char *__s_00;\n  undefined8 *puVar4;\n  char *pcVar5;\n  size_t sVar6;\n  size_t sVar7;\n  char *__s_01;\n  char *pcVar8;\n  char *pcVar9;\n  undefined8 uVar10;\n  long lVar11;\n  uint uVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  char *pcVar15;\n  byte *pbVar16;\n  ulong uVar17;\n  size_t sVar18;\n  bool bVar19;\n  bool bVar20;\n  bool bVar21;\n  byte bVar22;\n  char *local_78;\n  undefined8 *local_48;\n  char *local_40;\n  \n  bVar22 = 0;\n  __s = (char *)param_2[1];\n  if (*__s == '/') {\n    uVar10 = FUN_0013f5c0(param_2,__s);\n    return uVar10;\n  }\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }\n  local_48 = (undefined8 *)*param_2;\n  local_40 = __s;\n  sVar3 = strlen(__s);\n  do {\n    local_78 = strchr(param_1,(int)DAT_002b6108);\n    if (local_78 == (char *)0x0) {\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }\n    sVar18 = (long)local_78 - (long)param_1;\n    __s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (param_1 != local_78) {\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }\n    local_40 = __s_00;\n    iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);\n    if (iVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    param_1 = local_78 + 1;\n  } while( true );\n}\n\n" (function_definition "undefined8 FUN_0013f8c0(char *param_1,undefined8 *param_2,undefined4 param_3)\n\n{\n  char *__s;\n  byte bVar1;\n  int iVar2;\n  size_t sVar3;\n  char *__s_00;\n  undefined8 *puVar4;\n  char *pcVar5;\n  size_t sVar6;\n  size_t sVar7;\n  char *__s_01;\n  char *pcVar8;\n  char *pcVar9;\n  undefined8 uVar10;\n  long lVar11;\n  uint uVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  char *pcVar15;\n  byte *pbVar16;\n  ulong uVar17;\n  size_t sVar18;\n  bool bVar19;\n  bool bVar20;\n  bool bVar21;\n  byte bVar22;\n  char *local_78;\n  undefined8 *local_48;\n  char *local_40;\n  \n  bVar22 = 0;\n  __s = (char *)param_2[1];\n  if (*__s == '/') {\n    uVar10 = FUN_0013f5c0(param_2,__s);\n    return uVar10;\n  }\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }\n  local_48 = (undefined8 *)*param_2;\n  local_40 = __s;\n  sVar3 = strlen(__s);\n  do {\n    local_78 = strchr(param_1,(int)DAT_002b6108);\n    if (local_78 == (char *)0x0) {\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }\n    sVar18 = (long)local_78 - (long)param_1;\n    __s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (param_1 != local_78) {\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }\n    local_40 = __s_00;\n    iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);\n    if (iVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    param_1 = local_78 + 1;\n  } while( true );\n}" type_identifier (function_declarator "FUN_0013f8c0(char *param_1,undefined8 *param_2,undefined4 param_3)" identifier (parameter_list "(char *param_1,undefined8 *param_2,undefined4 param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  char *__s;\n  byte bVar1;\n  int iVar2;\n  size_t sVar3;\n  char *__s_00;\n  undefined8 *puVar4;\n  char *pcVar5;\n  size_t sVar6;\n  size_t sVar7;\n  char *__s_01;\n  char *pcVar8;\n  char *pcVar9;\n  undefined8 uVar10;\n  long lVar11;\n  uint uVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  char *pcVar15;\n  byte *pbVar16;\n  ulong uVar17;\n  size_t sVar18;\n  bool bVar19;\n  bool bVar20;\n  bool bVar21;\n  byte bVar22;\n  char *local_78;\n  undefined8 *local_48;\n  char *local_40;\n  \n  bVar22 = 0;\n  __s = (char *)param_2[1];\n  if (*__s == '/') {\n    uVar10 = FUN_0013f5c0(param_2,__s);\n    return uVar10;\n  }\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }\n  local_48 = (undefined8 *)*param_2;\n  local_40 = __s;\n  sVar3 = strlen(__s);\n  do {\n    local_78 = strchr(param_1,(int)DAT_002b6108);\n    if (local_78 == (char *)0x0) {\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }\n    sVar18 = (long)local_78 - (long)param_1;\n    __s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (param_1 != local_78) {\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }\n    local_40 = __s_00;\n    iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);\n    if (iVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    param_1 = local_78 + 1;\n  } while( true );\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "char *__s_01;" primitive_type (pointer_declarator "*__s_01" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "undefined8 uVar10;" type_identifier identifier ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "char *pcVar15;" primitive_type (pointer_declarator "*pcVar15" * identifier) ;) (declaration "byte *pbVar16;" type_identifier (pointer_declarator "*pbVar16" * identifier) ;) (declaration "ulong uVar17;" type_identifier identifier ;) (declaration "size_t sVar18;" primitive_type identifier ;) (declaration "bool bVar19;" primitive_type identifier ;) (declaration "bool bVar20;" primitive_type identifier ;) (declaration "bool bVar21;" primitive_type identifier ;) (declaration "byte bVar22;" type_identifier identifier ;) (declaration "char *local_78;" primitive_type (pointer_declarator "*local_78" * identifier) ;) (declaration "undefined8 *local_48;" type_identifier (pointer_declarator "*local_48" * identifier) ;) (declaration "char *local_40;" primitive_type (pointer_declarator "*local_40" * identifier) ;) (expression_statement "bVar22 = 0;" (assignment_expression "bVar22 = 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_0013f5c0(param_2,__s);\n    return uVar10;\n  }" if (parenthesized_expression "(*__s == '/')" ( (binary_expression "*__s == '/'" (pointer_expression "*__s" * identifier) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n    uVar10 = FUN_0013f5c0(param_2,__s);\n    return uVar10;\n  }" { (expression_statement "uVar10 = FUN_0013f5c0(param_2,__s);" (assignment_expression "uVar10 = FUN_0013f5c0(param_2,__s)" identifier = (call_expression "FUN_0013f5c0(param_2,__s)" identifier (argument_list "(param_2,__s)" ( identifier , identifier )))) ;) (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 "local_48 = (undefined8 *)*param_2;" (assignment_expression "local_48 = (undefined8 *)*param_2" identifier = (cast_expression "(undefined8 *)*param_2" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "local_40 = __s;" (assignment_expression "local_40 = __s" identifier = identifier) ;) (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (do_statement "do {\n    local_78 = strchr(param_1,(int)DAT_002b6108);\n    if (local_78 == (char *)0x0) {\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }\n    sVar18 = (long)local_78 - (long)param_1;\n    __s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (param_1 != local_78) {\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }\n    local_40 = __s_00;\n    iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);\n    if (iVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    param_1 = local_78 + 1;\n  } while( true );" do (compound_statement "{\n    local_78 = strchr(param_1,(int)DAT_002b6108);\n    if (local_78 == (char *)0x0) {\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }\n    sVar18 = (long)local_78 - (long)param_1;\n    __s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (param_1 != local_78) {\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }\n    local_40 = __s_00;\n    iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);\n    if (iVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    param_1 = local_78 + 1;\n  }" { (expression_statement "local_78 = strchr(param_1,(int)DAT_002b6108);" (assignment_expression "local_78 = strchr(param_1,(int)DAT_002b6108)" identifier = (call_expression "strchr(param_1,(int)DAT_002b6108)" identifier (argument_list "(param_1,(int)DAT_002b6108)" ( identifier , (cast_expression "(int)DAT_002b6108" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (if_statement "if (local_78 == (char *)0x0) {\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }" if (parenthesized_expression "(local_78 == (char *)0x0)" ( (binary_expression "local_78 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }" { (expression_statement "sVar18 = strlen(param_1);" (assignment_expression "sVar18 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "local_78 = param_1 + sVar18;" (assignment_expression "local_78 = param_1 + sVar18" identifier = (binary_expression "param_1 + sVar18" identifier + identifier)) ;) })) (expression_statement "sVar18 = (long)local_78 - (long)param_1;" (assignment_expression "sVar18 = (long)local_78 - (long)param_1" identifier = (binary_expression "(long)local_78 - (long)param_1" (cast_expression "(long)local_78" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "__s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);" (assignment_expression "__s_00 = (char *)xmalloc(sVar18 + sVar3 + 2)" identifier = (cast_expression "(char *)xmalloc(sVar18 + sVar3 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar18 + sVar3 + 2)" identifier (argument_list "(sVar18 + sVar3 + 2)" ( (binary_expression "sVar18 + sVar3 + 2" (binary_expression "sVar18 + sVar3" identifier + identifier) + number_literal) ))))) ;) (expression_statement "pcVar8 = __s_00;" (assignment_expression "pcVar8 = __s_00" identifier = identifier) ;) (if_statement "if (param_1 != local_78) {\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }" if (parenthesized_expression "(param_1 != local_78)" ( (binary_expression "param_1 != local_78" identifier != identifier) )) (compound_statement "{\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }" { (expression_statement "memcpy(__s_00,param_1,sVar18);" (call_expression "memcpy(__s_00,param_1,sVar18)" identifier (argument_list "(__s_00,param_1,sVar18)" ( identifier , identifier , identifier ))) ;) (expression_statement "__s_00[sVar18] = '/';" (assignment_expression "__s_00[sVar18] = '/'" (subscript_expression "__s_00[sVar18]" identifier [ identifier ]) = (char_literal "'/'" ' character ')) ;) (expression_statement "pcVar8 = __s_00 + sVar18 + 1;" (assignment_expression "pcVar8 = __s_00 + sVar18 + 1" identifier = (binary_expression "__s_00 + sVar18 + 1" (binary_expression "__s_00 + sVar18" identifier + identifier) + number_literal)) ;) })) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (expression_statement "strcpy(pcVar8,__s);" (call_expression "strcpy(pcVar8,__s)" identifier (argument_list "(pcVar8,__s)" ( identifier , identifier ))) ;) (while_statement "while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }" while (parenthesized_expression "(pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0)" ( (comma_expression "pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0" (assignment_expression "pcVar8 = strchr(__s_00 + uVar12,0x24)" identifier = (call_expression "strchr(__s_00 + uVar12,0x24)" identifier (argument_list "(__s_00 + uVar12,0x24)" ( (binary_expression "__s_00 + uVar12" identifier + identifier) , number_literal )))) , (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }" { (expression_statement "pcVar9 = strchr(pcVar8,0x2f);" (assignment_expression "pcVar9 = strchr(pcVar8,0x2f)" identifier = (call_expression "strchr(pcVar8,0x2f)" identifier (argument_list "(pcVar8,0x2f)" ( identifier , number_literal )))) ;) (expression_statement "sVar18 = strlen(__s_00);" (assignment_expression "sVar18 = strlen(__s_00)" identifier = (call_expression "strlen(__s_00)" identifier (argument_list "(__s_00)" ( identifier )))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *pcVar9 = '\0';\n      }" { (expression_statement "*pcVar9 = '\0';" (assignment_expression "*pcVar9 = '\0'" (pointer_expression "*pcVar9" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "bVar1 = pcVar8[1];" (assignment_expression "bVar1 = pcVar8[1]" identifier = (subscript_expression "pcVar8[1]" identifier [ number_literal ])) ;) (expression_statement "pcVar15 = pcVar8 + 1;" (assignment_expression "pcVar15 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }" if (parenthesized_expression "(bVar1 == 0x7b)" ( (binary_expression "bVar1 == 0x7b" identifier == number_literal) )) (compound_statement "{\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }" { (expression_statement "bVar1 = pcVar8[2];" (assignment_expression "bVar1 = pcVar8[2]" identifier = (subscript_expression "pcVar8[2]" identifier [ number_literal ])) ;) (expression_statement "pcVar15 = pcVar8 + 2;" (assignment_expression "pcVar15 = pcVar8 + 2" identifier = (binary_expression "pcVar8 + 2" identifier + number_literal)) ;) })) (expression_statement "pbVar14 = (byte *)(pcVar15 + 1);" (assignment_expression "pbVar14 = (byte *)(pcVar15 + 1)" identifier = (cast_expression "(byte *)(pcVar15 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar15 + 1)" ( (binary_expression "pcVar15 + 1" identifier + number_literal) )))) ;) (expression_statement "bVar20 = bVar1 < 0x4c;" (assignment_expression "bVar20 = bVar1 < 0x4c" identifier = (binary_expression "bVar1 < 0x4c" identifier < number_literal)) ;) (expression_statement "bVar21 = bVar1 == 0x4c;" (assignment_expression "bVar21 = bVar1 == 0x4c" identifier = (binary_expression "bVar1 == 0x4c" identifier == number_literal)) ;) (if_statement "if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }" if (parenthesized_expression "(bVar21)" ( identifier )) (compound_statement "{\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }" { (expression_statement "lVar11 = 3;" (assignment_expression "lVar11 = 3" identifier = number_literal) ;) (expression_statement "pbVar13 = pbVar14;" (assignment_expression "pbVar13 = pbVar14" identifier = identifier) ;) (expression_statement "pbVar16 = (byte *)0x15d1f0;" (assignment_expression "pbVar16 = (byte *)0x15d1f0" identifier = (cast_expression "(byte *)0x15d1f0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);" do (compound_statement "{\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        }" { (if_statement "if (lVar11 == 0) break;" if (parenthesized_expression "(lVar11 == 0)" ( (binary_expression "lVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar11 = lVar11 + -1;" (assignment_expression "lVar11 = lVar11 + -1" identifier = (binary_expression "lVar11 + -1" identifier + number_literal)) ;) (expression_statement "bVar20 = *pbVar13 < *pbVar16;" (assignment_expression "bVar20 = *pbVar13 < *pbVar16" identifier = (binary_expression "*pbVar13 < *pbVar16" (pointer_expression "*pbVar13" * identifier) < (pointer_expression "*pbVar16" * identifier))) ;) (expression_statement "bVar21 = *pbVar13 == *pbVar16;" (assignment_expression "bVar21 = *pbVar13 == *pbVar16" identifier = (binary_expression "*pbVar13 == *pbVar16" (pointer_expression "*pbVar13" * identifier) == (pointer_expression "*pbVar16" * identifier))) ;) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1" identifier = (binary_expression "pbVar13 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar22 * -2" identifier + (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1" identifier = (binary_expression "pbVar16 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar16 + (ulong)bVar22 * -2" identifier + (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar21)" ( identifier )) ;) (expression_statement "bVar19 = false;" (assignment_expression "bVar19 = false" identifier = false) ;) (expression_statement "bVar20 = (!bVar20 && !bVar21) == bVar20;" (assignment_expression "bVar20 = (!bVar20 && !bVar21) == bVar20" identifier = (binary_expression "(!bVar20 && !bVar21) == bVar20" (parenthesized_expression "(!bVar20 && !bVar21)" ( (binary_expression "!bVar20 && !bVar21" (unary_expression "!bVar20" ! identifier) && (unary_expression "!bVar21" ! identifier)) )) == identifier)) ;) (if_statement "if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }" if (parenthesized_expression "(!bVar20)" ( (unary_expression "!bVar20" ! identifier) )) (compound_statement "{\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }" { (expression_statement "lVar11 = 4;" (assignment_expression "lVar11 = 4" identifier = number_literal) ;) (expression_statement "pbVar13 = &DAT_0019f947;" (assignment_expression "pbVar13 = &DAT_0019f947" identifier = (pointer_expression "&DAT_0019f947" & identifier)) ;) (do_statement "do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);" do (compound_statement "{\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          }" { (if_statement "if (lVar11 == 0) break;" if (parenthesized_expression "(lVar11 == 0)" ( (binary_expression "lVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar11 = lVar11 + -1;" (assignment_expression "lVar11 = lVar11 + -1" identifier = (binary_expression "lVar11 + -1" identifier + number_literal)) ;) (expression_statement "bVar19 = *pbVar14 < *pbVar13;" (assignment_expression "bVar19 = *pbVar14 < *pbVar13" identifier = (binary_expression "*pbVar14 < *pbVar13" (pointer_expression "*pbVar14" * identifier) < (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "bVar20 = *pbVar14 == *pbVar13;" (assignment_expression "bVar20 = *pbVar14 == *pbVar13" identifier = (binary_expression "*pbVar14 == *pbVar13" (pointer_expression "*pbVar14" * identifier) == (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1" identifier = (binary_expression "pbVar14 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar14 + (ulong)bVar22 * -2" identifier + (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1" identifier = (binary_expression "pbVar13 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar22 * -2" identifier + (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar20)" ( identifier )) ;) (if_statement "if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;" if (parenthesized_expression "((!bVar19 && !bVar20) != bVar19)" ( (binary_expression "(!bVar19 && !bVar20) != bVar19" (parenthesized_expression "(!bVar19 && !bVar20)" ( (binary_expression "!bVar19 && !bVar20" (unary_expression "!bVar19" ! identifier) && (unary_expression "!bVar20" ! identifier)) )) != identifier) )) (goto_statement "goto LAB_0013fb2b;" goto statement_identifier ;)) })) (expression_statement "sVar6 = 5;" (assignment_expression "sVar6 = 5" identifier = number_literal) ;) (expression_statement "pcVar15 = (char *)0x0;" (assignment_expression "pcVar15 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__s_01 = "lib64";" (assignment_expression "__s_01 = "lib64"" identifier = (string_literal ""lib64"" " string_content ")) ;) (labeled_statement "LAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;" statement_identifier : (expression_statement "uVar17 = (long)pcVar8 - (long)__s_00;" (assignment_expression "uVar17 = (long)pcVar8 - (long)__s_00" identifier = (binary_expression "(long)pcVar8 - (long)__s_00" (cast_expression "(long)pcVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__s_00" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;)) (expression_statement "pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);" (assignment_expression "pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6)" identifier = (cast_expression "(char *)xmalloc((sVar18 & 0xffffffff) + sVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc((sVar18 & 0xffffffff) + sVar6)" identifier (argument_list "((sVar18 & 0xffffffff) + sVar6)" ( (binary_expression "(sVar18 & 0xffffffff) + sVar6" (parenthesized_expression "(sVar18 & 0xffffffff)" ( (binary_expression "sVar18 & 0xffffffff" identifier & number_literal) )) + identifier) ))))) ;) (if_statement "if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }" { (expression_statement "sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);" (call_expression "sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01)" identifier (argument_list "(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01)" ( identifier , (string_literal ""%.*s%s"" " string_content ") , (binary_expression "uVar17 & 0xffffffff" identifier & number_literal) , identifier , identifier ))) ;) (expression_statement "sVar18 = strlen(__s_01);" (assignment_expression "sVar18 = strlen(__s_01)" identifier = (call_expression "strlen(__s_01)" identifier (argument_list "(__s_01)" ( identifier )))) ;) (expression_statement "uVar12 = (int)uVar17 + (int)sVar18;" (assignment_expression "uVar12 = (int)uVar17 + (int)sVar18" identifier = (binary_expression "(int)uVar17 + (int)sVar18" (cast_expression "(int)uVar17" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)sVar18" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }" else (compound_statement "{\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }" { (expression_statement "sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);" (call_expression "sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1)" identifier (argument_list "(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1)" ( identifier , (string_literal ""%.*s%s/%s"" " string_content ") , (binary_expression "uVar17 & 0xffffffff" identifier & number_literal) , identifier , identifier , (binary_expression "pcVar9 + 1" identifier + number_literal) ))) ;) (expression_statement "sVar18 = strlen(__s_01);" (assignment_expression "sVar18 = strlen(__s_01)" identifier = (call_expression "strlen(__s_01)" identifier (argument_list "(__s_01)" ( identifier )))) ;) (expression_statement "uVar12 = (int)uVar17 + 1 + (int)sVar18;" (assignment_expression "uVar12 = (int)uVar17 + 1 + (int)sVar18" identifier = (binary_expression "(int)uVar17 + 1 + (int)sVar18" (binary_expression "(int)uVar17 + 1" (cast_expression "(int)uVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) + (cast_expression "(int)sVar18" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }))) (expression_statement "free(__s_00);" (call_expression "free(__s_00)" identifier (argument_list "(__s_00)" ( identifier ))) ;) }) (else_clause "else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }" else (compound_statement "{\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }" { (expression_statement "bVar20 = bVar1 < 0x4f;" (assignment_expression "bVar20 = bVar1 < 0x4f" identifier = (binary_expression "bVar1 < 0x4f" identifier < number_literal)) ;) (expression_statement "bVar21 = bVar1 == 0x4f;" (assignment_expression "bVar21 = bVar1 == 0x4f" identifier = (binary_expression "bVar1 == 0x4f" identifier == number_literal)) ;) (if_statement "if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }" if (parenthesized_expression "(bVar21)" ( identifier )) (compound_statement "{\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }" { (expression_statement "lVar11 = 6;" (assignment_expression "lVar11 = 6" identifier = number_literal) ;) (expression_statement "pbVar13 = pbVar14;" (assignment_expression "pbVar13 = pbVar14" identifier = identifier) ;) (expression_statement "pbVar16 = (byte *)0x15d4c6;" (assignment_expression "pbVar16 = (byte *)0x15d4c6" identifier = (cast_expression "(byte *)0x15d4c6" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);" do (compound_statement "{\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          }" { (if_statement "if (lVar11 == 0) break;" if (parenthesized_expression "(lVar11 == 0)" ( (binary_expression "lVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar11 = lVar11 + -1;" (assignment_expression "lVar11 = lVar11 + -1" identifier = (binary_expression "lVar11 + -1" identifier + number_literal)) ;) (expression_statement "bVar20 = *pbVar13 < *pbVar16;" (assignment_expression "bVar20 = *pbVar13 < *pbVar16" identifier = (binary_expression "*pbVar13 < *pbVar16" (pointer_expression "*pbVar13" * identifier) < (pointer_expression "*pbVar16" * identifier))) ;) (expression_statement "bVar21 = *pbVar13 == *pbVar16;" (assignment_expression "bVar21 = *pbVar13 == *pbVar16" identifier = (binary_expression "*pbVar13 == *pbVar16" (pointer_expression "*pbVar13" * identifier) == (pointer_expression "*pbVar16" * identifier))) ;) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1" identifier = (binary_expression "pbVar13 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar22 * -2" identifier + (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1" identifier = (binary_expression "pbVar16 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar16 + (ulong)bVar22 * -2" identifier + (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar21)" ( identifier )) ;) (expression_statement "bVar19 = false;" (assignment_expression "bVar19 = false" identifier = false) ;) (expression_statement "bVar20 = (!bVar20 && !bVar21) == bVar20;" (assignment_expression "bVar20 = (!bVar20 && !bVar21) == bVar20" identifier = (binary_expression "(!bVar20 && !bVar21) == bVar20" (parenthesized_expression "(!bVar20 && !bVar21)" ( (binary_expression "!bVar20 && !bVar21" (unary_expression "!bVar20" ! identifier) && (unary_expression "!bVar21" ! identifier)) )) == identifier)) ;) (if_statement "if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }" if (parenthesized_expression "(!bVar20)" ( (unary_expression "!bVar20" ! identifier) )) (compound_statement "{\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }" { (expression_statement "lVar11 = 7;" (assignment_expression "lVar11 = 7" identifier = number_literal) ;) (expression_statement "pbVar13 = &DAT_0019f940;" (assignment_expression "pbVar13 = &DAT_0019f940" identifier = (pointer_expression "&DAT_0019f940" & identifier)) ;) (do_statement "do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);" do (compound_statement "{\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            }" { (if_statement "if (lVar11 == 0) break;" if (parenthesized_expression "(lVar11 == 0)" ( (binary_expression "lVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar11 = lVar11 + -1;" (assignment_expression "lVar11 = lVar11 + -1" identifier = (binary_expression "lVar11 + -1" identifier + number_literal)) ;) (expression_statement "bVar19 = *pbVar14 < *pbVar13;" (assignment_expression "bVar19 = *pbVar14 < *pbVar13" identifier = (binary_expression "*pbVar14 < *pbVar13" (pointer_expression "*pbVar14" * identifier) < (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "bVar20 = *pbVar14 == *pbVar13;" (assignment_expression "bVar20 = *pbVar14 == *pbVar13" identifier = (binary_expression "*pbVar14 == *pbVar13" (pointer_expression "*pbVar14" * identifier) == (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1" identifier = (binary_expression "pbVar14 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar14 + (ulong)bVar22 * -2" identifier + (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1" identifier = (binary_expression "pbVar13 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar22 * -2" identifier + (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar20)" ( identifier )) ;) (if_statement "if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;" if (parenthesized_expression "((!bVar19 && !bVar20) != bVar19)" ( (binary_expression "(!bVar19 && !bVar20) != bVar19" (parenthesized_expression "(!bVar19 && !bVar20)" ( (binary_expression "!bVar19 && !bVar20" (unary_expression "!bVar19" ! identifier) && (unary_expression "!bVar20" ! identifier)) )) != identifier) )) (goto_statement "goto LAB_0013fb2b;" goto statement_identifier ;)) })) (expression_statement "puVar4 = local_48;" (assignment_expression "puVar4 = local_48" identifier = identifier) ;) (if_statement "if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }" if (parenthesized_expression "(((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0))" ( (binary_expression "((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)" (parenthesized_expression "((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0))" ( (binary_expression "(local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)" (parenthesized_expression "(local_48 != (undefined8 *)0x0)" ( (binary_expression "local_48 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)" ( (comma_expression "puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0" (assignment_expression "puVar4 = DAT_002b5f90" identifier = identifier) , (binary_expression "DAT_002b5f90 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)" ( (comma_expression "pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0" (assignment_expression "pcVar15 = (char *)*puVar4" identifier = (cast_expression "(char *)*puVar4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) , (binary_expression "pcVar15 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }" { (if_statement "if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }" if (parenthesized_expression "(*pcVar15 == '/')" ( (binary_expression "*pcVar15 == '/'" (pointer_expression "*pcVar15" * identifier) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n              __s_01 = (char *)xstrdup(pcVar15);\n            }" { (expression_statement "__s_01 = (char *)xstrdup(pcVar15);" (assignment_expression "__s_01 = (char *)xstrdup(pcVar15)" identifier = (cast_expression "(char *)xstrdup(pcVar15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(pcVar15)" identifier (argument_list "(pcVar15)" ( identifier ))))) ;) }) (else_clause "else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }" else (compound_statement "{\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }" { (expression_statement "pcVar5 = (char *)getpwd();" (assignment_expression "pcVar5 = (char *)getpwd()" identifier = (cast_expression "(char *)getpwd()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "getpwd()" identifier (argument_list "()" ( ))))) ;) (expression_statement "sVar6 = strlen(pcVar15);" (assignment_expression "sVar6 = strlen(pcVar15)" identifier = (call_expression "strlen(pcVar15)" identifier (argument_list "(pcVar15)" ( identifier )))) ;) (expression_statement "sVar7 = strlen(pcVar5);" (assignment_expression "sVar7 = strlen(pcVar5)" identifier = (call_expression "strlen(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "__s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);" (assignment_expression "__s_01 = (char *)xmalloc(sVar6 + 2 + sVar7)" identifier = (cast_expression "(char *)xmalloc(sVar6 + 2 + sVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar6 + 2 + sVar7)" identifier (argument_list "(sVar6 + 2 + sVar7)" ( (binary_expression "sVar6 + 2 + sVar7" (binary_expression "sVar6 + 2" identifier + number_literal) + identifier) ))))) ;) (expression_statement "sprintf(__s_01,"%s/%s",pcVar5,pcVar15);" (call_expression "sprintf(__s_01,"%s/%s",pcVar5,pcVar15)" identifier (argument_list "(__s_01,"%s/%s",pcVar5,pcVar15)" ( identifier , (string_literal ""%s/%s"" " string_content ") , identifier , identifier ))) ;) }))) (expression_statement "pcVar5 = strrchr(__s_01,0x2f);" (assignment_expression "pcVar5 = strrchr(__s_01,0x2f)" identifier = (call_expression "strrchr(__s_01,0x2f)" identifier (argument_list "(__s_01,0x2f)" ( identifier , number_literal )))) ;) (expression_statement "pcVar15 = __s_01;" (assignment_expression "pcVar15 = __s_01" identifier = identifier) ;) (if_statement "if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }" if (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              sVar6 = strlen(__s_01);\n            }" { (expression_statement "sVar6 = strlen(__s_01);" (assignment_expression "sVar6 = strlen(__s_01)" identifier = (call_expression "strlen(__s_01)" identifier (argument_list "(__s_01)" ( identifier )))) ;) }) (else_clause "else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }" else (compound_statement "{\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }" { (expression_statement "*pcVar5 = '\0';" (assignment_expression "*pcVar5 = '\0'" (pointer_expression "*pcVar5" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "sVar6 = strlen(__s_01);" (assignment_expression "sVar6 = strlen(__s_01)" identifier = (call_expression "strlen(__s_01)" identifier (argument_list "(__s_01)" ( identifier )))) ;) }))) (goto_statement "goto LAB_0013fa65;" goto statement_identifier ;) })) })) (labeled_statement "LAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }" statement_identifier : (if_statement "if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }" if (parenthesized_expression "(DAT_002b6158 != 0)" ( (binary_expression "DAT_002b6158 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\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_001292e0(uVar10,pcVar8);" (call_expression "FUN_001292e0(uVar10,pcVar8)" identifier (argument_list "(uVar10,pcVar8)" ( identifier , identifier ))) ;) }))) (if_statement "if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *pcVar9 = '/';\n        }" { (expression_statement "*pcVar9 = '/';" (assignment_expression "*pcVar9 = '/'" (pointer_expression "*pcVar9" * identifier) = (char_literal "'/'" ' character ')) ;) })) (expression_statement "uVar12 = (int)(pcVar8 + 1) - (int)__s_00;" (assignment_expression "uVar12 = (int)(pcVar8 + 1) - (int)__s_00" identifier = (binary_expression "(int)(pcVar8 + 1) - (int)__s_00" (cast_expression "(int)(pcVar8 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar8 + 1)" ( (binary_expression "pcVar8 + 1" identifier + number_literal) ))) - (cast_expression "(int)__s_00" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pcVar15 = (char *)0x0;" (assignment_expression "pcVar15 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar8 = __s_00;" (assignment_expression "pcVar8 = __s_00" identifier = identifier) ;) }))) (expression_statement "free(pcVar15);" (call_expression "free(pcVar15)" identifier (argument_list "(pcVar15)" ( identifier ))) ;) (expression_statement "__s_00 = pcVar8;" (assignment_expression "__s_00 = pcVar8" identifier = identifier) ;) })) (expression_statement "local_40 = __s_00;" (assignment_expression "local_40 = __s_00" identifier = identifier) ;) (expression_statement "iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);" (assignment_expression "iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3)" identifier = (call_expression "FUN_0013f5c0(&local_48,__s_00,param_3)" identifier (argument_list "(&local_48,__s_00,param_3)" ( (pointer_expression "&local_48" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n      return 1;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "free(__s_00);" (call_expression "free(__s_00)" identifier (argument_list "(__s_00)" ( identifier ))) ;) (if_statement "if (*local_78 == '\0') {\n      return 0;\n    }" if (parenthesized_expression "(*local_78 == '\0')" ( (binary_expression "*local_78 == '\0'" (pointer_expression "*local_78" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "param_1 = local_78 + 1;" (assignment_expression "param_1 = local_78 + 1" identifier = (binary_expression "local_78 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 (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 (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 ( IDENT , IDENT )))) ;) (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 = 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 (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) ;) (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 = 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 + 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 = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) + 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 ") , (binary_expression IDENT & LIT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (binary_expression IDENT & LIT) , IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( 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 = (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 = 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 )))) ;) (expression_statement (assignment_expression 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 IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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 = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT )))) ;) (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 "undefined8 FUN_0013f8c0(char *param_1,undefined8 *param_2,undefined4 param_3)\n\n{\n  char *__s;\n  byte bVar1;\n  int iVar2;\n  size_t sVar3;\n  char *__s_00;\n  undefined8 *puVar4;\n  char *pcVar5;\n  size_t sVar6;\n  size_t sVar7;\n  char *__s_01;\n  char *pcVar8;\n  char *pcVar9;\n  undefined8 uVar10;\n  long lVar11;\n  uint uVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  char *pcVar15;\n  byte *pbVar16;\n  ulong uVar17;\n  size_t sVar18;\n  bool bVar19;\n  bool bVar20;\n  bool bVar21;\n  byte bVar22;\n  char *local_78;\n  undefined8 *local_48;\n  char *local_40;\n  \n  bVar22 = 0;\n  __s = (char *)param_2[1];\n  if (*__s == '/') {\n    uVar10 = FUN_0013f5c0(param_2,__s);\n    return uVar10;\n  }\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }\n  local_48 = (undefined8 *)*param_2;\n  local_40 = __s;\n  sVar3 = strlen(__s);\n  do {\n    local_78 = strchr(param_1,(int)DAT_002b6108);\n    if (local_78 == (char *)0x0) {\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }\n    sVar18 = (long)local_78 - (long)param_1;\n    __s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (param_1 != local_78) {\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }\n    local_40 = __s_00;\n    iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);\n    if (iVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    param_1 = local_78 + 1;\n  } while( true );\n}" (type_identifier "undefined8") (function_declarator "FUN_0013f8c0(char *param_1,undefined8 *param_2,undefined4 param_3)" (identifier "FUN_0013f8c0") (parameter_list "(char *param_1,undefined8 *param_2,undefined4 param_3)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 *param_2" (type_identifier "undefined8") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  char *__s;\n  byte bVar1;\n  int iVar2;\n  size_t sVar3;\n  char *__s_00;\n  undefined8 *puVar4;\n  char *pcVar5;\n  size_t sVar6;\n  size_t sVar7;\n  char *__s_01;\n  char *pcVar8;\n  char *pcVar9;\n  undefined8 uVar10;\n  long lVar11;\n  uint uVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  char *pcVar15;\n  byte *pbVar16;\n  ulong uVar17;\n  size_t sVar18;\n  bool bVar19;\n  bool bVar20;\n  bool bVar21;\n  byte bVar22;\n  char *local_78;\n  undefined8 *local_48;\n  char *local_40;\n  \n  bVar22 = 0;\n  __s = (char *)param_2[1];\n  if (*__s == '/') {\n    uVar10 = FUN_0013f5c0(param_2,__s);\n    return uVar10;\n  }\n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    return 0;\n  }\n  local_48 = (undefined8 *)*param_2;\n  local_40 = __s;\n  sVar3 = strlen(__s);\n  do {\n    local_78 = strchr(param_1,(int)DAT_002b6108);\n    if (local_78 == (char *)0x0) {\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }\n    sVar18 = (long)local_78 - (long)param_1;\n    __s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (param_1 != local_78) {\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }\n    local_40 = __s_00;\n    iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);\n    if (iVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    param_1 = local_78 + 1;\n  } while( true );\n}" ({ "{") (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "char *__s_00;" (primitive_type "char") (pointer_declarator "*__s_00" (* "*") (identifier "__s_00")) (; ";")) (declaration "undefined8 *puVar4;" (type_identifier "undefined8") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "size_t sVar6;" (primitive_type "size_t") (identifier "sVar6") (; ";")) (declaration "size_t sVar7;" (primitive_type "size_t") (identifier "sVar7") (; ";")) (declaration "char *__s_01;" (primitive_type "char") (pointer_declarator "*__s_01" (* "*") (identifier "__s_01")) (; ";")) (declaration "char *pcVar8;" (primitive_type "char") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "char *pcVar9;" (primitive_type "char") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "undefined8 uVar10;" (type_identifier "undefined8") (identifier "uVar10") (; ";")) (declaration "long lVar11;" (sized_type_specifier "long" (long "long")) (identifier "lVar11") (; ";")) (declaration "uint uVar12;" (type_identifier "uint") (identifier "uVar12") (; ";")) (declaration "byte *pbVar13;" (type_identifier "byte") (pointer_declarator "*pbVar13" (* "*") (identifier "pbVar13")) (; ";")) (declaration "byte *pbVar14;" (type_identifier "byte") (pointer_declarator "*pbVar14" (* "*") (identifier "pbVar14")) (; ";")) (declaration "char *pcVar15;" (primitive_type "char") (pointer_declarator "*pcVar15" (* "*") (identifier "pcVar15")) (; ";")) (declaration "byte *pbVar16;" (type_identifier "byte") (pointer_declarator "*pbVar16" (* "*") (identifier "pbVar16")) (; ";")) (declaration "ulong uVar17;" (type_identifier "ulong") (identifier "uVar17") (; ";")) (declaration "size_t sVar18;" (primitive_type "size_t") (identifier "sVar18") (; ";")) (declaration "bool bVar19;" (primitive_type "bool") (identifier "bVar19") (; ";")) (declaration "bool bVar20;" (primitive_type "bool") (identifier "bVar20") (; ";")) (declaration "bool bVar21;" (primitive_type "bool") (identifier "bVar21") (; ";")) (declaration "byte bVar22;" (type_identifier "byte") (identifier "bVar22") (; ";")) (declaration "char *local_78;" (primitive_type "char") (pointer_declarator "*local_78" (* "*") (identifier "local_78")) (; ";")) (declaration "undefined8 *local_48;" (type_identifier "undefined8") (pointer_declarator "*local_48" (* "*") (identifier "local_48")) (; ";")) (declaration "char *local_40;" (primitive_type "char") (pointer_declarator "*local_40" (* "*") (identifier "local_40")) (; ";")) (expression_statement "bVar22 = 0;" (assignment_expression "bVar22 = 0" (identifier "bVar22") (= "=") (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_0013f5c0(param_2,__s);\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_0013f5c0(param_2,__s);\n    return uVar10;\n  }" ({ "{") (expression_statement "uVar10 = FUN_0013f5c0(param_2,__s);" (assignment_expression "uVar10 = FUN_0013f5c0(param_2,__s)" (identifier "uVar10") (= "=") (call_expression "FUN_0013f5c0(param_2,__s)" (identifier "FUN_0013f5c0") (argument_list "(param_2,__s)" (( "(") (identifier "param_2") (, ",") (identifier "__s") () ")")))) (; ";")) (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 "local_48 = (undefined8 *)*param_2;" (assignment_expression "local_48 = (undefined8 *)*param_2" (identifier "local_48") (= "=") (cast_expression "(undefined8 *)*param_2" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "local_40 = __s;" (assignment_expression "local_40 = __s" (identifier "local_40") (= "=") (identifier "__s")) (; ";")) (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" (identifier "sVar3") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (do_statement "do {\n    local_78 = strchr(param_1,(int)DAT_002b6108);\n    if (local_78 == (char *)0x0) {\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }\n    sVar18 = (long)local_78 - (long)param_1;\n    __s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (param_1 != local_78) {\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }\n    local_40 = __s_00;\n    iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);\n    if (iVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    param_1 = local_78 + 1;\n  } while( true );" (do "do") (compound_statement "{\n    local_78 = strchr(param_1,(int)DAT_002b6108);\n    if (local_78 == (char *)0x0) {\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }\n    sVar18 = (long)local_78 - (long)param_1;\n    __s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);\n    pcVar8 = __s_00;\n    if (param_1 != local_78) {\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }\n    uVar12 = 0;\n    strcpy(pcVar8,__s);\n    while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }\n    local_40 = __s_00;\n    iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);\n    if (iVar2 != 0) {\n      return 1;\n    }\n    free(__s_00);\n    if (*local_78 == '\0') {\n      return 0;\n    }\n    param_1 = local_78 + 1;\n  }" ({ "{") (expression_statement "local_78 = strchr(param_1,(int)DAT_002b6108);" (assignment_expression "local_78 = strchr(param_1,(int)DAT_002b6108)" (identifier "local_78") (= "=") (call_expression "strchr(param_1,(int)DAT_002b6108)" (identifier "strchr") (argument_list "(param_1,(int)DAT_002b6108)" (( "(") (identifier "param_1") (, ",") (cast_expression "(int)DAT_002b6108" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_002b6108")) () ")")))) (; ";")) (if_statement "if (local_78 == (char *)0x0) {\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }" (if "if") (parenthesized_expression "(local_78 == (char *)0x0)" (( "(") (binary_expression "local_78 == (char *)0x0" (identifier "local_78") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      sVar18 = strlen(param_1);\n      local_78 = param_1 + sVar18;\n    }" ({ "{") (expression_statement "sVar18 = strlen(param_1);" (assignment_expression "sVar18 = strlen(param_1)" (identifier "sVar18") (= "=") (call_expression "strlen(param_1)" (identifier "strlen") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "local_78 = param_1 + sVar18;" (assignment_expression "local_78 = param_1 + sVar18" (identifier "local_78") (= "=") (binary_expression "param_1 + sVar18" (identifier "param_1") (+ "+") (identifier "sVar18"))) (; ";")) (} "}"))) (expression_statement "sVar18 = (long)local_78 - (long)param_1;" (assignment_expression "sVar18 = (long)local_78 - (long)param_1" (identifier "sVar18") (= "=") (binary_expression "(long)local_78 - (long)param_1" (cast_expression "(long)local_78" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "local_78")) (- "-") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")))) (; ";")) (expression_statement "__s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);" (assignment_expression "__s_00 = (char *)xmalloc(sVar18 + sVar3 + 2)" (identifier "__s_00") (= "=") (cast_expression "(char *)xmalloc(sVar18 + sVar3 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar18 + sVar3 + 2)" (identifier "xmalloc") (argument_list "(sVar18 + sVar3 + 2)" (( "(") (binary_expression "sVar18 + sVar3 + 2" (binary_expression "sVar18 + sVar3" (identifier "sVar18") (+ "+") (identifier "sVar3")) (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "pcVar8 = __s_00;" (assignment_expression "pcVar8 = __s_00" (identifier "pcVar8") (= "=") (identifier "__s_00")) (; ";")) (if_statement "if (param_1 != local_78) {\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }" (if "if") (parenthesized_expression "(param_1 != local_78)" (( "(") (binary_expression "param_1 != local_78" (identifier "param_1") (!= "!=") (identifier "local_78")) () ")")) (compound_statement "{\n      memcpy(__s_00,param_1,sVar18);\n      __s_00[sVar18] = '/';\n      pcVar8 = __s_00 + sVar18 + 1;\n    }" ({ "{") (expression_statement "memcpy(__s_00,param_1,sVar18);" (call_expression "memcpy(__s_00,param_1,sVar18)" (identifier "memcpy") (argument_list "(__s_00,param_1,sVar18)" (( "(") (identifier "__s_00") (, ",") (identifier "param_1") (, ",") (identifier "sVar18") () ")"))) (; ";")) (expression_statement "__s_00[sVar18] = '/';" (assignment_expression "__s_00[sVar18] = '/'" (subscript_expression "__s_00[sVar18]" (identifier "__s_00") ([ "[") (identifier "sVar18") (] "]")) (= "=") (char_literal "'/'" (' "'") (character "/") (' "'"))) (; ";")) (expression_statement "pcVar8 = __s_00 + sVar18 + 1;" (assignment_expression "pcVar8 = __s_00 + sVar18 + 1" (identifier "pcVar8") (= "=") (binary_expression "__s_00 + sVar18 + 1" (binary_expression "__s_00 + sVar18" (identifier "__s_00") (+ "+") (identifier "sVar18")) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" (identifier "uVar12") (= "=") (number_literal "0")) (; ";")) (expression_statement "strcpy(pcVar8,__s);" (call_expression "strcpy(pcVar8,__s)" (identifier "strcpy") (argument_list "(pcVar8,__s)" (( "(") (identifier "pcVar8") (, ",") (identifier "__s") () ")"))) (; ";")) (while_statement "while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {\n      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }" (while "while") (parenthesized_expression "(pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0)" (( "(") (comma_expression "pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0" (assignment_expression "pcVar8 = strchr(__s_00 + uVar12,0x24)" (identifier "pcVar8") (= "=") (call_expression "strchr(__s_00 + uVar12,0x24)" (identifier "strchr") (argument_list "(__s_00 + uVar12,0x24)" (( "(") (binary_expression "__s_00 + uVar12" (identifier "__s_00") (+ "+") (identifier "uVar12")) (, ",") (number_literal "0x24") () ")")))) (, ",") (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      pcVar9 = strchr(pcVar8,0x2f);\n      sVar18 = strlen(__s_00);\n      if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }\n      bVar1 = pcVar8[1];\n      pcVar15 = pcVar8 + 1;\n      if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }\n      pbVar14 = (byte *)(pcVar15 + 1);\n      bVar20 = bVar1 < 0x4c;\n      bVar21 = bVar1 == 0x4c;\n      if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }\n      free(pcVar15);\n      __s_00 = pcVar8;\n    }" ({ "{") (expression_statement "pcVar9 = strchr(pcVar8,0x2f);" (assignment_expression "pcVar9 = strchr(pcVar8,0x2f)" (identifier "pcVar9") (= "=") (call_expression "strchr(pcVar8,0x2f)" (identifier "strchr") (argument_list "(pcVar8,0x2f)" (( "(") (identifier "pcVar8") (, ",") (number_literal "0x2f") () ")")))) (; ";")) (expression_statement "sVar18 = strlen(__s_00);" (assignment_expression "sVar18 = strlen(__s_00)" (identifier "sVar18") (= "=") (call_expression "strlen(__s_00)" (identifier "strlen") (argument_list "(__s_00)" (( "(") (identifier "__s_00") () ")")))) (; ";")) (if_statement "if (pcVar9 != (char *)0x0) {\n        *pcVar9 = '\0';\n      }" (if "if") (parenthesized_expression "(pcVar9 != (char *)0x0)" (( "(") (binary_expression "pcVar9 != (char *)0x0" (identifier "pcVar9") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        *pcVar9 = '\0';\n      }" ({ "{") (expression_statement "*pcVar9 = '\0';" (assignment_expression "*pcVar9 = '\0'" (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}"))) (expression_statement "bVar1 = pcVar8[1];" (assignment_expression "bVar1 = pcVar8[1]" (identifier "bVar1") (= "=") (subscript_expression "pcVar8[1]" (identifier "pcVar8") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "pcVar15 = pcVar8 + 1;" (assignment_expression "pcVar15 = pcVar8 + 1" (identifier "pcVar15") (= "=") (binary_expression "pcVar8 + 1" (identifier "pcVar8") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (bVar1 == 0x7b) {\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }" (if "if") (parenthesized_expression "(bVar1 == 0x7b)" (( "(") (binary_expression "bVar1 == 0x7b" (identifier "bVar1") (== "==") (number_literal "0x7b")) () ")")) (compound_statement "{\n        bVar1 = pcVar8[2];\n        pcVar15 = pcVar8 + 2;\n      }" ({ "{") (expression_statement "bVar1 = pcVar8[2];" (assignment_expression "bVar1 = pcVar8[2]" (identifier "bVar1") (= "=") (subscript_expression "pcVar8[2]" (identifier "pcVar8") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "pcVar15 = pcVar8 + 2;" (assignment_expression "pcVar15 = pcVar8 + 2" (identifier "pcVar15") (= "=") (binary_expression "pcVar8 + 2" (identifier "pcVar8") (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "pbVar14 = (byte *)(pcVar15 + 1);" (assignment_expression "pbVar14 = (byte *)(pcVar15 + 1)" (identifier "pbVar14") (= "=") (cast_expression "(byte *)(pcVar15 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar15 + 1)" (( "(") (binary_expression "pcVar15 + 1" (identifier "pcVar15") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "bVar20 = bVar1 < 0x4c;" (assignment_expression "bVar20 = bVar1 < 0x4c" (identifier "bVar20") (= "=") (binary_expression "bVar1 < 0x4c" (identifier "bVar1") (< "<") (number_literal "0x4c"))) (; ";")) (expression_statement "bVar21 = bVar1 == 0x4c;" (assignment_expression "bVar21 = bVar1 == 0x4c" (identifier "bVar21") (= "=") (binary_expression "bVar1 == 0x4c" (identifier "bVar1") (== "==") (number_literal "0x4c"))) (; ";")) (if_statement "if (bVar21) {\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }\n      else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }" (if "if") (parenthesized_expression "(bVar21)" (( "(") (identifier "bVar21") () ")")) (compound_statement "{\n        lVar11 = 3;\n        pbVar13 = pbVar14;\n        pbVar16 = (byte *)0x15d1f0;\n        do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);\n        bVar19 = false;\n        bVar20 = (!bVar20 && !bVar21) == bVar20;\n        if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }\n        sVar6 = 5;\n        pcVar15 = (char *)0x0;\n        __s_01 = "lib64";\nLAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;\n        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);\n        if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }\n        free(__s_00);\n      }" ({ "{") (expression_statement "lVar11 = 3;" (assignment_expression "lVar11 = 3" (identifier "lVar11") (= "=") (number_literal "3")) (; ";")) (expression_statement "pbVar13 = pbVar14;" (assignment_expression "pbVar13 = pbVar14" (identifier "pbVar13") (= "=") (identifier "pbVar14")) (; ";")) (expression_statement "pbVar16 = (byte *)0x15d1f0;" (assignment_expression "pbVar16 = (byte *)0x15d1f0" (identifier "pbVar16") (= "=") (cast_expression "(byte *)0x15d1f0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x15d1f0"))) (; ";")) (do_statement "do {\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        } while (bVar21);" (do "do") (compound_statement "{\n          if (lVar11 == 0) break;\n          lVar11 = lVar11 + -1;\n          bVar20 = *pbVar13 < *pbVar16;\n          bVar21 = *pbVar13 == *pbVar16;\n          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n        }" ({ "{") (if_statement "if (lVar11 == 0) break;" (if "if") (parenthesized_expression "(lVar11 == 0)" (( "(") (binary_expression "lVar11 == 0" (identifier "lVar11") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "lVar11 = lVar11 + -1;" (assignment_expression "lVar11 = lVar11 + -1" (identifier "lVar11") (= "=") (binary_expression "lVar11 + -1" (identifier "lVar11") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar20 = *pbVar13 < *pbVar16;" (assignment_expression "bVar20 = *pbVar13 < *pbVar16" (identifier "bVar20") (= "=") (binary_expression "*pbVar13 < *pbVar16" (pointer_expression "*pbVar13" (* "*") (identifier "pbVar13")) (< "<") (pointer_expression "*pbVar16" (* "*") (identifier "pbVar16")))) (; ";")) (expression_statement "bVar21 = *pbVar13 == *pbVar16;" (assignment_expression "bVar21 = *pbVar13 == *pbVar16" (identifier "bVar21") (= "=") (binary_expression "*pbVar13 == *pbVar16" (pointer_expression "*pbVar13" (* "*") (identifier "pbVar13")) (== "==") (pointer_expression "*pbVar16" (* "*") (identifier "pbVar16")))) (; ";")) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1" (identifier "pbVar13") (= "=") (binary_expression "pbVar13 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar22 * -2" (identifier "pbVar13") (+ "+") (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar22")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1" (identifier "pbVar16") (= "=") (binary_expression "pbVar16 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar16 + (ulong)bVar22 * -2" (identifier "pbVar16") (+ "+") (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar22")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar21)" (( "(") (identifier "bVar21") () ")")) (; ";")) (expression_statement "bVar19 = false;" (assignment_expression "bVar19 = false" (identifier "bVar19") (= "=") (false "false")) (; ";")) (expression_statement "bVar20 = (!bVar20 && !bVar21) == bVar20;" (assignment_expression "bVar20 = (!bVar20 && !bVar21) == bVar20" (identifier "bVar20") (= "=") (binary_expression "(!bVar20 && !bVar21) == bVar20" (parenthesized_expression "(!bVar20 && !bVar21)" (( "(") (binary_expression "!bVar20 && !bVar21" (unary_expression "!bVar20" (! "!") (identifier "bVar20")) (&& "&&") (unary_expression "!bVar21" (! "!") (identifier "bVar21"))) () ")")) (== "==") (identifier "bVar20"))) (; ";")) (if_statement "if (!bVar20) {\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }" (if "if") (parenthesized_expression "(!bVar20)" (( "(") (unary_expression "!bVar20" (! "!") (identifier "bVar20")) () ")")) (compound_statement "{\n          lVar11 = 4;\n          pbVar13 = &DAT_0019f947;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);\n          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n        }" ({ "{") (expression_statement "lVar11 = 4;" (assignment_expression "lVar11 = 4" (identifier "lVar11") (= "=") (number_literal "4")) (; ";")) (expression_statement "pbVar13 = &DAT_0019f947;" (assignment_expression "pbVar13 = &DAT_0019f947" (identifier "pbVar13") (= "=") (pointer_expression "&DAT_0019f947" (& "&") (identifier "DAT_0019f947"))) (; ";")) (do_statement "do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          } while (bVar20);" (do "do") (compound_statement "{\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar19 = *pbVar14 < *pbVar13;\n            bVar20 = *pbVar14 == *pbVar13;\n            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n          }" ({ "{") (if_statement "if (lVar11 == 0) break;" (if "if") (parenthesized_expression "(lVar11 == 0)" (( "(") (binary_expression "lVar11 == 0" (identifier "lVar11") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "lVar11 = lVar11 + -1;" (assignment_expression "lVar11 = lVar11 + -1" (identifier "lVar11") (= "=") (binary_expression "lVar11 + -1" (identifier "lVar11") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar19 = *pbVar14 < *pbVar13;" (assignment_expression "bVar19 = *pbVar14 < *pbVar13" (identifier "bVar19") (= "=") (binary_expression "*pbVar14 < *pbVar13" (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")) (< "<") (pointer_expression "*pbVar13" (* "*") (identifier "pbVar13")))) (; ";")) (expression_statement "bVar20 = *pbVar14 == *pbVar13;" (assignment_expression "bVar20 = *pbVar14 == *pbVar13" (identifier "bVar20") (= "=") (binary_expression "*pbVar14 == *pbVar13" (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")) (== "==") (pointer_expression "*pbVar13" (* "*") (identifier "pbVar13")))) (; ";")) (expression_statement "pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1" (identifier "pbVar14") (= "=") (binary_expression "pbVar14 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar14 + (ulong)bVar22 * -2" (identifier "pbVar14") (+ "+") (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar22")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1" (identifier "pbVar13") (= "=") (binary_expression "pbVar13 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar22 * -2" (identifier "pbVar13") (+ "+") (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar22")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar20)" (( "(") (identifier "bVar20") () ")")) (; ";")) (if_statement "if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;" (if "if") (parenthesized_expression "((!bVar19 && !bVar20) != 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")) () ")")) (goto_statement "goto LAB_0013fb2b;" (goto "goto") (statement_identifier "LAB_0013fb2b") (; ";"))) (} "}"))) (expression_statement "sVar6 = 5;" (assignment_expression "sVar6 = 5" (identifier "sVar6") (= "=") (number_literal "5")) (; ";")) (expression_statement "pcVar15 = (char *)0x0;" (assignment_expression "pcVar15 = (char *)0x0" (identifier "pcVar15") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "__s_01 = "lib64";" (assignment_expression "__s_01 = "lib64"" (identifier "__s_01") (= "=") (string_literal ""lib64"" (" """) (string_content "lib64") (" """))) (; ";")) (labeled_statement "LAB_0013fa65:\n        uVar17 = (long)pcVar8 - (long)__s_00;" (statement_identifier "LAB_0013fa65") (: ":") (expression_statement "uVar17 = (long)pcVar8 - (long)__s_00;" (assignment_expression "uVar17 = (long)pcVar8 - (long)__s_00" (identifier "uVar17") (= "=") (binary_expression "(long)pcVar8 - (long)__s_00" (cast_expression "(long)pcVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pcVar8")) (- "-") (cast_expression "(long)__s_00" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__s_00")))) (; ";"))) (expression_statement "pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);" (assignment_expression "pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6)" (identifier "pcVar8") (= "=") (cast_expression "(char *)xmalloc((sVar18 & 0xffffffff) + sVar6)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc((sVar18 & 0xffffffff) + sVar6)" (identifier "xmalloc") (argument_list "((sVar18 & 0xffffffff) + sVar6)" (( "(") (binary_expression "(sVar18 & 0xffffffff) + sVar6" (parenthesized_expression "(sVar18 & 0xffffffff)" (( "(") (binary_expression "sVar18 & 0xffffffff" (identifier "sVar18") (& "&") (number_literal "0xffffffff")) () ")")) (+ "+") (identifier "sVar6")) () ")"))))) (; ";")) (if_statement "if (pcVar9 == (char *)0x0) {\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }\n        else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }" (if "if") (parenthesized_expression "(pcVar9 == (char *)0x0)" (( "(") (binary_expression "pcVar9 == (char *)0x0" (identifier "pcVar9") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + (int)sVar18;\n        }" ({ "{") (expression_statement "sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);" (call_expression "sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01)" (identifier "sprintf") (argument_list "(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01)" (( "(") (identifier "pcVar8") (, ",") (string_literal ""%.*s%s"" (" """) (string_content "%.*s%s") (" """)) (, ",") (binary_expression "uVar17 & 0xffffffff" (identifier "uVar17") (& "&") (number_literal "0xffffffff")) (, ",") (identifier "__s_00") (, ",") (identifier "__s_01") () ")"))) (; ";")) (expression_statement "sVar18 = strlen(__s_01);" (assignment_expression "sVar18 = strlen(__s_01)" (identifier "sVar18") (= "=") (call_expression "strlen(__s_01)" (identifier "strlen") (argument_list "(__s_01)" (( "(") (identifier "__s_01") () ")")))) (; ";")) (expression_statement "uVar12 = (int)uVar17 + (int)sVar18;" (assignment_expression "uVar12 = (int)uVar17 + (int)sVar18" (identifier "uVar12") (= "=") (binary_expression "(int)uVar17 + (int)sVar18" (cast_expression "(int)uVar17" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar17")) (+ "+") (cast_expression "(int)sVar18" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar18")))) (; ";")) (} "}")) (else_clause "else {\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }" (else "else") (compound_statement "{\n          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);\n          sVar18 = strlen(__s_01);\n          uVar12 = (int)uVar17 + 1 + (int)sVar18;\n        }" ({ "{") (expression_statement "sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);" (call_expression "sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1)" (identifier "sprintf") (argument_list "(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1)" (( "(") (identifier "pcVar8") (, ",") (string_literal ""%.*s%s/%s"" (" """) (string_content "%.*s%s/%s") (" """)) (, ",") (binary_expression "uVar17 & 0xffffffff" (identifier "uVar17") (& "&") (number_literal "0xffffffff")) (, ",") (identifier "__s_00") (, ",") (identifier "__s_01") (, ",") (binary_expression "pcVar9 + 1" (identifier "pcVar9") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "sVar18 = strlen(__s_01);" (assignment_expression "sVar18 = strlen(__s_01)" (identifier "sVar18") (= "=") (call_expression "strlen(__s_01)" (identifier "strlen") (argument_list "(__s_01)" (( "(") (identifier "__s_01") () ")")))) (; ";")) (expression_statement "uVar12 = (int)uVar17 + 1 + (int)sVar18;" (assignment_expression "uVar12 = (int)uVar17 + 1 + (int)sVar18" (identifier "uVar12") (= "=") (binary_expression "(int)uVar17 + 1 + (int)sVar18" (binary_expression "(int)uVar17 + 1" (cast_expression "(int)uVar17" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar17")) (+ "+") (number_literal "1")) (+ "+") (cast_expression "(int)sVar18" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar18")))) (; ";")) (} "}")))) (expression_statement "free(__s_00);" (call_expression "free(__s_00)" (identifier "free") (argument_list "(__s_00)" (( "(") (identifier "__s_00") () ")"))) (; ";")) (} "}")) (else_clause "else {\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }" (else "else") (compound_statement "{\n        bVar20 = bVar1 < 0x4f;\n        bVar21 = bVar1 == 0x4f;\n        if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }\nLAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }\n        if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }\n        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;\n        pcVar15 = (char *)0x0;\n        pcVar8 = __s_00;\n      }" ({ "{") (expression_statement "bVar20 = bVar1 < 0x4f;" (assignment_expression "bVar20 = bVar1 < 0x4f" (identifier "bVar20") (= "=") (binary_expression "bVar1 < 0x4f" (identifier "bVar1") (< "<") (number_literal "0x4f"))) (; ";")) (expression_statement "bVar21 = bVar1 == 0x4f;" (assignment_expression "bVar21 = bVar1 == 0x4f" (identifier "bVar21") (= "=") (binary_expression "bVar1 == 0x4f" (identifier "bVar1") (== "==") (number_literal "0x4f"))) (; ";")) (if_statement "if (bVar21) {\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }" (if "if") (parenthesized_expression "(bVar21)" (( "(") (identifier "bVar21") () ")")) (compound_statement "{\n          lVar11 = 6;\n          pbVar13 = pbVar14;\n          pbVar16 = (byte *)0x15d4c6;\n          do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);\n          bVar19 = false;\n          bVar20 = (!bVar20 && !bVar21) == bVar20;\n          if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }\n          puVar4 = local_48;\n          if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }\n        }" ({ "{") (expression_statement "lVar11 = 6;" (assignment_expression "lVar11 = 6" (identifier "lVar11") (= "=") (number_literal "6")) (; ";")) (expression_statement "pbVar13 = pbVar14;" (assignment_expression "pbVar13 = pbVar14" (identifier "pbVar13") (= "=") (identifier "pbVar14")) (; ";")) (expression_statement "pbVar16 = (byte *)0x15d4c6;" (assignment_expression "pbVar16 = (byte *)0x15d4c6" (identifier "pbVar16") (= "=") (cast_expression "(byte *)0x15d4c6" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x15d4c6"))) (; ";")) (do_statement "do {\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          } while (bVar21);" (do "do") (compound_statement "{\n            if (lVar11 == 0) break;\n            lVar11 = lVar11 + -1;\n            bVar20 = *pbVar13 < *pbVar16;\n            bVar21 = *pbVar13 == *pbVar16;\n            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;\n          }" ({ "{") (if_statement "if (lVar11 == 0) break;" (if "if") (parenthesized_expression "(lVar11 == 0)" (( "(") (binary_expression "lVar11 == 0" (identifier "lVar11") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "lVar11 = lVar11 + -1;" (assignment_expression "lVar11 = lVar11 + -1" (identifier "lVar11") (= "=") (binary_expression "lVar11 + -1" (identifier "lVar11") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar20 = *pbVar13 < *pbVar16;" (assignment_expression "bVar20 = *pbVar13 < *pbVar16" (identifier "bVar20") (= "=") (binary_expression "*pbVar13 < *pbVar16" (pointer_expression "*pbVar13" (* "*") (identifier "pbVar13")) (< "<") (pointer_expression "*pbVar16" (* "*") (identifier "pbVar16")))) (; ";")) (expression_statement "bVar21 = *pbVar13 == *pbVar16;" (assignment_expression "bVar21 = *pbVar13 == *pbVar16" (identifier "bVar21") (= "=") (binary_expression "*pbVar13 == *pbVar16" (pointer_expression "*pbVar13" (* "*") (identifier "pbVar13")) (== "==") (pointer_expression "*pbVar16" (* "*") (identifier "pbVar16")))) (; ";")) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1" (identifier "pbVar13") (= "=") (binary_expression "pbVar13 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar22 * -2" (identifier "pbVar13") (+ "+") (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar22")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1" (identifier "pbVar16") (= "=") (binary_expression "pbVar16 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar16 + (ulong)bVar22 * -2" (identifier "pbVar16") (+ "+") (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar22")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar21)" (( "(") (identifier "bVar21") () ")")) (; ";")) (expression_statement "bVar19 = false;" (assignment_expression "bVar19 = false" (identifier "bVar19") (= "=") (false "false")) (; ";")) (expression_statement "bVar20 = (!bVar20 && !bVar21) == bVar20;" (assignment_expression "bVar20 = (!bVar20 && !bVar21) == bVar20" (identifier "bVar20") (= "=") (binary_expression "(!bVar20 && !bVar21) == bVar20" (parenthesized_expression "(!bVar20 && !bVar21)" (( "(") (binary_expression "!bVar20 && !bVar21" (unary_expression "!bVar20" (! "!") (identifier "bVar20")) (&& "&&") (unary_expression "!bVar21" (! "!") (identifier "bVar21"))) () ")")) (== "==") (identifier "bVar20"))) (; ";")) (if_statement "if (!bVar20) {\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }" (if "if") (parenthesized_expression "(!bVar20)" (( "(") (unary_expression "!bVar20" (! "!") (identifier "bVar20")) () ")")) (compound_statement "{\n            lVar11 = 7;\n            pbVar13 = &DAT_0019f940;\n            do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);\n            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;\n          }" ({ "{") (expression_statement "lVar11 = 7;" (assignment_expression "lVar11 = 7" (identifier "lVar11") (= "=") (number_literal "7")) (; ";")) (expression_statement "pbVar13 = &DAT_0019f940;" (assignment_expression "pbVar13 = &DAT_0019f940" (identifier "pbVar13") (= "=") (pointer_expression "&DAT_0019f940" (& "&") (identifier "DAT_0019f940"))) (; ";")) (do_statement "do {\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            } while (bVar20);" (do "do") (compound_statement "{\n              if (lVar11 == 0) break;\n              lVar11 = lVar11 + -1;\n              bVar19 = *pbVar14 < *pbVar13;\n              bVar20 = *pbVar14 == *pbVar13;\n              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;\n              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;\n            }" ({ "{") (if_statement "if (lVar11 == 0) break;" (if "if") (parenthesized_expression "(lVar11 == 0)" (( "(") (binary_expression "lVar11 == 0" (identifier "lVar11") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "lVar11 = lVar11 + -1;" (assignment_expression "lVar11 = lVar11 + -1" (identifier "lVar11") (= "=") (binary_expression "lVar11 + -1" (identifier "lVar11") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar19 = *pbVar14 < *pbVar13;" (assignment_expression "bVar19 = *pbVar14 < *pbVar13" (identifier "bVar19") (= "=") (binary_expression "*pbVar14 < *pbVar13" (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")) (< "<") (pointer_expression "*pbVar13" (* "*") (identifier "pbVar13")))) (; ";")) (expression_statement "bVar20 = *pbVar14 == *pbVar13;" (assignment_expression "bVar20 = *pbVar14 == *pbVar13" (identifier "bVar20") (= "=") (binary_expression "*pbVar14 == *pbVar13" (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")) (== "==") (pointer_expression "*pbVar13" (* "*") (identifier "pbVar13")))) (; ";")) (expression_statement "pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1" (identifier "pbVar14") (= "=") (binary_expression "pbVar14 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar14 + (ulong)bVar22 * -2" (identifier "pbVar14") (+ "+") (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar22")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1" (identifier "pbVar13") (= "=") (binary_expression "pbVar13 + (ulong)bVar22 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar22 * -2" (identifier "pbVar13") (+ "+") (binary_expression "(ulong)bVar22 * -2" (cast_expression "(ulong)bVar22" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar22")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar20)" (( "(") (identifier "bVar20") () ")")) (; ";")) (if_statement "if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;" (if "if") (parenthesized_expression "((!bVar19 && !bVar20) != 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")) () ")")) (goto_statement "goto LAB_0013fb2b;" (goto "goto") (statement_identifier "LAB_0013fb2b") (; ";"))) (} "}"))) (expression_statement "puVar4 = local_48;" (assignment_expression "puVar4 = local_48" (identifier "puVar4") (= "=") (identifier "local_48")) (; ";")) (if_statement "if (((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }" (if "if") (parenthesized_expression "(((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0))" (( "(") (binary_expression "((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&\n             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)" (parenthesized_expression "((local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0))" (( "(") (binary_expression "(local_48 != (undefined8 *)0x0) ||\n              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)" (parenthesized_expression "(local_48 != (undefined8 *)0x0)" (( "(") (binary_expression "local_48 != (undefined8 *)0x0" (identifier "local_48") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)" (( "(") (comma_expression "puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0" (assignment_expression "puVar4 = DAT_002b5f90" (identifier "puVar4") (= "=") (identifier "DAT_002b5f90")) (, ",") (binary_expression "DAT_002b5f90 != (undefined8 *)0x0" (identifier "DAT_002b5f90") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)" (( "(") (comma_expression "pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0" (assignment_expression "pcVar15 = (char *)*puVar4" (identifier "pcVar15") (= "=") (cast_expression "(char *)*puVar4" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (, ",") (binary_expression "pcVar15 != (char *)0x0" (identifier "pcVar15") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n            if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }\n            pcVar5 = strrchr(__s_01,0x2f);\n            pcVar15 = __s_01;\n            if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }\n            goto LAB_0013fa65;\n          }" ({ "{") (if_statement "if (*pcVar15 == '/') {\n              __s_01 = (char *)xstrdup(pcVar15);\n            }\n            else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }" (if "if") (parenthesized_expression "(*pcVar15 == '/')" (( "(") (binary_expression "*pcVar15 == '/'" (pointer_expression "*pcVar15" (* "*") (identifier "pcVar15")) (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (compound_statement "{\n              __s_01 = (char *)xstrdup(pcVar15);\n            }" ({ "{") (expression_statement "__s_01 = (char *)xstrdup(pcVar15);" (assignment_expression "__s_01 = (char *)xstrdup(pcVar15)" (identifier "__s_01") (= "=") (cast_expression "(char *)xstrdup(pcVar15)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xstrdup(pcVar15)" (identifier "xstrdup") (argument_list "(pcVar15)" (( "(") (identifier "pcVar15") () ")"))))) (; ";")) (} "}")) (else_clause "else {\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }" (else "else") (compound_statement "{\n              pcVar5 = (char *)getpwd();\n              sVar6 = strlen(pcVar15);\n              sVar7 = strlen(pcVar5);\n              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);\n              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);\n            }" ({ "{") (expression_statement "pcVar5 = (char *)getpwd();" (assignment_expression "pcVar5 = (char *)getpwd()" (identifier "pcVar5") (= "=") (cast_expression "(char *)getpwd()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "getpwd()" (identifier "getpwd") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "sVar6 = strlen(pcVar15);" (assignment_expression "sVar6 = strlen(pcVar15)" (identifier "sVar6") (= "=") (call_expression "strlen(pcVar15)" (identifier "strlen") (argument_list "(pcVar15)" (( "(") (identifier "pcVar15") () ")")))) (; ";")) (expression_statement "sVar7 = strlen(pcVar5);" (assignment_expression "sVar7 = strlen(pcVar5)" (identifier "sVar7") (= "=") (call_expression "strlen(pcVar5)" (identifier "strlen") (argument_list "(pcVar5)" (( "(") (identifier "pcVar5") () ")")))) (; ";")) (expression_statement "__s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);" (assignment_expression "__s_01 = (char *)xmalloc(sVar6 + 2 + sVar7)" (identifier "__s_01") (= "=") (cast_expression "(char *)xmalloc(sVar6 + 2 + sVar7)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar6 + 2 + sVar7)" (identifier "xmalloc") (argument_list "(sVar6 + 2 + sVar7)" (( "(") (binary_expression "sVar6 + 2 + sVar7" (binary_expression "sVar6 + 2" (identifier "sVar6") (+ "+") (number_literal "2")) (+ "+") (identifier "sVar7")) () ")"))))) (; ";")) (expression_statement "sprintf(__s_01,"%s/%s",pcVar5,pcVar15);" (call_expression "sprintf(__s_01,"%s/%s",pcVar5,pcVar15)" (identifier "sprintf") (argument_list "(__s_01,"%s/%s",pcVar5,pcVar15)" (( "(") (identifier "__s_01") (, ",") (string_literal ""%s/%s"" (" """) (string_content "%s/%s") (" """)) (, ",") (identifier "pcVar5") (, ",") (identifier "pcVar15") () ")"))) (; ";")) (} "}")))) (expression_statement "pcVar5 = strrchr(__s_01,0x2f);" (assignment_expression "pcVar5 = strrchr(__s_01,0x2f)" (identifier "pcVar5") (= "=") (call_expression "strrchr(__s_01,0x2f)" (identifier "strrchr") (argument_list "(__s_01,0x2f)" (( "(") (identifier "__s_01") (, ",") (number_literal "0x2f") () ")")))) (; ";")) (expression_statement "pcVar15 = __s_01;" (assignment_expression "pcVar15 = __s_01" (identifier "pcVar15") (= "=") (identifier "__s_01")) (; ";")) (if_statement "if (pcVar5 == (char *)0x0) {\n              sVar6 = strlen(__s_01);\n            }\n            else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }" (if "if") (parenthesized_expression "(pcVar5 == (char *)0x0)" (( "(") (binary_expression "pcVar5 == (char *)0x0" (identifier "pcVar5") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n              sVar6 = strlen(__s_01);\n            }" ({ "{") (expression_statement "sVar6 = strlen(__s_01);" (assignment_expression "sVar6 = strlen(__s_01)" (identifier "sVar6") (= "=") (call_expression "strlen(__s_01)" (identifier "strlen") (argument_list "(__s_01)" (( "(") (identifier "__s_01") () ")")))) (; ";")) (} "}")) (else_clause "else {\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }" (else "else") (compound_statement "{\n              *pcVar5 = '\0';\n              sVar6 = strlen(__s_01);\n            }" ({ "{") (expression_statement "*pcVar5 = '\0';" (assignment_expression "*pcVar5 = '\0'" (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "sVar6 = strlen(__s_01);" (assignment_expression "sVar6 = strlen(__s_01)" (identifier "sVar6") (= "=") (call_expression "strlen(__s_01)" (identifier "strlen") (argument_list "(__s_01)" (( "(") (identifier "__s_01") () ")")))) (; ";")) (} "}")))) (goto_statement "goto LAB_0013fa65;" (goto "goto") (statement_identifier "LAB_0013fa65") (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_0013fb2b:\n        if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }" (statement_identifier "LAB_0013fb2b") (: ":") (if_statement "if (DAT_002b6158 != 0) {\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\n        }" (if "if") (parenthesized_expression "(DAT_002b6158 != 0)" (( "(") (binary_expression "DAT_002b6158 != 0" (identifier "DAT_002b6158") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);\n          FUN_001292e0(uVar10,pcVar8);\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_001292e0(uVar10,pcVar8);" (call_expression "FUN_001292e0(uVar10,pcVar8)" (identifier "FUN_001292e0") (argument_list "(uVar10,pcVar8)" (( "(") (identifier "uVar10") (, ",") (identifier "pcVar8") () ")"))) (; ";")) (} "}")))) (if_statement "if (pcVar9 != (char *)0x0) {\n          *pcVar9 = '/';\n        }" (if "if") (parenthesized_expression "(pcVar9 != (char *)0x0)" (( "(") (binary_expression "pcVar9 != (char *)0x0" (identifier "pcVar9") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          *pcVar9 = '/';\n        }" ({ "{") (expression_statement "*pcVar9 = '/';" (assignment_expression "*pcVar9 = '/'" (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) (= "=") (char_literal "'/'" (' "'") (character "/") (' "'"))) (; ";")) (} "}"))) (expression_statement "uVar12 = (int)(pcVar8 + 1) - (int)__s_00;" (assignment_expression "uVar12 = (int)(pcVar8 + 1) - (int)__s_00" (identifier "uVar12") (= "=") (binary_expression "(int)(pcVar8 + 1) - (int)__s_00" (cast_expression "(int)(pcVar8 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(pcVar8 + 1)" (( "(") (binary_expression "pcVar8 + 1" (identifier "pcVar8") (+ "+") (number_literal "1")) () ")"))) (- "-") (cast_expression "(int)__s_00" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__s_00")))) (; ";")) (expression_statement "pcVar15 = (char *)0x0;" (assignment_expression "pcVar15 = (char *)0x0" (identifier "pcVar15") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "pcVar8 = __s_00;" (assignment_expression "pcVar8 = __s_00" (identifier "pcVar8") (= "=") (identifier "__s_00")) (; ";")) (} "}")))) (expression_statement "free(pcVar15);" (call_expression "free(pcVar15)" (identifier "free") (argument_list "(pcVar15)" (( "(") (identifier "pcVar15") () ")"))) (; ";")) (expression_statement "__s_00 = pcVar8;" (assignment_expression "__s_00 = pcVar8" (identifier "__s_00") (= "=") (identifier "pcVar8")) (; ";")) (} "}"))) (expression_statement "local_40 = __s_00;" (assignment_expression "local_40 = __s_00" (identifier "local_40") (= "=") (identifier "__s_00")) (; ";")) (expression_statement "iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);" (assignment_expression "iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3)" (identifier "iVar2") (= "=") (call_expression "FUN_0013f5c0(&local_48,__s_00,param_3)" (identifier "FUN_0013f5c0") (argument_list "(&local_48,__s_00,param_3)" (( "(") (pointer_expression "&local_48" (& "&") (identifier "local_48")) (, ",") (identifier "__s_00") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "free(__s_00);" (call_expression "free(__s_00)" (identifier "free") (argument_list "(__s_00)" (( "(") (identifier "__s_00") () ")"))) (; ";")) (if_statement "if (*local_78 == '\0') {\n      return 0;\n    }" (if "if") (parenthesized_expression "(*local_78 == '\0')" (( "(") (binary_expression "*local_78 == '\0'" (pointer_expression "*local_78" (* "*") (identifier "local_78")) (== "==") (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_78 + 1;" (assignment_expression "param_1 = local_78 + 1" (identifier "param_1") (= "=") (binary_expression "local_78 + 1" (identifier "local_78") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

type_1 function_1(char *var_3,type_2 *n,int force)

{
  char *__s;
  type_3 var_16;
  type_1 var_36;
  size_t var_9;
  char *var_11;
  type_4 *pbVar4;
  char *var_32;
  size_t var_24;
  size_t var_30;
  char *__s_01;
  char *var_14;
  char *var_15;
  char *var_17;
  long var_18;
  type_5 in_register_00000014;
  type_6 var_13;
  type_3 *var_19;
  type_3 *var_22;
  type_3 *var_20;
  type_7 var_26;
  size_t var_7;
  bool var_23;
  bool var_21;
  bool bVar20;
  type_3 bVar21;
  char *var_6;
  type_2 needed;
  
  bVar21 = 0;
  __s = n->name;
  if (*__s == '/') {
    var_36 = var_1(n,(int)__s,(type_2 *)var_2(in_register_00000014,force));
    return var_36;
  }
  if ((var_3 == (char *)0x0) || (*var_3 == '\0')) {
    return 0;
  }
  needed.by = n->by;
  needed.name = __s;
  var_9 = var_4(__s);
  do {
    var_6 = var_5(var_3,(int)config.rpath_separator);
    if (var_6 == (char *)0x0) {
      var_7 = var_4(var_3);
      var_6 = var_3 + var_7;
    }
    var_7 = (long)var_6 - (long)var_3;
    var_11 = (char *)var_8(var_7 + var_9 + 2);
    var_14 = var_11;
    if (var_3 != var_6) {
      var_10(var_11,var_3,var_7);
      var_11[var_7] = '/';
      var_14 = var_11 + var_7 + 1;
    }
    var_13 = 0;
    var_12(var_14,__s);
    while( true ) {
      var_14 = var_5(var_11 + var_13,0x24);
      if (var_14 == (char *)0x0) break;
      var_15 = var_5(var_14,0x2f);
      var_7 = var_4(var_11);
      if (var_15 != (char *)0x0) {
        *var_15 = '\0';
      }
      var_16 = var_14[1];
      var_17 = var_14 + 1;
      if (var_16 == 0x7b) {
        var_16 = var_14[2];
        var_17 = var_14 + 2;
      }
      var_22 = (type_3 *)(var_17 + 1);
      var_21 = var_16 < 0x4c;
      bVar20 = var_16 == 0x4c;
      if (bVar20) {
        var_18 = 3;
        var_19 = var_22;
        var_20 = (type_3 *)0x15d1f0;
        do {
          if (var_18 == 0) break;
          var_18 = var_18 + -1;
          var_21 = *var_19 < *var_20;
          bVar20 = *var_19 == *var_20;
          var_19 = var_19 + (type_7)bVar21 * -2 + 1;
          var_20 = var_20 + (type_7)bVar21 * -2 + 1;
        } while (bVar20);
        var_23 = false;
        var_21 = (!var_21 && !bVar20) == var_21;
        if (!var_21) {
          var_18 = 4;
          var_19 = &DAT_0019f947;
          do {
            if (var_18 == 0) break;
            var_18 = var_18 + -1;
            var_23 = *var_22 < *var_19;
            var_21 = *var_22 == *var_19;
            var_22 = var_22 + (type_7)bVar21 * -2 + 1;
            var_19 = var_19 + (type_7)bVar21 * -2 + 1;
          } while (var_21);
          if ((!var_23 && !var_21) != var_23) goto LAB_0013fb2b;
        }
        var_24 = 5;
        var_17 = (char *)0x0;
        __s_01 = "lib64";
LAB_0013fa65:
        var_26 = (long)var_14 - (long)var_11;
        var_14 = (char *)var_8((var_7 & 0xffffffff) + var_24);
        if (var_15 == (char *)0x0) {
          var_25(var_14,"%.*s%s",var_26 & 0xffffffff,var_11,__s_01);
          var_7 = var_4(__s_01);
          var_13 = (int)var_26 + (int)var_7;
        }
        else {
          var_25(var_14,"%.*s%s/%s",var_26 & 0xffffffff,var_11,__s_01,var_15 + 1);
          var_7 = var_4(__s_01);
          var_13 = (int)var_26 + 1 + (int)var_7;
        }
        var_27(var_11);
      }
      else {
        var_21 = var_16 < 0x4f;
        bVar20 = var_16 == 0x4f;
        if (bVar20) {
          var_18 = 6;
          var_19 = var_22;
          var_20 = (type_3 *)0x15d4c6;
          do {
            if (var_18 == 0) break;
            var_18 = var_18 + -1;
            var_21 = *var_19 < *var_20;
            bVar20 = *var_19 == *var_20;
            var_19 = var_19 + (type_7)bVar21 * -2 + 1;
            var_20 = var_20 + (type_7)bVar21 * -2 + 1;
          } while (bVar20);
          var_23 = false;
          var_21 = (!var_21 && !bVar20) == var_21;
          if (!var_21) {
            var_18 = 7;
            var_19 = &DAT_0019f940;
            do {
              if (var_18 == 0) break;
              var_18 = var_18 + -1;
              var_23 = *var_22 < *var_19;
              var_21 = *var_22 == *var_19;
              var_22 = var_22 + (type_7)bVar21 * -2 + 1;
              var_19 = var_19 + (type_7)bVar21 * -2 + 1;
            } while (var_21);
            if ((!var_23 && !var_21) != var_23) goto LAB_0013fb2b;
          }
          pbVar4 = needed.by;
          if (((needed.by != (type_4 *)0x0) ||
              (pbVar4 = link_info.output_bfd, link_info.output_bfd != (type_4 *)0x0)) &&
             (var_17 = pbVar4->filename, var_17 != (char *)0x0)) {
            if (*var_17 == '/') {
              __s_01 = (char *)var_28(var_17);
            }
            else {
              var_32 = (char *)var_29();
              var_24 = var_4(var_17);
              var_30 = var_4(var_32);
              __s_01 = (char *)var_8(var_24 + 2 + var_30);
              var_25(__s_01,"%s/%s",var_32,var_17);
            }
            var_32 = var_31(__s_01,0x2f);
            var_17 = __s_01;
            if (var_32 == (char *)0x0) {
              var_24 = var_4(__s_01);
            }
            else {
              *var_32 = '\0';
              var_24 = var_4(__s_01);
            }
            goto LAB_0013fa65;
          }
        }
LAB_0013fb2b:
        if (var_33 != 0) {
          var_17 = (char *)var_34(0,"unrecognised or unsupported token \'%s\' in search path\n",
                                      5);
          var_35(var_17,var_14);
        }
        if (var_15 != (char *)0x0) {
          *var_15 = '/';
        }
        var_13 = (int)(var_14 + 1) - (int)var_11;
        var_17 = (char *)0x0;
        var_14 = var_11;
      }
      var_27(var_17);
      var_11 = var_14;
    }
    needed.name = var_11;
    var_36 = var_1(&needed,(int)var_11,(type_2 *)(type_7)(type_6)force);
    if (var_36 != 0) {
      return 1;
    }
    var_27(var_11);
    if (*var_6 == '\0') {
      return 0;
    }
    var_3 = var_6 + 1;
  } while( true );
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) 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: (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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) 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: (primitive_type) 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: (type_identifier) 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 (identifier) (identifier))))) (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: (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: (sized_type_specifier)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) 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: (identifier)) right: (number_literal))))))) (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: (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: (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: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) 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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (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)) (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier)))) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (binary_expression left: (identifier) right: (number_literal)) (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: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (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: (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: (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))))) (expression_statement (assignment_expression left: (identifier) right: (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)))))) alternative: (else_clause (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)))))))) (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: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) 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: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier))))) (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))))))

undefined8 MASKED(char *param_1,undefined8 *param_2,undefined4 param_3)

{
  char *__s;
  byte bVar1;
  int iVar2;
  size_t sVar3;
  char *__s_00;
  undefined8 *puVar4;
  char *pcVar5;
  size_t sVar6;
  size_t sVar7;
  char *__s_01;
  char *pcVar8;
  char *pcVar9;
  undefined8 uVar10;
  long lVar11;
  uint uVar12;
  byte *pbVar13;
  byte *pbVar14;
  char *pcVar15;
  byte *pbVar16;
  ulong uVar17;
  size_t sVar18;
  bool bVar19;
  bool bVar20;
  bool bVar21;
  byte bVar22;
  char *local_78;
  undefined8 *local_48;
  char *local_40;
  
  bVar22 = 0;
  __s = (char *)param_2[1];
  if (*__s == '/') {
    uVar10 = FUN_0013f5c0(param_2,__s);
    return uVar10;
  }
  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {
    return 0;
  }
  local_48 = (undefined8 *)*param_2;
  local_40 = __s;
  sVar3 = strlen(__s);
  do {
    local_78 = strchr(param_1,(int)DAT_002b6108);
    if (local_78 == (char *)0x0) {
      sVar18 = strlen(param_1);
      local_78 = param_1 + sVar18;
    }
    sVar18 = (long)local_78 - (long)param_1;
    __s_00 = (char *)xmalloc(sVar18 + sVar3 + 2);
    pcVar8 = __s_00;
    if (param_1 != local_78) {
      memcpy(__s_00,param_1,sVar18);
      __s_00[sVar18] = '/';
      pcVar8 = __s_00 + sVar18 + 1;
    }
    uVar12 = 0;
    strcpy(pcVar8,__s);
    while (pcVar8 = strchr(__s_00 + uVar12,0x24), pcVar8 != (char *)0x0) {
      pcVar9 = strchr(pcVar8,0x2f);
      sVar18 = strlen(__s_00);
      if (pcVar9 != (char *)0x0) {
        *pcVar9 = '\0';
      }
      bVar1 = pcVar8[1];
      pcVar15 = pcVar8 + 1;
      if (bVar1 == 0x7b) {
        bVar1 = pcVar8[2];
        pcVar15 = pcVar8 + 2;
      }
      pbVar14 = (byte *)(pcVar15 + 1);
      bVar20 = bVar1 < 0x4c;
      bVar21 = bVar1 == 0x4c;
      if (bVar21) {
        lVar11 = 3;
        pbVar13 = pbVar14;
        pbVar16 = (byte *)0x15d1f0;
        do {
          if (lVar11 == 0) break;
          lVar11 = lVar11 + -1;
          bVar20 = *pbVar13 < *pbVar16;
          bVar21 = *pbVar13 == *pbVar16;
          pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;
          pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;
        } while (bVar21);
        bVar19 = false;
        bVar20 = (!bVar20 && !bVar21) == bVar20;
        if (!bVar20) {
          lVar11 = 4;
          pbVar13 = &DAT_0019f947;
          do {
            if (lVar11 == 0) break;
            lVar11 = lVar11 + -1;
            bVar19 = *pbVar14 < *pbVar13;
            bVar20 = *pbVar14 == *pbVar13;
            pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;
            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;
          } while (bVar20);
          if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;
        }
        sVar6 = 5;
        pcVar15 = (char *)0x0;
        __s_01 = "lib64";
LAB_0013fa65:
        uVar17 = (long)pcVar8 - (long)__s_00;
        pcVar8 = (char *)xmalloc((sVar18 & 0xffffffff) + sVar6);
        if (pcVar9 == (char *)0x0) {
          sprintf(pcVar8,"%.*s%s",uVar17 & 0xffffffff,__s_00,__s_01);
          sVar18 = strlen(__s_01);
          uVar12 = (int)uVar17 + (int)sVar18;
        }
        else {
          sprintf(pcVar8,"%.*s%s/%s",uVar17 & 0xffffffff,__s_00,__s_01,pcVar9 + 1);
          sVar18 = strlen(__s_01);
          uVar12 = (int)uVar17 + 1 + (int)sVar18;
        }
        free(__s_00);
      }
      else {
        bVar20 = bVar1 < 0x4f;
        bVar21 = bVar1 == 0x4f;
        if (bVar21) {
          lVar11 = 6;
          pbVar13 = pbVar14;
          pbVar16 = (byte *)0x15d4c6;
          do {
            if (lVar11 == 0) break;
            lVar11 = lVar11 + -1;
            bVar20 = *pbVar13 < *pbVar16;
            bVar21 = *pbVar13 == *pbVar16;
            pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;
            pbVar16 = pbVar16 + (ulong)bVar22 * -2 + 1;
          } while (bVar21);
          bVar19 = false;
          bVar20 = (!bVar20 && !bVar21) == bVar20;
          if (!bVar20) {
            lVar11 = 7;
            pbVar13 = &DAT_0019f940;
            do {
              if (lVar11 == 0) break;
              lVar11 = lVar11 + -1;
              bVar19 = *pbVar14 < *pbVar13;
              bVar20 = *pbVar14 == *pbVar13;
              pbVar14 = pbVar14 + (ulong)bVar22 * -2 + 1;
              pbVar13 = pbVar13 + (ulong)bVar22 * -2 + 1;
            } while (bVar20);
            if ((!bVar19 && !bVar20) != bVar19) goto LAB_0013fb2b;
          }
          puVar4 = local_48;
          if (((local_48 != (undefined8 *)0x0) ||
              (puVar4 = DAT_002b5f90, DAT_002b5f90 != (undefined8 *)0x0)) &&
             (pcVar15 = (char *)*puVar4, pcVar15 != (char *)0x0)) {
            if (*pcVar15 == '/') {
              __s_01 = (char *)xstrdup(pcVar15);
            }
            else {
              pcVar5 = (char *)getpwd();
              sVar6 = strlen(pcVar15);
              sVar7 = strlen(pcVar5);
              __s_01 = (char *)xmalloc(sVar6 + 2 + sVar7);
              sprintf(__s_01,"%s/%s",pcVar5,pcVar15);
            }
            pcVar5 = strrchr(__s_01,0x2f);
            pcVar15 = __s_01;
            if (pcVar5 == (char *)0x0) {
              sVar6 = strlen(__s_01);
            }
            else {
              *pcVar5 = '\0';
              sVar6 = strlen(__s_01);
            }
            goto LAB_0013fa65;
          }
        }
LAB_0013fb2b:
        if (DAT_002b6158 != 0) {
          uVar10 = dcgettext(0,"unrecognised or unsupported token \'%s\' in search path\n",5);
          FUN_001292e0(uVar10,pcVar8);
        }
        if (pcVar9 != (char *)0x0) {
          *pcVar9 = '/';
        }
        uVar12 = (int)(pcVar8 + 1) - (int)__s_00;
        pcVar15 = (char *)0x0;
        pcVar8 = __s_00;
      }
      free(pcVar15);
      __s_00 = pcVar8;
    }
    local_40 = __s_00;
    iVar2 = FUN_0013f5c0(&local_48,__s_00,param_3);
    if (iVar2 != 0) {
      return 1;
    }
    free(__s_00);
    if (*local_78 == '\0') {
      return 0;
    }
    param_1 = local_78 + 1;
  } while( true );
}

