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

bool __thiscall
elfcpp::Elf_recognizer::is_valid_header
          (Elf_recognizer *this,uchar *ehdr_buf,off_t bufsize,int *size,bool *big_endian,
          string *error)

{
  char *pcVar1;
  size_t sVar2;
  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
  *__dest;
  uint *puVar3;
  uint *puVar4;
  uint uVar5;
  uint uVar6;
  bool bVar7;
  size_type local_144;
  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_134;
  char buf [256];
  
  if (-(int)bufsize < (int)(uint)((uchar *)0xf < ehdr_buf)) {
    uVar5 = (uint)(byte)this[6];
    if (uVar5 == 1) {
      uVar5 = (uint)(byte)this[4];
      if (uVar5 == 0) {
        pcVar1 = "invalid ELF class 0";
        goto LAB_0004d221;
      }
      if (uVar5 - 1 < 2) {
        uVar6 = (uint)(byte)this[5];
        if (uVar6 == 0) {
          pcVar1 = "invalid ELF data encoding";
          goto LAB_0004d221;
        }
        if (uVar6 - 1 < 2) {
          *(bool *)size = uVar6 == 2;
          if (uVar5 == 1) {
            if (-(int)bufsize < (int)(uint)((uchar *)0x33 < ehdr_buf)) {
              *bufsize._4_4_ = 0x20;
              return true;
            }
          }
          else if (-(int)bufsize < (int)(uint)((uchar *)0x3f < ehdr_buf)) {
            *bufsize._4_4_ = 0x40;
            return true;
          }
          goto LAB_0004d218;
        }
        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");
        snprintf(buf,0x100,pcVar1,uVar6);
        puVar4 = (uint *)buf;
        do {
          puVar3 = puVar4;
          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;
          uVar5 = uVar6 & 0x80808080;
          puVar4 = puVar3 + 1;
        } while (uVar5 == 0);
        bVar7 = (uVar6 & 0x8080) == 0;
        if (bVar7) {
          uVar5 = uVar5 >> 0x10;
        }
        if (bVar7) {
          puVar4 = (uint *)((int)puVar3 + 6);
        }
        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;
        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
        _M_construct<char_const*>
                  (&local_134,buf,
                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);
        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                   **)big_endian;
        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
             *)local_134._M_dataplus._M_p != &local_134.field_2) {
          if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                         *)(big_endian + 8)) {
            *(pointer *)big_endian = local_134._M_dataplus._M_p;
            *(size_type *)(big_endian + 4) = local_134._M_string_length;
            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;
          }
          else {
            local_144 = *(size_type *)(big_endian + 8);
            *(pointer *)big_endian = local_134._M_dataplus._M_p;
            *(size_type *)(big_endian + 4) = local_134._M_string_length;
            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;
            if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                           *)0x0) goto LAB_0004d1d6;
          }
          goto LAB_0004d362;
        }
      }
      else {
        pcVar1 = (char *)gettext("unsupported ELF class %d");
        snprintf(buf,0x100,pcVar1,uVar5);
        puVar4 = (uint *)buf;
        do {
          puVar3 = puVar4;
          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;
          uVar5 = uVar6 & 0x80808080;
          puVar4 = puVar3 + 1;
        } while (uVar5 == 0);
        bVar7 = (uVar6 & 0x8080) == 0;
        if (bVar7) {
          uVar5 = uVar5 >> 0x10;
        }
        if (bVar7) {
          puVar4 = (uint *)((int)puVar3 + 6);
        }
        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;
        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
        _M_construct<char_const*>
                  (&local_134,buf,
                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);
        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                   **)big_endian;
        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
             *)local_134._M_dataplus._M_p != &local_134.field_2) {
          if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                         *)(big_endian + 8)) goto LAB_0004d1b1;
LAB_0004d351:
          *(pointer *)big_endian = local_134._M_dataplus._M_p;
          *(size_type *)(big_endian + 4) = local_134._M_string_length;
          *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;
LAB_0004d362:
          local_134._M_dataplus._M_p = (pointer)&local_134.field_2;
          goto LAB_0004d1e8;
        }
      }
LAB_0004d260:
      if (local_134._M_string_length != 0) {
        if (local_134._M_string_length == 1) {
          __dest->_M_local_buf[0] = local_134.field_2._M_local_buf[0];
          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                     **)big_endian;
        }
        else {
          memcpy(__dest,&local_134.field_2,local_134._M_string_length);
          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                     **)big_endian;
        }
      }
      *(size_type *)(big_endian + 4) = local_134._M_string_length;
      __dest->_M_local_buf[local_134._M_string_length] = '\0';
    }
    else {
      if (uVar5 == 0) {
        pcVar1 = "invalid ELF version 0";
        goto LAB_0004d221;
      }
      pcVar1 = (char *)gettext("unsupported ELF version %d");
      snprintf(buf,0x100,pcVar1,uVar5);
      puVar4 = (uint *)buf;
      do {
        puVar3 = puVar4;
        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;
        uVar5 = uVar6 & 0x80808080;
        puVar4 = puVar3 + 1;
      } while (uVar5 == 0);
      bVar7 = (uVar6 & 0x8080) == 0;
      if (bVar7) {
        uVar5 = uVar5 >> 0x10;
      }
      if (bVar7) {
        puVar4 = (uint *)((int)puVar3 + 6);
      }
      local_134._M_dataplus._M_p = (pointer)&local_134.field_2;
      std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
      _M_construct<char_const*>
                (&local_134,buf,(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))
                 ,0);
      __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                 **)big_endian;
      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
           *)local_134._M_dataplus._M_p == &local_134.field_2) goto LAB_0004d260;
      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                     *)(big_endian + 8)) goto LAB_0004d351;
LAB_0004d1b1:
      local_144 = *(size_type *)(big_endian + 8);
      *(size_type *)(big_endian + 4) = local_134._M_string_length;
      *(pointer *)big_endian = local_134._M_dataplus._M_p;
      *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;
      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                     *)0x0) goto LAB_0004d362;
LAB_0004d1d6:
      local_134.field_2._M_allocated_capacity = local_144;
      local_134._M_dataplus._M_p = (pointer)__dest;
    }
LAB_0004d1e8:
    local_134._M_string_length = 0;
    *local_134._M_dataplus._M_p = '\0';
    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
         *)local_134._M_dataplus._M_p != &local_134.field_2) {
      operator_delete(local_134._M_dataplus._M_p);
    }
  }
  else {
LAB_0004d218:
    pcVar1 = "ELF file too short";
LAB_0004d221:
    pcVar1 = (char *)gettext(pcVar1);
    sVar2 = strlen(pcVar1);
    std::string::_M_replace((string *)big_endian,0,*(uint *)(big_endian + 4),pcVar1,sVar2);
  }
  return false;
}



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

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

{
  char *pcVar1;
  size_t sVar2;
  undefined4 *__dest;
  uint *puVar3;
  uint *puVar4;
  uint uVar5;
  uint uVar6;
  bool bVar7;
  undefined4 local_144;
  undefined4 *local_134;
  size_t local_130;
  undefined4 local_12c [4];
  uint local_11c [66];
  undefined4 uStack_14;
  
  uStack_14 = 0x4d065;
  if (-param_3 < (int)(uint)(0xf < param_2)) {
    uVar5 = (uint)*(byte *)(param_1 + 6);
    if (uVar5 == 1) {
      uVar5 = (uint)*(byte *)(param_1 + 4);
      if (uVar5 == 0) {
        pcVar1 = "invalid ELF class 0";
        goto LAB_0004d221;
      }
      if (uVar5 - 1 < 2) {
        uVar6 = (uint)*(byte *)(param_1 + 5);
        if (uVar6 == 0) {
          pcVar1 = "invalid ELF data encoding";
          goto LAB_0004d221;
        }
        if (uVar6 - 1 < 2) {
          *(bool *)param_5 = uVar6 == 2;
          if (uVar5 == 1) {
            if (-param_3 < (int)(uint)(0x33 < param_2)) {
              *param_4 = 0x20;
              return 1;
            }
          }
          else if (-param_3 < (int)(uint)(0x3f < param_2)) {
            *param_4 = 0x40;
            return 1;
          }
          goto LAB_0004d218;
        }
        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");
        snprintf((char *)local_11c,0x100,pcVar1,uVar6);
        puVar4 = local_11c;
        do {
          puVar3 = puVar4;
          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;
          uVar5 = uVar6 & 0x80808080;
          puVar4 = puVar3 + 1;
        } while (uVar5 == 0);
        bVar7 = (uVar6 & 0x8080) == 0;
        if (bVar7) {
          uVar5 = uVar5 >> 0x10;
        }
        if (bVar7) {
          puVar4 = (uint *)((int)puVar3 + 6);
        }
        local_134 = local_12c;
        FUN_0004cf80(&local_134,local_11c,
                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);
        __dest = (undefined4 *)*param_6;
        if (local_134 != local_12c) {
          if (__dest == param_6 + 2) {
            *param_6 = local_134;
            param_6[1] = local_130;
            param_6[2] = local_12c[0];
          }
          else {
            local_144 = param_6[2];
            *param_6 = local_134;
            param_6[1] = local_130;
            param_6[2] = local_12c[0];
            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;
          }
          goto LAB_0004d362;
        }
      }
      else {
        pcVar1 = (char *)gettext("unsupported ELF class %d");
        snprintf((char *)local_11c,0x100,pcVar1,uVar5);
        puVar4 = local_11c;
        do {
          puVar3 = puVar4;
          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;
          uVar5 = uVar6 & 0x80808080;
          puVar4 = puVar3 + 1;
        } while (uVar5 == 0);
        bVar7 = (uVar6 & 0x8080) == 0;
        if (bVar7) {
          uVar5 = uVar5 >> 0x10;
        }
        if (bVar7) {
          puVar4 = (uint *)((int)puVar3 + 6);
        }
        local_134 = local_12c;
        FUN_0004cf80(&local_134,local_11c,
                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);
        __dest = (undefined4 *)*param_6;
        if (local_134 != local_12c) {
          if (__dest != param_6 + 2) goto LAB_0004d1b1;
LAB_0004d351:
          *param_6 = local_134;
          param_6[1] = local_130;
          param_6[2] = local_12c[0];
LAB_0004d362:
          local_134 = local_12c;
          goto LAB_0004d1e8;
        }
      }
LAB_0004d260:
      if (local_130 != 0) {
        if (local_130 == 1) {
          *(undefined1 *)__dest = (undefined1)local_12c[0];
          __dest = (undefined4 *)*param_6;
        }
        else {
          memcpy(__dest,local_12c,local_130);
          __dest = (undefined4 *)*param_6;
        }
      }
      param_6[1] = local_130;
      *(undefined1 *)((int)__dest + local_130) = 0;
    }
    else {
      if (uVar5 == 0) {
        pcVar1 = "invalid ELF version 0";
        goto LAB_0004d221;
      }
      pcVar1 = (char *)gettext("unsupported ELF version %d");
      snprintf((char *)local_11c,0x100,pcVar1,uVar5);
      puVar4 = local_11c;
      do {
        puVar3 = puVar4;
        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;
        uVar5 = uVar6 & 0x80808080;
        puVar4 = puVar3 + 1;
      } while (uVar5 == 0);
      bVar7 = (uVar6 & 0x8080) == 0;
      if (bVar7) {
        uVar5 = uVar5 >> 0x10;
      }
      if (bVar7) {
        puVar4 = (uint *)((int)puVar3 + 6);
      }
      local_134 = local_12c;
      FUN_0004cf80(&local_134,local_11c,
                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);
      __dest = (undefined4 *)*param_6;
      if (local_134 == local_12c) goto LAB_0004d260;
      if (__dest == param_6 + 2) goto LAB_0004d351;
LAB_0004d1b1:
      local_144 = param_6[2];
      param_6[1] = local_130;
      *param_6 = local_134;
      param_6[2] = local_12c[0];
      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;
LAB_0004d1d6:
      local_12c[0] = local_144;
      local_134 = __dest;
    }
LAB_0004d1e8:
    local_130 = 0;
    *(undefined1 *)local_134 = 0;
    if (local_134 != local_12c) {
      FUN_001807a0(local_134);
    }
  }
  else {
LAB_0004d218:
    pcVar1 = "ELF file too short";
LAB_0004d221:
    pcVar1 = (char *)gettext(pcVar1);
    sVar2 = strlen(pcVar1);
    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);
  }
  return 0;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
MOV EDI,0x0
PUSH ESI
MOV ESI,0xf
PUSH EBX
CALL 0x00032730
ADD EBX,0x2b4f9b
SUB ESP,0x13c
MOV ECX,dword ptr [EBP + 0xc]
MOV EDX,dword ptr [EBP + 0x10]
CMP ESI,ECX
SBB EDI,EDX
JGE 0x0004d218
MOV EDI,dword ptr [EBP + 0x8]
MOVZX ESI,byte ptr [EDI + 0x6]
CMP ESI,0x1
JNZ 0x0004d100
MOV EDI,dword ptr [EBP + 0x8]
MOVZX ESI,byte ptr [EDI + 0x4]
TEST ESI,ESI
JZ 0x0004d378
LEA EDI,[ESI + -0x1]
CMP EDI,0x1
JA 0x0004d2a8
MOV EDI,dword ptr [EBP + 0x8]
MOVZX EDI,byte ptr [EDI + 0x5]
TEST EDI,EDI
JZ 0x0004d390
LEA EAX,[EDI + -0x1]
CMP EAX,0x1
JA 0x0004d3c0
CMP EDI,0x2
MOV EDI,dword ptr [EBP + 0x18]
SETZ byte ptr [EDI]
CMP ESI,0x1
JZ 0x0004d498
MOV ESI,0x3f
MOV EAX,0x0
CMP ESI,ECX
SBB EAX,EDX
JGE 0x0004d218
MOV EAX,dword ptr [EBP + 0x14]
MOV dword ptr [EAX],0x40
MOV EAX,0x1
JMP 0x0004d20d
TEST ESI,ESI
JZ 0x0004d250
SUB ESP,0xc
LEA EAX,[EBX + 0xfff18893]
LEA EDI,[EBP + 0xfffffee8]
PUSH EAX
CALL 0x000263b0
PUSH ESI
LEA ESI,[EBP + 0xfffffed8]
PUSH EAX
PUSH 0x100
PUSH EDI
CALL 0x00026a40
MOV dword ptr [EBP + 0xfffffed0],ESI
MOV EDX,EDI
MOV ECX,dword ptr [EDX]
ADD EDX,0x4
LEA EAX,[ECX + 0xfefefeff]
NOT ECX
AND EAX,ECX
AND EAX,0x80808080
JZ 0x0004d138
MOV ECX,EAX
SHR ECX,0x10
TEST EAX,0x8080
CMOVZ EAX,ECX
LEA ECX,[EDX + 0x2]
CMOVZ EDX,ECX
MOV ECX,EAX
ADD CL,AL
LEA EAX,[EBP + 0xfffffed0]
SBB EDX,0x3
ADD ESP,0x20
PUSH 0x0
PUSH EDX
PUSH EDI
PUSH EAX
CALL 0x0004cf80
MOV EAX,dword ptr [EBP + 0x1c]
MOV EDX,dword ptr [EBP + 0xfffffed0]
ADD ESP,0x10
MOV EAX,dword ptr [EAX]
CMP EDX,ESI
JZ 0x0004d260
MOV ECX,dword ptr [EBP + 0xfffffed8]
MOV EDI,dword ptr [EBP + 0xfffffed4]
MOV dword ptr [EBP + 0xfffffec4],ECX
MOV ECX,dword ptr [EBP + 0x1c]
ADD ECX,0x8
CMP EAX,ECX
JZ 0x0004d351
MOV ECX,dword ptr [EBP + 0x1c]
MOV ECX,dword ptr [ECX + 0x8]
MOV dword ptr [EBP + 0xfffffec0],ECX
MOV ECX,dword ptr [EBP + 0x1c]
MOV dword ptr [ECX + 0x4],EDI
MOV EDI,dword ptr [EBP + 0xfffffec4]
MOV dword ptr [ECX],EDX
MOV dword ptr [ECX + 0x8],EDI
TEST EAX,EAX
JZ 0x0004d362
MOV EDX,dword ptr [EBP + 0xfffffec0]
MOV dword ptr [EBP + 0xfffffed0],EAX
MOV dword ptr [EBP + 0xfffffed8],EDX
MOV dword ptr [EBP + 0xfffffed4],0x0
MOV byte ptr [EAX],0x0
MOV EAX,dword ptr [EBP + 0xfffffed0]
CMP EAX,ESI
JZ 0x0004d20b
SUB ESP,0xc
PUSH EAX
CALL 0x001807a0
ADD ESP,0x10
XOR EAX,EAX
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xfff1886a]
PUSH EAX
CALL 0x000263b0
MOV dword ptr [ESP],EAX
MOV ESI,EAX
CALL 0x000265f0
MOV dword ptr [ESP],EAX
MOV EAX,dword ptr [EBP + 0x1c]
PUSH ESI
PUSH dword ptr [EAX + 0x4]
PUSH 0x0
PUSH EAX
CALL 0x001893e0
ADD ESP,0x20
JMP 0x0004d20b
SUB ESP,0xc
LEA EAX,[EBX + 0xfff1887d]
JMP 0x0004d221
MOV EDX,dword ptr [EBP + 0xfffffed4]
TEST EDX,EDX
JZ 0x0004d290
CMP EDX,0x1
JZ 0x0004d3a0
SUB ESP,0x4
PUSH EDX
PUSH ESI
PUSH EAX
CALL 0x000265c0
MOV EAX,dword ptr [EBP + 0x1c]
MOV EDX,dword ptr [EBP + 0xfffffed4]
ADD ESP,0x10
MOV EAX,dword ptr [EAX]
LEA ESI,[ESI]
MOV EDI,dword ptr [EBP + 0x1c]
MOV dword ptr [EDI + 0x4],EDX
MOV byte ptr [EAX + EDX*0x1],0x0
MOV EAX,dword ptr [EBP + 0xfffffed0]
JMP 0x0004d1e8
SUB ESP,0xc
LEA EAX,[EBX + 0xfff188c2]
LEA EDI,[EBP + 0xfffffee8]
PUSH EAX
CALL 0x000263b0
PUSH ESI
LEA ESI,[EBP + 0xfffffed8]
PUSH EAX
PUSH 0x100
PUSH EDI
CALL 0x00026a40
MOV dword ptr [EBP + 0xfffffed0],ESI
MOV EDX,EDI
MOV ECX,dword ptr [EDX]
ADD EDX,0x4
LEA EAX,[ECX + 0xfefefeff]
NOT ECX
AND EAX,ECX
AND EAX,0x80808080
JZ 0x0004d2d8
MOV ECX,EAX
SHR ECX,0x10
TEST EAX,0x8080
CMOVZ EAX,ECX
LEA ECX,[EDX + 0x2]
CMOVZ EDX,ECX
MOV ECX,EAX
ADD CL,AL
LEA EAX,[EBP + 0xfffffed0]
SBB EDX,0x3
ADD ESP,0x20
PUSH 0x0
PUSH EDX
PUSH EDI
PUSH EAX
CALL 0x0004cf80
MOV EAX,dword ptr [EBP + 0x1c]
MOV EDX,dword ptr [EBP + 0xfffffed0]
ADD ESP,0x10
MOV EAX,dword ptr [EAX]
CMP EDX,ESI
JZ 0x0004d260
MOV ECX,dword ptr [EBP + 0x1c]
MOV EDI,dword ptr [EBP + 0xfffffed8]
ADD ECX,0x8
MOV dword ptr [EBP + 0xfffffec4],EDI
MOV EDI,dword ptr [EBP + 0xfffffed4]
CMP EAX,ECX
JNZ 0x0004d1b1
MOV EAX,dword ptr [EBP + 0x1c]
MOV dword ptr [EAX],EDX
MOV EDX,dword ptr [EBP + 0xfffffec4]
MOV dword ptr [EAX + 0x4],EDI
MOV dword ptr [EAX + 0x8],EDX
MOV dword ptr [EBP + 0xfffffed0],ESI
LEA ESI,[EBP + 0xfffffed8]
MOV EAX,ESI
JMP 0x0004d1e8
SUB ESP,0xc
LEA EAX,[EBX + 0xfff188ae]
JMP 0x0004d221
SUB ESP,0xc
LEA EAX,[EBX + 0xfff188db]
JMP 0x0004d221
MOVZX EDX,byte ptr [EBP + 0xfffffed8]
MOV byte ptr [EAX],DL
MOV EAX,dword ptr [EBP + 0x1c]
MOV EDX,dword ptr [EBP + 0xfffffed4]
MOV EAX,dword ptr [EAX]
JMP 0x0004d290
SUB ESP,0xc
LEA EAX,[EBX + 0xfff188f8]
LEA ESI,[EBP + 0xfffffed8]
PUSH EAX
CALL 0x000263b0
PUSH EDI
LEA EDI,[EBP + 0xfffffee8]
PUSH EAX
PUSH 0x100
PUSH EDI
CALL 0x00026a40
MOV dword ptr [EBP + 0xfffffed0],ESI
MOV EDX,EDI
MOV ECX,dword ptr [EDX]
ADD EDX,0x4
LEA EAX,[ECX + 0xfefefeff]
NOT ECX
AND EAX,ECX
AND EAX,0x80808080
JZ 0x0004d3f0
MOV ECX,EAX
SHR ECX,0x10
TEST EAX,0x8080
CMOVZ EAX,ECX
LEA ECX,[EDX + 0x2]
CMOVZ EDX,ECX
MOV ECX,EAX
ADD CL,AL
LEA EAX,[EBP + 0xfffffed0]
SBB EDX,0x3
ADD ESP,0x20
PUSH 0x0
PUSH EDX
PUSH EDI
PUSH EAX
CALL 0x0004cf80
MOV EAX,dword ptr [EBP + 0x1c]
MOV EDX,dword ptr [EBP + 0xfffffed0]
ADD ESP,0x10
MOV EAX,dword ptr [EAX]
CMP EDX,ESI
JZ 0x0004d260
MOV EDI,dword ptr [EBP + 0xfffffed8]
MOV ECX,dword ptr [EBP + 0xfffffed4]
MOV dword ptr [EBP + 0xfffffec4],EDI
MOV EDI,dword ptr [EBP + 0x1c]
ADD EDI,0x8
CMP EAX,EDI
JZ 0x0004d4c0
MOV EDI,dword ptr [EBP + 0x1c]
MOV EDI,dword ptr [EDI + 0x8]
MOV dword ptr [EBP + 0xfffffec0],EDI
MOV EDI,dword ptr [EBP + 0x1c]
MOV dword ptr [EDI],EDX
MOV EDX,EDI
MOV dword ptr [EDI + 0x4],ECX
MOV EDI,dword ptr [EBP + 0xfffffec4]
MOV dword ptr [EDX + 0x8],EDI
TEST EAX,EAX
JNZ 0x0004d1d6
JMP 0x0004d362
MOV ESI,0x33
MOV EAX,0x0
CMP ESI,ECX
SBB EAX,EDX
JGE 0x0004d218
MOV EAX,dword ptr [EBP + 0x14]
MOV dword ptr [EAX],0x20
MOV EAX,0x1
JMP 0x0004d20d
MOV EAX,dword ptr [EBP + 0x1c]
MOV dword ptr [EAX],EDX
MOV EDX,dword ptr [EBP + 0xfffffec4]
MOV dword ptr [EAX + 0x4],ECX
MOV dword ptr [EAX + 0x8],EDX
JMP 0x0004d362
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4\nFUN_0004d050(int param_1,uint param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 *param_6)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  undefined4 *__dest;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  undefined4 local_144;\n  undefined4 *local_134;\n  size_t local_130;\n  undefined4 local_12c [4];\n  uint local_11c [66];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4d065;\n  if (-param_3 < (int)(uint)(0xf < param_2)) {\n    uVar5 = (uint)*(byte *)(param_1 + 6);\n    if (uVar5 == 1) {\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }\nLAB_0004d1e8:\n    local_130 = 0;\n    *(undefined1 *)local_134 = 0;\n    if (local_134 != local_12c) {\n      FUN_001807a0(local_134);\n    }\n  }\n  else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4\nFUN_0004d050(int param_1,uint param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 *param_6)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  undefined4 *__dest;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  undefined4 local_144;\n  undefined4 *local_134;\n  size_t local_130;\n  undefined4 local_12c [4];\n  uint local_11c [66];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4d065;\n  if (-param_3 < (int)(uint)(0xf < param_2)) {\n    uVar5 = (uint)*(byte *)(param_1 + 6);\n    if (uVar5 == 1) {\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }\nLAB_0004d1e8:\n    local_130 = 0;\n    *(undefined1 *)local_134 = 0;\n    if (local_134 != local_12c) {\n      FUN_001807a0(local_134);\n    }\n  }\n  else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0004d050(int param_1,uint param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 *param_6)" identifier (parameter_list "(int param_1,uint param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 *param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  size_t sVar2;\n  undefined4 *__dest;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  undefined4 local_144;\n  undefined4 *local_134;\n  size_t local_130;\n  undefined4 local_12c [4];\n  uint local_11c [66];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4d065;\n  if (-param_3 < (int)(uint)(0xf < param_2)) {\n    uVar5 = (uint)*(byte *)(param_1 + 6);\n    if (uVar5 == 1) {\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }\nLAB_0004d1e8:\n    local_130 = 0;\n    *(undefined1 *)local_134 = 0;\n    if (local_134 != local_12c) {\n      FUN_001807a0(local_134);\n    }\n  }\n  else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);\n  }\n  return 0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "undefined4 *__dest;" type_identifier (pointer_declarator "*__dest" * identifier) ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "undefined4 local_144;" type_identifier identifier ;) (declaration "undefined4 *local_134;" type_identifier (pointer_declarator "*local_134" * identifier) ;) (declaration "size_t local_130;" primitive_type identifier ;) (declaration "undefined4 local_12c [4];" type_identifier (array_declarator "local_12c [4]" identifier [ number_literal ]) ;) (declaration "uint local_11c [66];" type_identifier (array_declarator "local_11c [66]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x4d065;" (assignment_expression "uStack_14 = 0x4d065" identifier = number_literal) ;) (if_statement "if (-param_3 < (int)(uint)(0xf < param_2)) {\n    uVar5 = (uint)*(byte *)(param_1 + 6);\n    if (uVar5 == 1) {\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }\nLAB_0004d1e8:\n    local_130 = 0;\n    *(undefined1 *)local_134 = 0;\n    if (local_134 != local_12c) {\n      FUN_001807a0(local_134);\n    }\n  }\n  else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);\n  }" if (parenthesized_expression "(-param_3 < (int)(uint)(0xf < param_2))" ( (binary_expression "-param_3 < (int)(uint)(0xf < param_2)" (unary_expression "-param_3" - identifier) < (cast_expression "(int)(uint)(0xf < param_2)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(0xf < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xf < param_2)" ( (binary_expression "0xf < param_2" number_literal < identifier) ))))) )) (compound_statement "{\n    uVar5 = (uint)*(byte *)(param_1 + 6);\n    if (uVar5 == 1) {\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }\nLAB_0004d1e8:\n    local_130 = 0;\n    *(undefined1 *)local_134 = 0;\n    if (local_134 != local_12c) {\n      FUN_001807a0(local_134);\n    }\n  }" { (expression_statement "uVar5 = (uint)*(byte *)(param_1 + 6);" (assignment_expression "uVar5 = (uint)*(byte *)(param_1 + 6)" identifier = (binary_expression "(uint)*(byte *)(param_1 + 6)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_1 + 6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 6)" ( (binary_expression "param_1 + 6" identifier + number_literal) ))))) ;) (if_statement "if (uVar5 == 1) {\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }" if (parenthesized_expression "(uVar5 == 1)" ( (binary_expression "uVar5 == 1" identifier == number_literal) )) (compound_statement "{\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }" { (expression_statement "uVar5 = (uint)*(byte *)(param_1 + 4);" (assignment_expression "uVar5 = (uint)*(byte *)(param_1 + 4)" identifier = (binary_expression "(uint)*(byte *)(param_1 + 4)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_1 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }" { (expression_statement "pcVar1 = "invalid ELF class 0";" (assignment_expression "pcVar1 = "invalid ELF class 0"" identifier = (string_literal ""invalid ELF class 0"" " string_content ")) ;) (goto_statement "goto LAB_0004d221;" goto statement_identifier ;) })) (if_statement "if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }" if (parenthesized_expression "(uVar5 - 1 < 2)" ( (binary_expression "uVar5 - 1 < 2" (binary_expression "uVar5 - 1" identifier - number_literal) < number_literal) )) (compound_statement "{\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }" { (expression_statement "uVar6 = (uint)*(byte *)(param_1 + 5);" (assignment_expression "uVar6 = (uint)*(byte *)(param_1 + 5)" identifier = (binary_expression "(uint)*(byte *)(param_1 + 5)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_1 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 5)" ( (binary_expression "param_1 + 5" identifier + number_literal) ))))) ;) (if_statement "if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }" { (expression_statement "pcVar1 = "invalid ELF data encoding";" (assignment_expression "pcVar1 = "invalid ELF data encoding"" identifier = (string_literal ""invalid ELF data encoding"" " string_content ")) ;) (goto_statement "goto LAB_0004d221;" goto statement_identifier ;) })) (if_statement "if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }" if (parenthesized_expression "(uVar6 - 1 < 2)" ( (binary_expression "uVar6 - 1 < 2" (binary_expression "uVar6 - 1" identifier - number_literal) < number_literal) )) (compound_statement "{\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }" { (expression_statement "*(bool *)param_5 = uVar6 == 2;" (assignment_expression "*(bool *)param_5 = uVar6 == 2" (pointer_expression "*(bool *)param_5" * (cast_expression "(bool *)param_5" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "uVar6 == 2" identifier == number_literal)) ;) (if_statement "if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }" if (parenthesized_expression "(uVar5 == 1)" ( (binary_expression "uVar5 == 1" identifier == number_literal) )) (compound_statement "{\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }" { (if_statement "if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }" if (parenthesized_expression "(-param_3 < (int)(uint)(0x33 < param_2))" ( (binary_expression "-param_3 < (int)(uint)(0x33 < param_2)" (unary_expression "-param_3" - identifier) < (cast_expression "(int)(uint)(0x33 < param_2)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(0x33 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x33 < param_2)" ( (binary_expression "0x33 < param_2" number_literal < identifier) ))))) )) (compound_statement "{\n              *param_4 = 0x20;\n              return 1;\n            }" { (expression_statement "*param_4 = 0x20;" (assignment_expression "*param_4 = 0x20" (pointer_expression "*param_4" * identifier) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }" else (if_statement "if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }" if (parenthesized_expression "(-param_3 < (int)(uint)(0x3f < param_2))" ( (binary_expression "-param_3 < (int)(uint)(0x3f < param_2)" (unary_expression "-param_3" - identifier) < (cast_expression "(int)(uint)(0x3f < param_2)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(0x3f < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x3f < param_2)" ( (binary_expression "0x3f < param_2" number_literal < identifier) ))))) )) (compound_statement "{\n            *param_4 = 0x40;\n            return 1;\n          }" { (expression_statement "*param_4 = 0x40;" (assignment_expression "*param_4 = 0x40" (pointer_expression "*param_4" * identifier) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })))) (goto_statement "goto LAB_0004d218;" goto statement_identifier ;) })) (expression_statement "pcVar1 = (char *)gettext("unsupported ELF data encoding %d");" (assignment_expression "pcVar1 = (char *)gettext("unsupported ELF data encoding %d")" identifier = (cast_expression "(char *)gettext("unsupported ELF data encoding %d")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("unsupported ELF data encoding %d")" identifier (argument_list "("unsupported ELF data encoding %d")" ( (string_literal ""unsupported ELF data encoding %d"" " string_content ") ))))) ;) (expression_statement "snprintf((char *)local_11c,0x100,pcVar1,uVar6);" (call_expression "snprintf((char *)local_11c,0x100,pcVar1,uVar6)" identifier (argument_list "((char *)local_11c,0x100,pcVar1,uVar6)" ( (cast_expression "(char *)local_11c" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , identifier , identifier ))) ;) (expression_statement "puVar4 = local_11c;" (assignment_expression "puVar4 = local_11c" identifier = identifier) ;) (do_statement "do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);" do (compound_statement "{\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        }" { (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (expression_statement "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;" (assignment_expression "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3" identifier = (binary_expression "*puVar3 + 0xfefefeff & ~*puVar3" (binary_expression "*puVar3 + 0xfefefeff" (pointer_expression "*puVar3" * identifier) + number_literal) & (unary_expression "~*puVar3" ~ (pointer_expression "*puVar3" * identifier)))) ;) (expression_statement "uVar5 = uVar6 & 0x80808080;" (assignment_expression "uVar5 = uVar6 & 0x80808080" identifier = (binary_expression "uVar6 & 0x80808080" identifier & number_literal)) ;) (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) ;) (expression_statement "bVar7 = (uVar6 & 0x8080) == 0;" (assignment_expression "bVar7 = (uVar6 & 0x8080) == 0" identifier = (binary_expression "(uVar6 & 0x8080) == 0" (parenthesized_expression "(uVar6 & 0x8080)" ( (binary_expression "uVar6 & 0x8080" identifier & number_literal) )) == number_literal)) ;) (if_statement "if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n          uVar5 = uVar5 >> 0x10;\n        }" { (expression_statement "uVar5 = uVar5 >> 0x10;" (assignment_expression "uVar5 = uVar5 >> 0x10" identifier = (binary_expression "uVar5 >> 0x10" identifier >> number_literal)) ;) })) (if_statement "if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }" { (expression_statement "puVar4 = (uint *)((int)puVar3 + 6);" (assignment_expression "puVar4 = (uint *)((int)puVar3 + 6)" identifier = (cast_expression "(uint *)((int)puVar3 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 6)" ( (binary_expression "(int)puVar3 + 6" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (expression_statement "local_134 = local_12c;" (assignment_expression "local_134 = local_12c" identifier = identifier) ;) (expression_statement "FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);" (call_expression "FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" identifier (argument_list "(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" ( (pointer_expression "&local_134" & identifier) , identifier , (cast_expression "(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (binary_expression "(int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" ( (binary_expression "-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)" number_literal - (cast_expression "(uint)CARRY1((byte)uVar5,(byte)uVar5)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY1((byte)uVar5,(byte)uVar5)" identifier (argument_list "((byte)uVar5,(byte)uVar5)" ( (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) , (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) ))))) ))) ))) , number_literal ))) ;) (expression_statement "__dest = (undefined4 *)*param_6;" (assignment_expression "__dest = (undefined4 *)*param_6" identifier = (cast_expression "(undefined4 *)*param_6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_6" * identifier))) ;) (if_statement "if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }" if (parenthesized_expression "(local_134 != local_12c)" ( (binary_expression "local_134 != local_12c" identifier != identifier) )) (compound_statement "{\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }" { (if_statement "if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }" if (parenthesized_expression "(__dest == param_6 + 2)" ( (binary_expression "__dest == param_6 + 2" identifier == (binary_expression "param_6 + 2" identifier + number_literal)) )) (compound_statement "{\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }" { (expression_statement "*param_6 = local_134;" (assignment_expression "*param_6 = local_134" (pointer_expression "*param_6" * identifier) = identifier) ;) (expression_statement "param_6[1] = local_130;" (assignment_expression "param_6[1] = local_130" (subscript_expression "param_6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_6[2] = local_12c[0];" (assignment_expression "param_6[2] = local_12c[0]" (subscript_expression "param_6[2]" identifier [ number_literal ]) = (subscript_expression "local_12c[0]" identifier [ number_literal ])) ;) }) (else_clause "else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }" else (compound_statement "{\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }" { (expression_statement "local_144 = param_6[2];" (assignment_expression "local_144 = param_6[2]" identifier = (subscript_expression "param_6[2]" identifier [ number_literal ])) ;) (expression_statement "*param_6 = local_134;" (assignment_expression "*param_6 = local_134" (pointer_expression "*param_6" * identifier) = identifier) ;) (expression_statement "param_6[1] = local_130;" (assignment_expression "param_6[1] = local_130" (subscript_expression "param_6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_6[2] = local_12c[0];" (assignment_expression "param_6[2] = local_12c[0]" (subscript_expression "param_6[2]" identifier [ number_literal ]) = (subscript_expression "local_12c[0]" identifier [ number_literal ])) ;) (if_statement "if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;" if (parenthesized_expression "(__dest != (undefined4 *)0x0)" ( (binary_expression "__dest != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0004d1d6;" goto statement_identifier ;)) }))) (goto_statement "goto LAB_0004d362;" goto statement_identifier ;) })) }) (else_clause "else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }" else (compound_statement "{\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }" { (expression_statement "pcVar1 = (char *)gettext("unsupported ELF class %d");" (assignment_expression "pcVar1 = (char *)gettext("unsupported ELF class %d")" identifier = (cast_expression "(char *)gettext("unsupported ELF class %d")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("unsupported ELF class %d")" identifier (argument_list "("unsupported ELF class %d")" ( (string_literal ""unsupported ELF class %d"" " string_content ") ))))) ;) (expression_statement "snprintf((char *)local_11c,0x100,pcVar1,uVar5);" (call_expression "snprintf((char *)local_11c,0x100,pcVar1,uVar5)" identifier (argument_list "((char *)local_11c,0x100,pcVar1,uVar5)" ( (cast_expression "(char *)local_11c" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , identifier , identifier ))) ;) (expression_statement "puVar4 = local_11c;" (assignment_expression "puVar4 = local_11c" identifier = identifier) ;) (do_statement "do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);" do (compound_statement "{\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        }" { (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (expression_statement "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;" (assignment_expression "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3" identifier = (binary_expression "*puVar3 + 0xfefefeff & ~*puVar3" (binary_expression "*puVar3 + 0xfefefeff" (pointer_expression "*puVar3" * identifier) + number_literal) & (unary_expression "~*puVar3" ~ (pointer_expression "*puVar3" * identifier)))) ;) (expression_statement "uVar5 = uVar6 & 0x80808080;" (assignment_expression "uVar5 = uVar6 & 0x80808080" identifier = (binary_expression "uVar6 & 0x80808080" identifier & number_literal)) ;) (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) ;) (expression_statement "bVar7 = (uVar6 & 0x8080) == 0;" (assignment_expression "bVar7 = (uVar6 & 0x8080) == 0" identifier = (binary_expression "(uVar6 & 0x8080) == 0" (parenthesized_expression "(uVar6 & 0x8080)" ( (binary_expression "uVar6 & 0x8080" identifier & number_literal) )) == number_literal)) ;) (if_statement "if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n          uVar5 = uVar5 >> 0x10;\n        }" { (expression_statement "uVar5 = uVar5 >> 0x10;" (assignment_expression "uVar5 = uVar5 >> 0x10" identifier = (binary_expression "uVar5 >> 0x10" identifier >> number_literal)) ;) })) (if_statement "if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }" { (expression_statement "puVar4 = (uint *)((int)puVar3 + 6);" (assignment_expression "puVar4 = (uint *)((int)puVar3 + 6)" identifier = (cast_expression "(uint *)((int)puVar3 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 6)" ( (binary_expression "(int)puVar3 + 6" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (expression_statement "local_134 = local_12c;" (assignment_expression "local_134 = local_12c" identifier = identifier) ;) (expression_statement "FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);" (call_expression "FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" identifier (argument_list "(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" ( (pointer_expression "&local_134" & identifier) , identifier , (cast_expression "(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (binary_expression "(int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" ( (binary_expression "-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)" number_literal - (cast_expression "(uint)CARRY1((byte)uVar5,(byte)uVar5)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY1((byte)uVar5,(byte)uVar5)" identifier (argument_list "((byte)uVar5,(byte)uVar5)" ( (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) , (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) ))))) ))) ))) , number_literal ))) ;) (expression_statement "__dest = (undefined4 *)*param_6;" (assignment_expression "__dest = (undefined4 *)*param_6" identifier = (cast_expression "(undefined4 *)*param_6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_6" * identifier))) ;) (if_statement "if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }" if (parenthesized_expression "(local_134 != local_12c)" ( (binary_expression "local_134 != local_12c" identifier != identifier) )) (compound_statement "{\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }" { (if_statement "if (__dest != param_6 + 2) goto LAB_0004d1b1;" if (parenthesized_expression "(__dest != param_6 + 2)" ( (binary_expression "__dest != param_6 + 2" identifier != (binary_expression "param_6 + 2" identifier + number_literal)) )) (goto_statement "goto LAB_0004d1b1;" goto statement_identifier ;)) (labeled_statement "LAB_0004d351:\n          *param_6 = local_134;" statement_identifier : (expression_statement "*param_6 = local_134;" (assignment_expression "*param_6 = local_134" (pointer_expression "*param_6" * identifier) = identifier) ;)) (expression_statement "param_6[1] = local_130;" (assignment_expression "param_6[1] = local_130" (subscript_expression "param_6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_6[2] = local_12c[0];" (assignment_expression "param_6[2] = local_12c[0]" (subscript_expression "param_6[2]" identifier [ number_literal ]) = (subscript_expression "local_12c[0]" identifier [ number_literal ])) ;) (labeled_statement "LAB_0004d362:\n          local_134 = local_12c;" statement_identifier : (expression_statement "local_134 = local_12c;" (assignment_expression "local_134 = local_12c" identifier = identifier) ;)) (goto_statement "goto LAB_0004d1e8;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }" statement_identifier : (if_statement "if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }" if (parenthesized_expression "(local_130 != 0)" ( (binary_expression "local_130 != 0" identifier != number_literal) )) (compound_statement "{\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }" { (if_statement "if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }" if (parenthesized_expression "(local_130 == 1)" ( (binary_expression "local_130 == 1" identifier == number_literal) )) (compound_statement "{\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }" { (expression_statement "*(undefined1 *)__dest = (undefined1)local_12c[0];" (assignment_expression "*(undefined1 *)__dest = (undefined1)local_12c[0]" (pointer_expression "*(undefined1 *)__dest" * (cast_expression "(undefined1 *)__dest" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(undefined1)local_12c[0]" ( (type_descriptor "undefined1" type_identifier) ) (subscript_expression "local_12c[0]" identifier [ number_literal ]))) ;) (expression_statement "__dest = (undefined4 *)*param_6;" (assignment_expression "__dest = (undefined4 *)*param_6" identifier = (cast_expression "(undefined4 *)*param_6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_6" * identifier))) ;) }) (else_clause "else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }" else (compound_statement "{\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }" { (expression_statement "memcpy(__dest,local_12c,local_130);" (call_expression "memcpy(__dest,local_12c,local_130)" identifier (argument_list "(__dest,local_12c,local_130)" ( identifier , identifier , identifier ))) ;) (expression_statement "__dest = (undefined4 *)*param_6;" (assignment_expression "__dest = (undefined4 *)*param_6" identifier = (cast_expression "(undefined4 *)*param_6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_6" * identifier))) ;) }))) }))) (expression_statement "param_6[1] = local_130;" (assignment_expression "param_6[1] = local_130" (subscript_expression "param_6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)__dest + local_130) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + local_130) = 0" (pointer_expression "*(undefined1 *)((int)__dest + local_130)" * (cast_expression "(undefined1 *)((int)__dest + local_130)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + local_130)" ( (binary_expression "(int)__dest + local_130" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) }) (else_clause "else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }" else (compound_statement "{\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }" { (if_statement "if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }" { (expression_statement "pcVar1 = "invalid ELF version 0";" (assignment_expression "pcVar1 = "invalid ELF version 0"" identifier = (string_literal ""invalid ELF version 0"" " string_content ")) ;) (goto_statement "goto LAB_0004d221;" goto statement_identifier ;) })) (expression_statement "pcVar1 = (char *)gettext("unsupported ELF version %d");" (assignment_expression "pcVar1 = (char *)gettext("unsupported ELF version %d")" identifier = (cast_expression "(char *)gettext("unsupported ELF version %d")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("unsupported ELF version %d")" identifier (argument_list "("unsupported ELF version %d")" ( (string_literal ""unsupported ELF version %d"" " string_content ") ))))) ;) (expression_statement "snprintf((char *)local_11c,0x100,pcVar1,uVar5);" (call_expression "snprintf((char *)local_11c,0x100,pcVar1,uVar5)" identifier (argument_list "((char *)local_11c,0x100,pcVar1,uVar5)" ( (cast_expression "(char *)local_11c" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , identifier , identifier ))) ;) (expression_statement "puVar4 = local_11c;" (assignment_expression "puVar4 = local_11c" identifier = identifier) ;) (do_statement "do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);" do (compound_statement "{\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      }" { (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (expression_statement "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;" (assignment_expression "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3" identifier = (binary_expression "*puVar3 + 0xfefefeff & ~*puVar3" (binary_expression "*puVar3 + 0xfefefeff" (pointer_expression "*puVar3" * identifier) + number_literal) & (unary_expression "~*puVar3" ~ (pointer_expression "*puVar3" * identifier)))) ;) (expression_statement "uVar5 = uVar6 & 0x80808080;" (assignment_expression "uVar5 = uVar6 & 0x80808080" identifier = (binary_expression "uVar6 & 0x80808080" identifier & number_literal)) ;) (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) ;) (expression_statement "bVar7 = (uVar6 & 0x8080) == 0;" (assignment_expression "bVar7 = (uVar6 & 0x8080) == 0" identifier = (binary_expression "(uVar6 & 0x8080) == 0" (parenthesized_expression "(uVar6 & 0x8080)" ( (binary_expression "uVar6 & 0x8080" identifier & number_literal) )) == number_literal)) ;) (if_statement "if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n        uVar5 = uVar5 >> 0x10;\n      }" { (expression_statement "uVar5 = uVar5 >> 0x10;" (assignment_expression "uVar5 = uVar5 >> 0x10" identifier = (binary_expression "uVar5 >> 0x10" identifier >> number_literal)) ;) })) (if_statement "if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }" { (expression_statement "puVar4 = (uint *)((int)puVar3 + 6);" (assignment_expression "puVar4 = (uint *)((int)puVar3 + 6)" identifier = (cast_expression "(uint *)((int)puVar3 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 6)" ( (binary_expression "(int)puVar3 + 6" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (expression_statement "local_134 = local_12c;" (assignment_expression "local_134 = local_12c" identifier = identifier) ;) (expression_statement "FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);" (call_expression "FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" identifier (argument_list "(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" ( (pointer_expression "&local_134" & identifier) , identifier , (cast_expression "(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (binary_expression "(int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" ( (binary_expression "-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)" number_literal - (cast_expression "(uint)CARRY1((byte)uVar5,(byte)uVar5)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY1((byte)uVar5,(byte)uVar5)" identifier (argument_list "((byte)uVar5,(byte)uVar5)" ( (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) , (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) ))))) ))) ))) , number_literal ))) ;) (expression_statement "__dest = (undefined4 *)*param_6;" (assignment_expression "__dest = (undefined4 *)*param_6" identifier = (cast_expression "(undefined4 *)*param_6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_6" * identifier))) ;) (if_statement "if (local_134 == local_12c) goto LAB_0004d260;" if (parenthesized_expression "(local_134 == local_12c)" ( (binary_expression "local_134 == local_12c" identifier == identifier) )) (goto_statement "goto LAB_0004d260;" goto statement_identifier ;)) (if_statement "if (__dest == param_6 + 2) goto LAB_0004d351;" if (parenthesized_expression "(__dest == param_6 + 2)" ( (binary_expression "__dest == param_6 + 2" identifier == (binary_expression "param_6 + 2" identifier + number_literal)) )) (goto_statement "goto LAB_0004d351;" goto statement_identifier ;)) (labeled_statement "LAB_0004d1b1:\n      local_144 = param_6[2];" statement_identifier : (expression_statement "local_144 = param_6[2];" (assignment_expression "local_144 = param_6[2]" identifier = (subscript_expression "param_6[2]" identifier [ number_literal ])) ;)) (expression_statement "param_6[1] = local_130;" (assignment_expression "param_6[1] = local_130" (subscript_expression "param_6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_6 = local_134;" (assignment_expression "*param_6 = local_134" (pointer_expression "*param_6" * identifier) = identifier) ;) (expression_statement "param_6[2] = local_12c[0];" (assignment_expression "param_6[2] = local_12c[0]" (subscript_expression "param_6[2]" identifier [ number_literal ]) = (subscript_expression "local_12c[0]" identifier [ number_literal ])) ;) (if_statement "if (__dest == (undefined4 *)0x0) goto LAB_0004d362;" if (parenthesized_expression "(__dest == (undefined4 *)0x0)" ( (binary_expression "__dest == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0004d362;" goto statement_identifier ;)) (labeled_statement "LAB_0004d1d6:\n      local_12c[0] = local_144;" statement_identifier : (expression_statement "local_12c[0] = local_144;" (assignment_expression "local_12c[0] = local_144" (subscript_expression "local_12c[0]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "local_134 = __dest;" (assignment_expression "local_134 = __dest" identifier = identifier) ;) }))) (labeled_statement "LAB_0004d1e8:\n    local_130 = 0;" statement_identifier : (expression_statement "local_130 = 0;" (assignment_expression "local_130 = 0" identifier = number_literal) ;)) (expression_statement "*(undefined1 *)local_134 = 0;" (assignment_expression "*(undefined1 *)local_134 = 0" (pointer_expression "*(undefined1 *)local_134" * (cast_expression "(undefined1 *)local_134" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if (local_134 != local_12c) {\n      FUN_001807a0(local_134);\n    }" if (parenthesized_expression "(local_134 != local_12c)" ( (binary_expression "local_134 != local_12c" identifier != identifier) )) (compound_statement "{\n      FUN_001807a0(local_134);\n    }" { (expression_statement "FUN_001807a0(local_134);" (call_expression "FUN_001807a0(local_134)" identifier (argument_list "(local_134)" ( identifier ))) ;) })) }) (else_clause "else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);\n  }" else (compound_statement "{\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);\n  }" { (labeled_statement "LAB_0004d218:\n    pcVar1 = "ELF file too short";" statement_identifier : (expression_statement "pcVar1 = "ELF file too short";" (assignment_expression "pcVar1 = "ELF file too short"" identifier = (string_literal ""ELF file too short"" " string_content ")) ;)) (labeled_statement "LAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);" statement_identifier : (expression_statement "pcVar1 = (char *)gettext(pcVar1);" (assignment_expression "pcVar1 = (char *)gettext(pcVar1)" identifier = (cast_expression "(char *)gettext(pcVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))))) ;)) (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" identifier = (call_expression "strlen(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);" (call_expression "FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2)" identifier (argument_list "(param_6,0,param_6[1],pcVar1,sVar2)" ( identifier , number_literal , (subscript_expression "param_6[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbool __thiscall\nelfcpp::Elf_recognizer::is_valid_header\n          (Elf_recognizer *this,uchar *ehdr_buf,off_t bufsize,int *size,bool *big_endian,\n          string *error)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *__dest;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  size_type local_144;\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_134;\n  char buf [256];\n  \n  if (-(int)bufsize < (int)(uint)((uchar *)0xf < ehdr_buf)) {\n    uVar5 = (uint)(byte)this[6];\n    if (uVar5 == 1) {\n      uVar5 = (uint)(byte)this[4];\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)(byte)this[5];\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)size = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-(int)bufsize < (int)(uint)((uchar *)0x33 < ehdr_buf)) {\n              *bufsize._4_4_ = 0x20;\n              return true;\n            }\n          }\n          else if (-(int)bufsize < (int)(uint)((uchar *)0x3f < ehdr_buf)) {\n            *bufsize._4_4_ = 0x40;\n            return true;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf(buf,0x100,pcVar1,uVar6);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) {\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n          }\n          else {\n            local_144 = *(size_type *)(big_endian + 8);\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n            if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf(buf,0x100,pcVar1,uVar5);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) goto LAB_0004d1b1;\nLAB_0004d351:\n          *(pointer *)big_endian = local_134._M_dataplus._M_p;\n          *(size_type *)(big_endian + 4) = local_134._M_string_length;\n          *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\nLAB_0004d362:\n          local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_134._M_string_length != 0) {\n        if (local_134._M_string_length == 1) {\n          __dest->_M_local_buf[0] = local_134.field_2._M_local_buf[0];\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n        else {\n          memcpy(__dest,&local_134.field_2,local_134._M_string_length);\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n      }\n      *(size_type *)(big_endian + 4) = local_134._M_string_length;\n      __dest->_M_local_buf[local_134._M_string_length] = '\0';\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf(buf,0x100,pcVar1,uVar5);\n      puVar4 = (uint *)buf;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n      std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n      _M_construct<char_const*>\n                (&local_134,buf,(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))\n                 ,0);\n      __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                 **)big_endian;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_134._M_dataplus._M_p == &local_134.field_2) goto LAB_0004d260;\n      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)(big_endian + 8)) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = *(size_type *)(big_endian + 8);\n      *(size_type *)(big_endian + 4) = local_134._M_string_length;\n      *(pointer *)big_endian = local_134._M_dataplus._M_p;\n      *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_134.field_2._M_allocated_capacity = local_144;\n      local_134._M_dataplus._M_p = (pointer)__dest;\n    }\nLAB_0004d1e8:\n    local_134._M_string_length = 0;\n    *local_134._M_dataplus._M_p = '\0';\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)local_134._M_dataplus._M_p != &local_134.field_2) {\n      operator_delete(local_134._M_dataplus._M_p);\n    }\n  }\n  else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    std::string::_M_replace((string *)big_endian,0,*(uint *)(big_endian + 4),pcVar1,sVar2);\n  }\n  return false;\n}\n\n" comment (function_definition "bool __thiscall\nelfcpp::Elf_recognizer::is_valid_header\n          (Elf_recognizer *this,uchar *ehdr_buf,off_t bufsize,int *size,bool *big_endian,\n          string *error)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *__dest;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  size_type local_144;\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_134;\n  char buf [256];\n  \n  if (-(int)bufsize < (int)(uint)((uchar *)0xf < ehdr_buf)) {\n    uVar5 = (uint)(byte)this[6];\n    if (uVar5 == 1) {\n      uVar5 = (uint)(byte)this[4];\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)(byte)this[5];\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)size = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-(int)bufsize < (int)(uint)((uchar *)0x33 < ehdr_buf)) {\n              *bufsize._4_4_ = 0x20;\n              return true;\n            }\n          }\n          else if (-(int)bufsize < (int)(uint)((uchar *)0x3f < ehdr_buf)) {\n            *bufsize._4_4_ = 0x40;\n            return true;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf(buf,0x100,pcVar1,uVar6);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) {\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n          }\n          else {\n            local_144 = *(size_type *)(big_endian + 8);\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n            if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf(buf,0x100,pcVar1,uVar5);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) goto LAB_0004d1b1;\nLAB_0004d351:\n          *(pointer *)big_endian = local_134._M_dataplus._M_p;\n          *(size_type *)(big_endian + 4) = local_134._M_string_length;\n          *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\nLAB_0004d362:\n          local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_134._M_string_length != 0) {\n        if (local_134._M_string_length == 1) {\n          __dest->_M_local_buf[0] = local_134.field_2._M_local_buf[0];\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n        else {\n          memcpy(__dest,&local_134.field_2,local_134._M_string_length);\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n      }\n      *(size_type *)(big_endian + 4) = local_134._M_string_length;\n      __dest->_M_local_buf[local_134._M_string_length] = '\0';\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf(buf,0x100,pcVar1,uVar5);\n      puVar4 = (uint *)buf;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n      std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n      _M_construct<char_const*>\n                (&local_134,buf,(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))\n                 ,0);\n      __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                 **)big_endian;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_134._M_dataplus._M_p == &local_134.field_2) goto LAB_0004d260;\n      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)(big_endian + 8)) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = *(size_type *)(big_endian + 8);\n      *(size_type *)(big_endian + 4) = local_134._M_string_length;\n      *(pointer *)big_endian = local_134._M_dataplus._M_p;\n      *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_134.field_2._M_allocated_capacity = local_144;\n      local_134._M_dataplus._M_p = (pointer)__dest;\n    }\nLAB_0004d1e8:\n    local_134._M_string_length = 0;\n    *local_134._M_dataplus._M_p = '\0';\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)local_134._M_dataplus._M_p != &local_134.field_2) {\n      operator_delete(local_134._M_dataplus._M_p);\n    }\n  }\n  else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    std::string::_M_replace((string *)big_endian,0,*(uint *)(big_endian + 4),pcVar1,sVar2);\n  }\n  return false;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "elfcpp::Elf_recognizer::" identifier : : identifier : :) (function_declarator "is_valid_header\n          (Elf_recognizer *this,uchar *ehdr_buf,off_t bufsize,int *size,bool *big_endian,\n          string *error)" identifier (parameter_list "(Elf_recognizer *this,uchar *ehdr_buf,off_t bufsize,int *size,bool *big_endian,\n          string *error)" ( (parameter_declaration "Elf_recognizer *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uchar *ehdr_buf" type_identifier (pointer_declarator "*ehdr_buf" * identifier)) , (parameter_declaration "off_t bufsize" type_identifier identifier) , (parameter_declaration "int *size" primitive_type (pointer_declarator "*size" * identifier)) , (parameter_declaration "bool *big_endian" primitive_type (pointer_declarator "*big_endian" * identifier)) , (parameter_declaration "string *error" type_identifier (pointer_declarator "*error" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  size_t sVar2;\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *__dest;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  size_type local_144;\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_134;\n  char buf [256];\n  \n  if (-(int)bufsize < (int)(uint)((uchar *)0xf < ehdr_buf)) {\n    uVar5 = (uint)(byte)this[6];\n    if (uVar5 == 1) {\n      uVar5 = (uint)(byte)this[4];\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)(byte)this[5];\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)size = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-(int)bufsize < (int)(uint)((uchar *)0x33 < ehdr_buf)) {\n              *bufsize._4_4_ = 0x20;\n              return true;\n            }\n          }\n          else if (-(int)bufsize < (int)(uint)((uchar *)0x3f < ehdr_buf)) {\n            *bufsize._4_4_ = 0x40;\n            return true;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf(buf,0x100,pcVar1,uVar6);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) {\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n          }\n          else {\n            local_144 = *(size_type *)(big_endian + 8);\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n            if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf(buf,0x100,pcVar1,uVar5);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) goto LAB_0004d1b1;\nLAB_0004d351:\n          *(pointer *)big_endian = local_134._M_dataplus._M_p;\n          *(size_type *)(big_endian + 4) = local_134._M_string_length;\n          *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\nLAB_0004d362:\n          local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_134._M_string_length != 0) {\n        if (local_134._M_string_length == 1) {\n          __dest->_M_local_buf[0] = local_134.field_2._M_local_buf[0];\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n        else {\n          memcpy(__dest,&local_134.field_2,local_134._M_string_length);\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n      }\n      *(size_type *)(big_endian + 4) = local_134._M_string_length;\n      __dest->_M_local_buf[local_134._M_string_length] = '\0';\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf(buf,0x100,pcVar1,uVar5);\n      puVar4 = (uint *)buf;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n      std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n      _M_construct<char_const*>\n                (&local_134,buf,(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))\n                 ,0);\n      __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                 **)big_endian;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_134._M_dataplus._M_p == &local_134.field_2) goto LAB_0004d260;\n      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)(big_endian + 8)) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = *(size_type *)(big_endian + 8);\n      *(size_type *)(big_endian + 4) = local_134._M_string_length;\n      *(pointer *)big_endian = local_134._M_dataplus._M_p;\n      *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_134.field_2._M_allocated_capacity = local_144;\n      local_134._M_dataplus._M_p = (pointer)__dest;\n    }\nLAB_0004d1e8:\n    local_134._M_string_length = 0;\n    *local_134._M_dataplus._M_p = '\0';\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)local_134._M_dataplus._M_p != &local_134.field_2) {\n      operator_delete(local_134._M_dataplus._M_p);\n    }\n  }\n  else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    std::string::_M_replace((string *)big_endian,0,*(uint *)(big_endian + 4),pcVar1,sVar2);\n  }\n  return false;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (expression_statement "allocator<char>_>_9\n  *__dest;" (binary_expression "allocator<char>_>_9\n  *__dest" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n  *__dest" identifier * identifier)) ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "size_type local_144;" type_identifier identifier ;) (ERROR "basic_string<char,_std::char_traits<char>,_std::" (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (expression_statement "allocator<char>_> local_134;" (binary_expression "allocator<char>_> local_134" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) ;) (declaration "char buf [256];" primitive_type (array_declarator "buf [256]" identifier [ number_literal ]) ;) (if_statement "if (-(int)bufsize < (int)(uint)((uchar *)0xf < ehdr_buf)) {\n    uVar5 = (uint)(byte)this[6];\n    if (uVar5 == 1) {\n      uVar5 = (uint)(byte)this[4];\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)(byte)this[5];\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)size = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-(int)bufsize < (int)(uint)((uchar *)0x33 < ehdr_buf)) {\n              *bufsize._4_4_ = 0x20;\n              return true;\n            }\n          }\n          else if (-(int)bufsize < (int)(uint)((uchar *)0x3f < ehdr_buf)) {\n            *bufsize._4_4_ = 0x40;\n            return true;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf(buf,0x100,pcVar1,uVar6);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) {\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n          }\n          else {\n            local_144 = *(size_type *)(big_endian + 8);\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n            if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf(buf,0x100,pcVar1,uVar5);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) goto LAB_0004d1b1;\nLAB_0004d351:\n          *(pointer *)big_endian = local_134._M_dataplus._M_p;\n          *(size_type *)(big_endian + 4) = local_134._M_string_length;\n          *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\nLAB_0004d362:\n          local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_134._M_string_length != 0) {\n        if (local_134._M_string_length == 1) {\n          __dest->_M_local_buf[0] = local_134.field_2._M_local_buf[0];\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n        else {\n          memcpy(__dest,&local_134.field_2,local_134._M_string_length);\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n      }\n      *(size_type *)(big_endian + 4) = local_134._M_string_length;\n      __dest->_M_local_buf[local_134._M_string_length] = '\0';\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf(buf,0x100,pcVar1,uVar5);\n      puVar4 = (uint *)buf;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n      std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n      _M_construct<char_const*>\n                (&local_134,buf,(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))\n                 ,0);\n      __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                 **)big_endian;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_134._M_dataplus._M_p == &local_134.field_2) goto LAB_0004d260;\n      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)(big_endian + 8)) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = *(size_type *)(big_endian + 8);\n      *(size_type *)(big_endian + 4) = local_134._M_string_length;\n      *(pointer *)big_endian = local_134._M_dataplus._M_p;\n      *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_134.field_2._M_allocated_capacity = local_144;\n      local_134._M_dataplus._M_p = (pointer)__dest;\n    }\nLAB_0004d1e8:\n    local_134._M_string_length = 0;\n    *local_134._M_dataplus._M_p = '\0';\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)local_134._M_dataplus._M_p != &local_134.field_2) {\n      operator_delete(local_134._M_dataplus._M_p);\n    }\n  }\n  else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    std::string::_M_replace((string *)big_endian,0,*(uint *)(big_endian + 4),pcVar1,sVar2);\n  }" if (parenthesized_expression "(-(int)bufsize < (int)(uint)((uchar *)0xf < ehdr_buf))" ( (binary_expression "-(int)bufsize < (int)(uint)((uchar *)0xf < ehdr_buf)" (unary_expression "-(int)bufsize" - (cast_expression "(int)bufsize" ( (type_descriptor "int" primitive_type) ) identifier)) < (cast_expression "(int)(uint)((uchar *)0xf < ehdr_buf)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)((uchar *)0xf < ehdr_buf)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uchar *)0xf < ehdr_buf)" ( (binary_expression "(uchar *)0xf < ehdr_buf" (cast_expression "(uchar *)0xf" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) ))))) )) (compound_statement "{\n    uVar5 = (uint)(byte)this[6];\n    if (uVar5 == 1) {\n      uVar5 = (uint)(byte)this[4];\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)(byte)this[5];\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)size = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-(int)bufsize < (int)(uint)((uchar *)0x33 < ehdr_buf)) {\n              *bufsize._4_4_ = 0x20;\n              return true;\n            }\n          }\n          else if (-(int)bufsize < (int)(uint)((uchar *)0x3f < ehdr_buf)) {\n            *bufsize._4_4_ = 0x40;\n            return true;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf(buf,0x100,pcVar1,uVar6);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) {\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n          }\n          else {\n            local_144 = *(size_type *)(big_endian + 8);\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n            if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf(buf,0x100,pcVar1,uVar5);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) goto LAB_0004d1b1;\nLAB_0004d351:\n          *(pointer *)big_endian = local_134._M_dataplus._M_p;\n          *(size_type *)(big_endian + 4) = local_134._M_string_length;\n          *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\nLAB_0004d362:\n          local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_134._M_string_length != 0) {\n        if (local_134._M_string_length == 1) {\n          __dest->_M_local_buf[0] = local_134.field_2._M_local_buf[0];\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n        else {\n          memcpy(__dest,&local_134.field_2,local_134._M_string_length);\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n      }\n      *(size_type *)(big_endian + 4) = local_134._M_string_length;\n      __dest->_M_local_buf[local_134._M_string_length] = '\0';\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf(buf,0x100,pcVar1,uVar5);\n      puVar4 = (uint *)buf;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n      std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n      _M_construct<char_const*>\n                (&local_134,buf,(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))\n                 ,0);\n      __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                 **)big_endian;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_134._M_dataplus._M_p == &local_134.field_2) goto LAB_0004d260;\n      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)(big_endian + 8)) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = *(size_type *)(big_endian + 8);\n      *(size_type *)(big_endian + 4) = local_134._M_string_length;\n      *(pointer *)big_endian = local_134._M_dataplus._M_p;\n      *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_134.field_2._M_allocated_capacity = local_144;\n      local_134._M_dataplus._M_p = (pointer)__dest;\n    }\nLAB_0004d1e8:\n    local_134._M_string_length = 0;\n    *local_134._M_dataplus._M_p = '\0';\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)local_134._M_dataplus._M_p != &local_134.field_2) {\n      operator_delete(local_134._M_dataplus._M_p);\n    }\n  }" { (expression_statement "uVar5 = (uint)(byte)this[6];" (assignment_expression "uVar5 = (uint)(byte)this[6]" identifier = (cast_expression "(uint)(byte)this[6]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)this[6]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "this[6]" identifier [ number_literal ])))) ;) (if_statement "if (uVar5 == 1) {\n      uVar5 = (uint)(byte)this[4];\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)(byte)this[5];\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)size = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-(int)bufsize < (int)(uint)((uchar *)0x33 < ehdr_buf)) {\n              *bufsize._4_4_ = 0x20;\n              return true;\n            }\n          }\n          else if (-(int)bufsize < (int)(uint)((uchar *)0x3f < ehdr_buf)) {\n            *bufsize._4_4_ = 0x40;\n            return true;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf(buf,0x100,pcVar1,uVar6);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) {\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n          }\n          else {\n            local_144 = *(size_type *)(big_endian + 8);\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n            if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf(buf,0x100,pcVar1,uVar5);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) goto LAB_0004d1b1;\nLAB_0004d351:\n          *(pointer *)big_endian = local_134._M_dataplus._M_p;\n          *(size_type *)(big_endian + 4) = local_134._M_string_length;\n          *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\nLAB_0004d362:\n          local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_134._M_string_length != 0) {\n        if (local_134._M_string_length == 1) {\n          __dest->_M_local_buf[0] = local_134.field_2._M_local_buf[0];\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n        else {\n          memcpy(__dest,&local_134.field_2,local_134._M_string_length);\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n      }\n      *(size_type *)(big_endian + 4) = local_134._M_string_length;\n      __dest->_M_local_buf[local_134._M_string_length] = '\0';\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf(buf,0x100,pcVar1,uVar5);\n      puVar4 = (uint *)buf;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n      std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n      _M_construct<char_const*>\n                (&local_134,buf,(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))\n                 ,0);\n      __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                 **)big_endian;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_134._M_dataplus._M_p == &local_134.field_2) goto LAB_0004d260;\n      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)(big_endian + 8)) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = *(size_type *)(big_endian + 8);\n      *(size_type *)(big_endian + 4) = local_134._M_string_length;\n      *(pointer *)big_endian = local_134._M_dataplus._M_p;\n      *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_134.field_2._M_allocated_capacity = local_144;\n      local_134._M_dataplus._M_p = (pointer)__dest;\n    }" if (parenthesized_expression "(uVar5 == 1)" ( (binary_expression "uVar5 == 1" identifier == number_literal) )) (compound_statement "{\n      uVar5 = (uint)(byte)this[4];\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)(byte)this[5];\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)size = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-(int)bufsize < (int)(uint)((uchar *)0x33 < ehdr_buf)) {\n              *bufsize._4_4_ = 0x20;\n              return true;\n            }\n          }\n          else if (-(int)bufsize < (int)(uint)((uchar *)0x3f < ehdr_buf)) {\n            *bufsize._4_4_ = 0x40;\n            return true;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf(buf,0x100,pcVar1,uVar6);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) {\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n          }\n          else {\n            local_144 = *(size_type *)(big_endian + 8);\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n            if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf(buf,0x100,pcVar1,uVar5);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) goto LAB_0004d1b1;\nLAB_0004d351:\n          *(pointer *)big_endian = local_134._M_dataplus._M_p;\n          *(size_type *)(big_endian + 4) = local_134._M_string_length;\n          *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\nLAB_0004d362:\n          local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_134._M_string_length != 0) {\n        if (local_134._M_string_length == 1) {\n          __dest->_M_local_buf[0] = local_134.field_2._M_local_buf[0];\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n        else {\n          memcpy(__dest,&local_134.field_2,local_134._M_string_length);\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n      }\n      *(size_type *)(big_endian + 4) = local_134._M_string_length;\n      __dest->_M_local_buf[local_134._M_string_length] = '\0';\n    }" { (expression_statement "uVar5 = (uint)(byte)this[4];" (assignment_expression "uVar5 = (uint)(byte)this[4]" identifier = (cast_expression "(uint)(byte)this[4]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)this[4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "this[4]" identifier [ number_literal ])))) ;) (if_statement "if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }" { (expression_statement "pcVar1 = "invalid ELF class 0";" (assignment_expression "pcVar1 = "invalid ELF class 0"" identifier = (string_literal ""invalid ELF class 0"" " string_content ")) ;) (goto_statement "goto LAB_0004d221;" goto statement_identifier ;) })) (if_statement "if (uVar5 - 1 < 2) {\n        uVar6 = (uint)(byte)this[5];\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)size = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-(int)bufsize < (int)(uint)((uchar *)0x33 < ehdr_buf)) {\n              *bufsize._4_4_ = 0x20;\n              return true;\n            }\n          }\n          else if (-(int)bufsize < (int)(uint)((uchar *)0x3f < ehdr_buf)) {\n            *bufsize._4_4_ = 0x40;\n            return true;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf(buf,0x100,pcVar1,uVar6);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) {\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n          }\n          else {\n            local_144 = *(size_type *)(big_endian + 8);\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n            if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf(buf,0x100,pcVar1,uVar5);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) goto LAB_0004d1b1;\nLAB_0004d351:\n          *(pointer *)big_endian = local_134._M_dataplus._M_p;\n          *(size_type *)(big_endian + 4) = local_134._M_string_length;\n          *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\nLAB_0004d362:\n          local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n          goto LAB_0004d1e8;\n        }\n      }" if (parenthesized_expression "(uVar5 - 1 < 2)" ( (binary_expression "uVar5 - 1 < 2" (binary_expression "uVar5 - 1" identifier - number_literal) < number_literal) )) (compound_statement "{\n        uVar6 = (uint)(byte)this[5];\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)size = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-(int)bufsize < (int)(uint)((uchar *)0x33 < ehdr_buf)) {\n              *bufsize._4_4_ = 0x20;\n              return true;\n            }\n          }\n          else if (-(int)bufsize < (int)(uint)((uchar *)0x3f < ehdr_buf)) {\n            *bufsize._4_4_ = 0x40;\n            return true;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf(buf,0x100,pcVar1,uVar6);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) {\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n          }\n          else {\n            local_144 = *(size_type *)(big_endian + 8);\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n            if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }" { (expression_statement "uVar6 = (uint)(byte)this[5];" (assignment_expression "uVar6 = (uint)(byte)this[5]" identifier = (cast_expression "(uint)(byte)this[5]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)this[5]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "this[5]" identifier [ number_literal ])))) ;) (if_statement "if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }" { (expression_statement "pcVar1 = "invalid ELF data encoding";" (assignment_expression "pcVar1 = "invalid ELF data encoding"" identifier = (string_literal ""invalid ELF data encoding"" " string_content ")) ;) (goto_statement "goto LAB_0004d221;" goto statement_identifier ;) })) (if_statement "if (uVar6 - 1 < 2) {\n          *(bool *)size = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-(int)bufsize < (int)(uint)((uchar *)0x33 < ehdr_buf)) {\n              *bufsize._4_4_ = 0x20;\n              return true;\n            }\n          }\n          else if (-(int)bufsize < (int)(uint)((uchar *)0x3f < ehdr_buf)) {\n            *bufsize._4_4_ = 0x40;\n            return true;\n          }\n          goto LAB_0004d218;\n        }" if (parenthesized_expression "(uVar6 - 1 < 2)" ( (binary_expression "uVar6 - 1 < 2" (binary_expression "uVar6 - 1" identifier - number_literal) < number_literal) )) (compound_statement "{\n          *(bool *)size = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-(int)bufsize < (int)(uint)((uchar *)0x33 < ehdr_buf)) {\n              *bufsize._4_4_ = 0x20;\n              return true;\n            }\n          }\n          else if (-(int)bufsize < (int)(uint)((uchar *)0x3f < ehdr_buf)) {\n            *bufsize._4_4_ = 0x40;\n            return true;\n          }\n          goto LAB_0004d218;\n        }" { (expression_statement "*(bool *)size = uVar6 == 2;" (assignment_expression "*(bool *)size = uVar6 == 2" (pointer_expression "*(bool *)size" * (cast_expression "(bool *)size" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "uVar6 == 2" identifier == number_literal)) ;) (if_statement "if (uVar5 == 1) {\n            if (-(int)bufsize < (int)(uint)((uchar *)0x33 < ehdr_buf)) {\n              *bufsize._4_4_ = 0x20;\n              return true;\n            }\n          }\n          else if (-(int)bufsize < (int)(uint)((uchar *)0x3f < ehdr_buf)) {\n            *bufsize._4_4_ = 0x40;\n            return true;\n          }" if (parenthesized_expression "(uVar5 == 1)" ( (binary_expression "uVar5 == 1" identifier == number_literal) )) (compound_statement "{\n            if (-(int)bufsize < (int)(uint)((uchar *)0x33 < ehdr_buf)) {\n              *bufsize._4_4_ = 0x20;\n              return true;\n            }\n          }" { (if_statement "if (-(int)bufsize < (int)(uint)((uchar *)0x33 < ehdr_buf)) {\n              *bufsize._4_4_ = 0x20;\n              return true;\n            }" if (parenthesized_expression "(-(int)bufsize < (int)(uint)((uchar *)0x33 < ehdr_buf))" ( (binary_expression "-(int)bufsize < (int)(uint)((uchar *)0x33 < ehdr_buf)" (unary_expression "-(int)bufsize" - (cast_expression "(int)bufsize" ( (type_descriptor "int" primitive_type) ) identifier)) < (cast_expression "(int)(uint)((uchar *)0x33 < ehdr_buf)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)((uchar *)0x33 < ehdr_buf)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uchar *)0x33 < ehdr_buf)" ( (binary_expression "(uchar *)0x33 < ehdr_buf" (cast_expression "(uchar *)0x33" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) ))))) )) (compound_statement "{\n              *bufsize._4_4_ = 0x20;\n              return true;\n            }" { (expression_statement "*bufsize._4_4_ = 0x20;" (assignment_expression "*bufsize._4_4_ = 0x20" (pointer_expression "*bufsize._4_4_" * (field_expression "bufsize._4_4_" identifier . field_identifier)) = number_literal) ;) (return_statement "return true;" return true ;) })) }) (else_clause "else if (-(int)bufsize < (int)(uint)((uchar *)0x3f < ehdr_buf)) {\n            *bufsize._4_4_ = 0x40;\n            return true;\n          }" else (if_statement "if (-(int)bufsize < (int)(uint)((uchar *)0x3f < ehdr_buf)) {\n            *bufsize._4_4_ = 0x40;\n            return true;\n          }" if (parenthesized_expression "(-(int)bufsize < (int)(uint)((uchar *)0x3f < ehdr_buf))" ( (binary_expression "-(int)bufsize < (int)(uint)((uchar *)0x3f < ehdr_buf)" (unary_expression "-(int)bufsize" - (cast_expression "(int)bufsize" ( (type_descriptor "int" primitive_type) ) identifier)) < (cast_expression "(int)(uint)((uchar *)0x3f < ehdr_buf)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)((uchar *)0x3f < ehdr_buf)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uchar *)0x3f < ehdr_buf)" ( (binary_expression "(uchar *)0x3f < ehdr_buf" (cast_expression "(uchar *)0x3f" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) ))))) )) (compound_statement "{\n            *bufsize._4_4_ = 0x40;\n            return true;\n          }" { (expression_statement "*bufsize._4_4_ = 0x40;" (assignment_expression "*bufsize._4_4_ = 0x40" (pointer_expression "*bufsize._4_4_" * (field_expression "bufsize._4_4_" identifier . field_identifier)) = number_literal) ;) (return_statement "return true;" return true ;) })))) (goto_statement "goto LAB_0004d218;" goto statement_identifier ;) })) (expression_statement "pcVar1 = (char *)gettext("unsupported ELF data encoding %d");" (assignment_expression "pcVar1 = (char *)gettext("unsupported ELF data encoding %d")" identifier = (cast_expression "(char *)gettext("unsupported ELF data encoding %d")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("unsupported ELF data encoding %d")" identifier (argument_list "("unsupported ELF data encoding %d")" ( (string_literal ""unsupported ELF data encoding %d"" " string_content ") ))))) ;) (expression_statement "snprintf(buf,0x100,pcVar1,uVar6);" (call_expression "snprintf(buf,0x100,pcVar1,uVar6)" identifier (argument_list "(buf,0x100,pcVar1,uVar6)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "puVar4 = (uint *)buf;" (assignment_expression "puVar4 = (uint *)buf" identifier = (cast_expression "(uint *)buf" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);" do (compound_statement "{\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        }" { (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (expression_statement "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;" (assignment_expression "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3" identifier = (binary_expression "*puVar3 + 0xfefefeff & ~*puVar3" (binary_expression "*puVar3 + 0xfefefeff" (pointer_expression "*puVar3" * identifier) + number_literal) & (unary_expression "~*puVar3" ~ (pointer_expression "*puVar3" * identifier)))) ;) (expression_statement "uVar5 = uVar6 & 0x80808080;" (assignment_expression "uVar5 = uVar6 & 0x80808080" identifier = (binary_expression "uVar6 & 0x80808080" identifier & number_literal)) ;) (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) ;) (expression_statement "bVar7 = (uVar6 & 0x8080) == 0;" (assignment_expression "bVar7 = (uVar6 & 0x8080) == 0" identifier = (binary_expression "(uVar6 & 0x8080) == 0" (parenthesized_expression "(uVar6 & 0x8080)" ( (binary_expression "uVar6 & 0x8080" identifier & number_literal) )) == number_literal)) ;) (if_statement "if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n          uVar5 = uVar5 >> 0x10;\n        }" { (expression_statement "uVar5 = uVar5 >> 0x10;" (assignment_expression "uVar5 = uVar5 >> 0x10" identifier = (binary_expression "uVar5 >> 0x10" identifier >> number_literal)) ;) })) (if_statement "if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }" { (expression_statement "puVar4 = (uint *)((int)puVar3 + 6);" (assignment_expression "puVar4 = (uint *)((int)puVar3 + 6)" identifier = (cast_expression "(uint *)((int)puVar3 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 6)" ( (binary_expression "(int)puVar3 + 6" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (expression_statement "local_134._M_dataplus._M_p = (pointer)&local_134.field_2;" (assignment_expression "local_134._M_dataplus._M_p = (pointer)&local_134.field_2" (field_expression "local_134._M_dataplus._M_p" (field_expression "local_134._M_dataplus" identifier . field_identifier) . field_identifier) = (binary_expression "(pointer)&local_134.field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "local_134.field_2" identifier . field_identifier))) ;) (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);" statement_identifier (ERROR "::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>:" : : (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : : (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > :) : (expression_statement "_M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);" (binary_expression "_M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" ( (comma_expression "&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0" (pointer_expression "&local_134" & identifier) , (comma_expression "buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0" identifier , (comma_expression "(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0" (cast_expression "(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (binary_expression "(int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" ( (binary_expression "-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)" number_literal - (cast_expression "(uint)CARRY1((byte)uVar5,(byte)uVar5)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY1((byte)uVar5,(byte)uVar5)" identifier (argument_list "((byte)uVar5,(byte)uVar5)" ( (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) , (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) ))))) ))) ))) , number_literal))) ))) ;)) (expression_statement "__dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;" (assignment_expression "__dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian" identifier = (pointer_expression "*(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian" * (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n                   **)big_endian" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n                   **)big_endian" identifier * (pointer_expression "*)big_endian" * (ERROR ")" )) identifier))) )))) ;) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) {\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n          }\n          else {\n            local_144 = *(size_type *)(big_endian + 8);\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n            if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2" (binary_expression "allocator<char>_>_9\n             *)local_134._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n             *)local_134._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "local_134._M_dataplus._M_p" (field_expression "local_134._M_dataplus" identifier . field_identifier) . field_identifier))) != (pointer_expression "&local_134.field_2" & (field_expression "local_134.field_2" identifier . field_identifier))) )) )) (compound_statement "{\n          if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) {\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n          }\n          else {\n            local_144 = *(size_type *)(big_endian + 8);\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n            if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }" { (if_statement "if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) {\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n          }\n          else {\n            local_144 = *(size_type *)(big_endian + 8);\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n            if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0) goto LAB_0004d1d6;\n          }" if (parenthesized_expression "(__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8))" ( (binary_expression "__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)" identifier == (call_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)" (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) (ERROR "*" *) )) (argument_list "(big_endian + 8)" ( (binary_expression "big_endian + 8" identifier + number_literal) )))) )) (compound_statement "{\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n          }" { (expression_statement "*(pointer *)big_endian = local_134._M_dataplus._M_p;" (assignment_expression "*(pointer *)big_endian = local_134._M_dataplus._M_p" (pointer_expression "*(pointer *)big_endian" * (cast_expression "(pointer *)big_endian" ( (type_descriptor "pointer *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (field_expression "local_134._M_dataplus._M_p" (field_expression "local_134._M_dataplus" identifier . field_identifier) . field_identifier)) ;) (expression_statement "*(size_type *)(big_endian + 4) = local_134._M_string_length;" (assignment_expression "*(size_type *)(big_endian + 4) = local_134._M_string_length" (pointer_expression "*(size_type *)(big_endian + 4)" * (cast_expression "(size_type *)(big_endian + 4)" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(big_endian + 4)" ( (binary_expression "big_endian + 4" identifier + number_literal) )))) = (field_expression "local_134._M_string_length" identifier . field_identifier)) ;) (expression_statement "*(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;" (assignment_expression "*(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity" (pointer_expression "*(size_type *)(big_endian + 8)" * (cast_expression "(size_type *)(big_endian + 8)" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(big_endian + 8)" ( (binary_expression "big_endian + 8" identifier + number_literal) )))) = (field_expression "local_134.field_2._M_allocated_capacity" (field_expression "local_134.field_2" identifier . field_identifier) . field_identifier)) ;) }) (else_clause "else {\n            local_144 = *(size_type *)(big_endian + 8);\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n            if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0) goto LAB_0004d1d6;\n          }" else (compound_statement "{\n            local_144 = *(size_type *)(big_endian + 8);\n            *(pointer *)big_endian = local_134._M_dataplus._M_p;\n            *(size_type *)(big_endian + 4) = local_134._M_string_length;\n            *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n            if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0) goto LAB_0004d1d6;\n          }" { (expression_statement "local_144 = *(size_type *)(big_endian + 8);" (assignment_expression "local_144 = *(size_type *)(big_endian + 8)" identifier = (pointer_expression "*(size_type *)(big_endian + 8)" * (cast_expression "(size_type *)(big_endian + 8)" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(big_endian + 8)" ( (binary_expression "big_endian + 8" identifier + number_literal) ))))) ;) (expression_statement "*(pointer *)big_endian = local_134._M_dataplus._M_p;" (assignment_expression "*(pointer *)big_endian = local_134._M_dataplus._M_p" (pointer_expression "*(pointer *)big_endian" * (cast_expression "(pointer *)big_endian" ( (type_descriptor "pointer *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (field_expression "local_134._M_dataplus._M_p" (field_expression "local_134._M_dataplus" identifier . field_identifier) . field_identifier)) ;) (expression_statement "*(size_type *)(big_endian + 4) = local_134._M_string_length;" (assignment_expression "*(size_type *)(big_endian + 4) = local_134._M_string_length" (pointer_expression "*(size_type *)(big_endian + 4)" * (cast_expression "(size_type *)(big_endian + 4)" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(big_endian + 4)" ( (binary_expression "big_endian + 4" identifier + number_literal) )))) = (field_expression "local_134._M_string_length" identifier . field_identifier)) ;) (expression_statement "*(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;" (assignment_expression "*(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity" (pointer_expression "*(size_type *)(big_endian + 8)" * (cast_expression "(size_type *)(big_endian + 8)" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(big_endian + 8)" ( (binary_expression "big_endian + 8" identifier + number_literal) )))) = (field_expression "local_134.field_2._M_allocated_capacity" (field_expression "local_134.field_2" identifier . field_identifier) . field_identifier)) ;) (if_statement "if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0) goto LAB_0004d1d6;" if (parenthesized_expression "(__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0)" ( (binary_expression "__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0)" identifier != (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                           *)0x0)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n                           *)0x0" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n                           *)0x0" identifier * (ERROR ")" )) number_literal)) ))) )) (goto_statement "goto LAB_0004d1d6;" goto statement_identifier ;)) }))) (goto_statement "goto LAB_0004d362;" goto statement_identifier ;) })) }) (else_clause "else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf(buf,0x100,pcVar1,uVar5);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) goto LAB_0004d1b1;\nLAB_0004d351:\n          *(pointer *)big_endian = local_134._M_dataplus._M_p;\n          *(size_type *)(big_endian + 4) = local_134._M_string_length;\n          *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\nLAB_0004d362:\n          local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n          goto LAB_0004d1e8;\n        }\n      }" else (compound_statement "{\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf(buf,0x100,pcVar1,uVar5);\n        puVar4 = (uint *)buf;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n        std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;\n        if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) goto LAB_0004d1b1;\nLAB_0004d351:\n          *(pointer *)big_endian = local_134._M_dataplus._M_p;\n          *(size_type *)(big_endian + 4) = local_134._M_string_length;\n          *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\nLAB_0004d362:\n          local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n          goto LAB_0004d1e8;\n        }\n      }" { (expression_statement "pcVar1 = (char *)gettext("unsupported ELF class %d");" (assignment_expression "pcVar1 = (char *)gettext("unsupported ELF class %d")" identifier = (cast_expression "(char *)gettext("unsupported ELF class %d")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("unsupported ELF class %d")" identifier (argument_list "("unsupported ELF class %d")" ( (string_literal ""unsupported ELF class %d"" " string_content ") ))))) ;) (expression_statement "snprintf(buf,0x100,pcVar1,uVar5);" (call_expression "snprintf(buf,0x100,pcVar1,uVar5)" identifier (argument_list "(buf,0x100,pcVar1,uVar5)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "puVar4 = (uint *)buf;" (assignment_expression "puVar4 = (uint *)buf" identifier = (cast_expression "(uint *)buf" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);" do (compound_statement "{\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        }" { (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (expression_statement "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;" (assignment_expression "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3" identifier = (binary_expression "*puVar3 + 0xfefefeff & ~*puVar3" (binary_expression "*puVar3 + 0xfefefeff" (pointer_expression "*puVar3" * identifier) + number_literal) & (unary_expression "~*puVar3" ~ (pointer_expression "*puVar3" * identifier)))) ;) (expression_statement "uVar5 = uVar6 & 0x80808080;" (assignment_expression "uVar5 = uVar6 & 0x80808080" identifier = (binary_expression "uVar6 & 0x80808080" identifier & number_literal)) ;) (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) ;) (expression_statement "bVar7 = (uVar6 & 0x8080) == 0;" (assignment_expression "bVar7 = (uVar6 & 0x8080) == 0" identifier = (binary_expression "(uVar6 & 0x8080) == 0" (parenthesized_expression "(uVar6 & 0x8080)" ( (binary_expression "uVar6 & 0x8080" identifier & number_literal) )) == number_literal)) ;) (if_statement "if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n          uVar5 = uVar5 >> 0x10;\n        }" { (expression_statement "uVar5 = uVar5 >> 0x10;" (assignment_expression "uVar5 = uVar5 >> 0x10" identifier = (binary_expression "uVar5 >> 0x10" identifier >> number_literal)) ;) })) (if_statement "if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }" { (expression_statement "puVar4 = (uint *)((int)puVar3 + 6);" (assignment_expression "puVar4 = (uint *)((int)puVar3 + 6)" identifier = (cast_expression "(uint *)((int)puVar3 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 6)" ( (binary_expression "(int)puVar3 + 6" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (expression_statement "local_134._M_dataplus._M_p = (pointer)&local_134.field_2;" (assignment_expression "local_134._M_dataplus._M_p = (pointer)&local_134.field_2" (field_expression "local_134._M_dataplus._M_p" (field_expression "local_134._M_dataplus" identifier . field_identifier) . field_identifier) = (binary_expression "(pointer)&local_134.field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "local_134.field_2" identifier . field_identifier))) ;) (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n        _M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);" statement_identifier (ERROR "::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>:" : : (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : : (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > :) : (expression_statement "_M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);" (binary_expression "_M_construct<char_const*>\n                  (&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" ( (comma_expression "&local_134,buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0" (pointer_expression "&local_134" & identifier) , (comma_expression "buf,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0" identifier , (comma_expression "(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0" (cast_expression "(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (binary_expression "(int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" ( (binary_expression "-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)" number_literal - (cast_expression "(uint)CARRY1((byte)uVar5,(byte)uVar5)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY1((byte)uVar5,(byte)uVar5)" identifier (argument_list "((byte)uVar5,(byte)uVar5)" ( (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) , (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) ))))) ))) ))) , number_literal))) ))) ;)) (expression_statement "__dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian;" (assignment_expression "__dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian" identifier = (pointer_expression "*(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian" * (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   **)big_endian" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n                   **)big_endian" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n                   **)big_endian" identifier * (pointer_expression "*)big_endian" * (ERROR ")" )) identifier))) )))) ;) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2) {\n          if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) goto LAB_0004d1b1;\nLAB_0004d351:\n          *(pointer *)big_endian = local_134._M_dataplus._M_p;\n          *(size_type *)(big_endian + 4) = local_134._M_string_length;\n          *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\nLAB_0004d362:\n          local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n          goto LAB_0004d1e8;\n        }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n             *)local_134._M_dataplus._M_p != &local_134.field_2" (binary_expression "allocator<char>_>_9\n             *)local_134._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n             *)local_134._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "local_134._M_dataplus._M_p" (field_expression "local_134._M_dataplus" identifier . field_identifier) . field_identifier))) != (pointer_expression "&local_134.field_2" & (field_expression "local_134.field_2" identifier . field_identifier))) )) )) (compound_statement "{\n          if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) goto LAB_0004d1b1;\nLAB_0004d351:\n          *(pointer *)big_endian = local_134._M_dataplus._M_p;\n          *(size_type *)(big_endian + 4) = local_134._M_string_length;\n          *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\nLAB_0004d362:\n          local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n          goto LAB_0004d1e8;\n        }" { (if_statement "if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)) goto LAB_0004d1b1;" if (parenthesized_expression "(__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8))" ( (binary_expression "__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)" identifier != (call_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)(big_endian + 8)" (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                         *)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) (ERROR "*" *) )) (argument_list "(big_endian + 8)" ( (binary_expression "big_endian + 8" identifier + number_literal) )))) )) (goto_statement "goto LAB_0004d1b1;" goto statement_identifier ;)) (labeled_statement "LAB_0004d351:\n          *(pointer *)big_endian = local_134._M_dataplus._M_p;" statement_identifier : (expression_statement "*(pointer *)big_endian = local_134._M_dataplus._M_p;" (assignment_expression "*(pointer *)big_endian = local_134._M_dataplus._M_p" (pointer_expression "*(pointer *)big_endian" * (cast_expression "(pointer *)big_endian" ( (type_descriptor "pointer *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (field_expression "local_134._M_dataplus._M_p" (field_expression "local_134._M_dataplus" identifier . field_identifier) . field_identifier)) ;)) (expression_statement "*(size_type *)(big_endian + 4) = local_134._M_string_length;" (assignment_expression "*(size_type *)(big_endian + 4) = local_134._M_string_length" (pointer_expression "*(size_type *)(big_endian + 4)" * (cast_expression "(size_type *)(big_endian + 4)" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(big_endian + 4)" ( (binary_expression "big_endian + 4" identifier + number_literal) )))) = (field_expression "local_134._M_string_length" identifier . field_identifier)) ;) (expression_statement "*(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;" (assignment_expression "*(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity" (pointer_expression "*(size_type *)(big_endian + 8)" * (cast_expression "(size_type *)(big_endian + 8)" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(big_endian + 8)" ( (binary_expression "big_endian + 8" identifier + number_literal) )))) = (field_expression "local_134.field_2._M_allocated_capacity" (field_expression "local_134.field_2" identifier . field_identifier) . field_identifier)) ;) (labeled_statement "LAB_0004d362:\n          local_134._M_dataplus._M_p = (pointer)&local_134.field_2;" statement_identifier : (expression_statement "local_134._M_dataplus._M_p = (pointer)&local_134.field_2;" (assignment_expression "local_134._M_dataplus._M_p = (pointer)&local_134.field_2" (field_expression "local_134._M_dataplus._M_p" (field_expression "local_134._M_dataplus" identifier . field_identifier) . field_identifier) = (binary_expression "(pointer)&local_134.field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "local_134.field_2" identifier . field_identifier))) ;)) (goto_statement "goto LAB_0004d1e8;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_0004d260:\n      if (local_134._M_string_length != 0) {\n        if (local_134._M_string_length == 1) {\n          __dest->_M_local_buf[0] = local_134.field_2._M_local_buf[0];\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n        else {\n          memcpy(__dest,&local_134.field_2,local_134._M_string_length);\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n      }" statement_identifier : (if_statement "if (local_134._M_string_length != 0) {\n        if (local_134._M_string_length == 1) {\n          __dest->_M_local_buf[0] = local_134.field_2._M_local_buf[0];\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n        else {\n          memcpy(__dest,&local_134.field_2,local_134._M_string_length);\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n      }" if (parenthesized_expression "(local_134._M_string_length != 0)" ( (binary_expression "local_134._M_string_length != 0" (field_expression "local_134._M_string_length" identifier . field_identifier) != number_literal) )) (compound_statement "{\n        if (local_134._M_string_length == 1) {\n          __dest->_M_local_buf[0] = local_134.field_2._M_local_buf[0];\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n        else {\n          memcpy(__dest,&local_134.field_2,local_134._M_string_length);\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n      }" { (if_statement "if (local_134._M_string_length == 1) {\n          __dest->_M_local_buf[0] = local_134.field_2._M_local_buf[0];\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }\n        else {\n          memcpy(__dest,&local_134.field_2,local_134._M_string_length);\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }" if (parenthesized_expression "(local_134._M_string_length == 1)" ( (binary_expression "local_134._M_string_length == 1" (field_expression "local_134._M_string_length" identifier . field_identifier) == number_literal) )) (compound_statement "{\n          __dest->_M_local_buf[0] = local_134.field_2._M_local_buf[0];\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }" { (expression_statement "__dest->_M_local_buf[0] = local_134.field_2._M_local_buf[0];" (assignment_expression "__dest->_M_local_buf[0] = local_134.field_2._M_local_buf[0]" (subscript_expression "__dest->_M_local_buf[0]" (field_expression "__dest->_M_local_buf" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "local_134.field_2._M_local_buf[0]" (field_expression "local_134.field_2._M_local_buf" (field_expression "local_134.field_2" identifier . field_identifier) . field_identifier) [ number_literal ])) ;) (expression_statement "__dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;" (assignment_expression "__dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian" identifier = (pointer_expression "*(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian" * (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n                     **)big_endian" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n                     **)big_endian" identifier * (pointer_expression "*)big_endian" * (ERROR ")" )) identifier))) )))) ;) }) (else_clause "else {\n          memcpy(__dest,&local_134.field_2,local_134._M_string_length);\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }" else (compound_statement "{\n          memcpy(__dest,&local_134.field_2,local_134._M_string_length);\n          __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;\n        }" { (expression_statement "memcpy(__dest,&local_134.field_2,local_134._M_string_length);" (call_expression "memcpy(__dest,&local_134.field_2,local_134._M_string_length)" identifier (argument_list "(__dest,&local_134.field_2,local_134._M_string_length)" ( identifier , (pointer_expression "&local_134.field_2" & (field_expression "local_134.field_2" identifier . field_identifier)) , (field_expression "local_134._M_string_length" identifier . field_identifier) ))) ;) (expression_statement "__dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian;" (assignment_expression "__dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian" identifier = (pointer_expression "*(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian" * (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     **)big_endian" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n                     **)big_endian" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n                     **)big_endian" identifier * (pointer_expression "*)big_endian" * (ERROR ")" )) identifier))) )))) ;) }))) }))) (expression_statement "*(size_type *)(big_endian + 4) = local_134._M_string_length;" (assignment_expression "*(size_type *)(big_endian + 4) = local_134._M_string_length" (pointer_expression "*(size_type *)(big_endian + 4)" * (cast_expression "(size_type *)(big_endian + 4)" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(big_endian + 4)" ( (binary_expression "big_endian + 4" identifier + number_literal) )))) = (field_expression "local_134._M_string_length" identifier . field_identifier)) ;) (expression_statement "__dest->_M_local_buf[local_134._M_string_length] = '\0';" (assignment_expression "__dest->_M_local_buf[local_134._M_string_length] = '\0'" (subscript_expression "__dest->_M_local_buf[local_134._M_string_length]" (field_expression "__dest->_M_local_buf" identifier -> field_identifier) [ (field_expression "local_134._M_string_length" identifier . field_identifier) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) }) (else_clause "else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf(buf,0x100,pcVar1,uVar5);\n      puVar4 = (uint *)buf;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n      std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n      _M_construct<char_const*>\n                (&local_134,buf,(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))\n                 ,0);\n      __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                 **)big_endian;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_134._M_dataplus._M_p == &local_134.field_2) goto LAB_0004d260;\n      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)(big_endian + 8)) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = *(size_type *)(big_endian + 8);\n      *(size_type *)(big_endian + 4) = local_134._M_string_length;\n      *(pointer *)big_endian = local_134._M_dataplus._M_p;\n      *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_134.field_2._M_allocated_capacity = local_144;\n      local_134._M_dataplus._M_p = (pointer)__dest;\n    }" else (compound_statement "{\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf(buf,0x100,pcVar1,uVar5);\n      puVar4 = (uint *)buf;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134._M_dataplus._M_p = (pointer)&local_134.field_2;\n      std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n      _M_construct<char_const*>\n                (&local_134,buf,(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))\n                 ,0);\n      __dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                 **)big_endian;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_134._M_dataplus._M_p == &local_134.field_2) goto LAB_0004d260;\n      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)(big_endian + 8)) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = *(size_type *)(big_endian + 8);\n      *(size_type *)(big_endian + 4) = local_134._M_string_length;\n      *(pointer *)big_endian = local_134._M_dataplus._M_p;\n      *(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;\n      if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_134.field_2._M_allocated_capacity = local_144;\n      local_134._M_dataplus._M_p = (pointer)__dest;\n    }" { (if_statement "if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }" { (expression_statement "pcVar1 = "invalid ELF version 0";" (assignment_expression "pcVar1 = "invalid ELF version 0"" identifier = (string_literal ""invalid ELF version 0"" " string_content ")) ;) (goto_statement "goto LAB_0004d221;" goto statement_identifier ;) })) (expression_statement "pcVar1 = (char *)gettext("unsupported ELF version %d");" (assignment_expression "pcVar1 = (char *)gettext("unsupported ELF version %d")" identifier = (cast_expression "(char *)gettext("unsupported ELF version %d")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("unsupported ELF version %d")" identifier (argument_list "("unsupported ELF version %d")" ( (string_literal ""unsupported ELF version %d"" " string_content ") ))))) ;) (expression_statement "snprintf(buf,0x100,pcVar1,uVar5);" (call_expression "snprintf(buf,0x100,pcVar1,uVar5)" identifier (argument_list "(buf,0x100,pcVar1,uVar5)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "puVar4 = (uint *)buf;" (assignment_expression "puVar4 = (uint *)buf" identifier = (cast_expression "(uint *)buf" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);" do (compound_statement "{\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      }" { (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (expression_statement "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;" (assignment_expression "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3" identifier = (binary_expression "*puVar3 + 0xfefefeff & ~*puVar3" (binary_expression "*puVar3 + 0xfefefeff" (pointer_expression "*puVar3" * identifier) + number_literal) & (unary_expression "~*puVar3" ~ (pointer_expression "*puVar3" * identifier)))) ;) (expression_statement "uVar5 = uVar6 & 0x80808080;" (assignment_expression "uVar5 = uVar6 & 0x80808080" identifier = (binary_expression "uVar6 & 0x80808080" identifier & number_literal)) ;) (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) ;) (expression_statement "bVar7 = (uVar6 & 0x8080) == 0;" (assignment_expression "bVar7 = (uVar6 & 0x8080) == 0" identifier = (binary_expression "(uVar6 & 0x8080) == 0" (parenthesized_expression "(uVar6 & 0x8080)" ( (binary_expression "uVar6 & 0x8080" identifier & number_literal) )) == number_literal)) ;) (if_statement "if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n        uVar5 = uVar5 >> 0x10;\n      }" { (expression_statement "uVar5 = uVar5 >> 0x10;" (assignment_expression "uVar5 = uVar5 >> 0x10" identifier = (binary_expression "uVar5 >> 0x10" identifier >> number_literal)) ;) })) (if_statement "if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }" { (expression_statement "puVar4 = (uint *)((int)puVar3 + 6);" (assignment_expression "puVar4 = (uint *)((int)puVar3 + 6)" identifier = (cast_expression "(uint *)((int)puVar3 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 6)" ( (binary_expression "(int)puVar3 + 6" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (expression_statement "local_134._M_dataplus._M_p = (pointer)&local_134.field_2;" (assignment_expression "local_134._M_dataplus._M_p = (pointer)&local_134.field_2" (field_expression "local_134._M_dataplus._M_p" (field_expression "local_134._M_dataplus" identifier . field_identifier) . field_identifier) = (binary_expression "(pointer)&local_134.field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "local_134.field_2" identifier . field_identifier))) ;) (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n      _M_construct<char_const*>\n                (&local_134,buf,(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))\n                 ,0);" statement_identifier (ERROR "::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>:" : : (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : : (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > :) : (expression_statement "_M_construct<char_const*>\n                (&local_134,buf,(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))\n                 ,0);" (binary_expression "_M_construct<char_const*>\n                (&local_134,buf,(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))\n                 ,0)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(&local_134,buf,(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))\n                 ,0)" ( (comma_expression "&local_134,buf,(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))\n                 ,0" (pointer_expression "&local_134" & identifier) , (comma_expression "buf,(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))\n                 ,0" identifier , (comma_expression "(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))\n                 ,0" (cast_expression "(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (binary_expression "(int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" ( (binary_expression "-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)" number_literal - (cast_expression "(uint)CARRY1((byte)uVar5,(byte)uVar5)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY1((byte)uVar5,(byte)uVar5)" identifier (argument_list "((byte)uVar5,(byte)uVar5)" ( (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) , (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) ))))) ))) ))) , number_literal))) ))) ;)) (expression_statement "__dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                 **)big_endian;" (assignment_expression "__dest = *(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                 **)big_endian" identifier = (pointer_expression "*(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                 **)big_endian" * (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                 **)big_endian" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n                 **)big_endian" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n                 **)big_endian" identifier * (pointer_expression "*)big_endian" * (ERROR ")" )) identifier))) )))) ;) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_134._M_dataplus._M_p == &local_134.field_2) goto LAB_0004d260;" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_134._M_dataplus._M_p == &local_134.field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_134._M_dataplus._M_p == &local_134.field_2)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n           *)local_134._M_dataplus._M_p == &local_134.field_2" (binary_expression "allocator<char>_>_9\n           *)local_134._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n           *)local_134._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "local_134._M_dataplus._M_p" (field_expression "local_134._M_dataplus" identifier . field_identifier) . field_identifier))) == (pointer_expression "&local_134.field_2" & (field_expression "local_134.field_2" identifier . field_identifier))) )) )) (goto_statement "goto LAB_0004d260;" goto statement_identifier ;)) (if_statement "if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)(big_endian + 8)) goto LAB_0004d351;" if (parenthesized_expression "(__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)(big_endian + 8))" ( (binary_expression "__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)(big_endian + 8)" identifier == (call_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)(big_endian + 8)" (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) (ERROR "*" *) )) (argument_list "(big_endian + 8)" ( (binary_expression "big_endian + 8" identifier + number_literal) )))) )) (goto_statement "goto LAB_0004d351;" goto statement_identifier ;)) (labeled_statement "LAB_0004d1b1:\n      local_144 = *(size_type *)(big_endian + 8);" statement_identifier : (expression_statement "local_144 = *(size_type *)(big_endian + 8);" (assignment_expression "local_144 = *(size_type *)(big_endian + 8)" identifier = (pointer_expression "*(size_type *)(big_endian + 8)" * (cast_expression "(size_type *)(big_endian + 8)" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(big_endian + 8)" ( (binary_expression "big_endian + 8" identifier + number_literal) ))))) ;)) (expression_statement "*(size_type *)(big_endian + 4) = local_134._M_string_length;" (assignment_expression "*(size_type *)(big_endian + 4) = local_134._M_string_length" (pointer_expression "*(size_type *)(big_endian + 4)" * (cast_expression "(size_type *)(big_endian + 4)" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(big_endian + 4)" ( (binary_expression "big_endian + 4" identifier + number_literal) )))) = (field_expression "local_134._M_string_length" identifier . field_identifier)) ;) (expression_statement "*(pointer *)big_endian = local_134._M_dataplus._M_p;" (assignment_expression "*(pointer *)big_endian = local_134._M_dataplus._M_p" (pointer_expression "*(pointer *)big_endian" * (cast_expression "(pointer *)big_endian" ( (type_descriptor "pointer *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (field_expression "local_134._M_dataplus._M_p" (field_expression "local_134._M_dataplus" identifier . field_identifier) . field_identifier)) ;) (expression_statement "*(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity;" (assignment_expression "*(size_type *)(big_endian + 8) = local_134.field_2._M_allocated_capacity" (pointer_expression "*(size_type *)(big_endian + 8)" * (cast_expression "(size_type *)(big_endian + 8)" ( (type_descriptor "size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(big_endian + 8)" ( (binary_expression "big_endian + 8" identifier + number_literal) )))) = (field_expression "local_134.field_2._M_allocated_capacity" (field_expression "local_134.field_2" identifier . field_identifier) . field_identifier)) ;) (if_statement "if (__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_0004d362;" if (parenthesized_expression "(__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0)" ( (binary_expression "__dest == (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0)" identifier == (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n                     *)0x0" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n                     *)0x0" identifier * (ERROR ")" )) number_literal)) ))) )) (goto_statement "goto LAB_0004d362;" goto statement_identifier ;)) (labeled_statement "LAB_0004d1d6:\n      local_134.field_2._M_allocated_capacity = local_144;" statement_identifier : (expression_statement "local_134.field_2._M_allocated_capacity = local_144;" (assignment_expression "local_134.field_2._M_allocated_capacity = local_144" (field_expression "local_134.field_2._M_allocated_capacity" (field_expression "local_134.field_2" identifier . field_identifier) . field_identifier) = identifier) ;)) (expression_statement "local_134._M_dataplus._M_p = (pointer)__dest;" (assignment_expression "local_134._M_dataplus._M_p = (pointer)__dest" (field_expression "local_134._M_dataplus._M_p" (field_expression "local_134._M_dataplus" identifier . field_identifier) . field_identifier) = (cast_expression "(pointer)__dest" ( (type_descriptor "pointer" type_identifier) ) identifier)) ;) }))) (labeled_statement "LAB_0004d1e8:\n    local_134._M_string_length = 0;" statement_identifier : (expression_statement "local_134._M_string_length = 0;" (assignment_expression "local_134._M_string_length = 0" (field_expression "local_134._M_string_length" identifier . field_identifier) = number_literal) ;)) (expression_statement "*local_134._M_dataplus._M_p = '\0';" (assignment_expression "*local_134._M_dataplus._M_p = '\0'" (pointer_expression "*local_134._M_dataplus._M_p" * (field_expression "local_134._M_dataplus._M_p" (field_expression "local_134._M_dataplus" identifier . field_identifier) . field_identifier)) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)local_134._M_dataplus._M_p != &local_134.field_2) {\n      operator_delete(local_134._M_dataplus._M_p);\n    }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)local_134._M_dataplus._M_p != &local_134.field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)local_134._M_dataplus._M_p != &local_134.field_2)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n         *)local_134._M_dataplus._M_p != &local_134.field_2" (binary_expression "allocator<char>_>_9\n         *)local_134._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n         *)local_134._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "local_134._M_dataplus._M_p" (field_expression "local_134._M_dataplus" identifier . field_identifier) . field_identifier))) != (pointer_expression "&local_134.field_2" & (field_expression "local_134.field_2" identifier . field_identifier))) )) )) (compound_statement "{\n      operator_delete(local_134._M_dataplus._M_p);\n    }" { (expression_statement "operator_delete(local_134._M_dataplus._M_p);" (call_expression "operator_delete(local_134._M_dataplus._M_p)" identifier (argument_list "(local_134._M_dataplus._M_p)" ( (field_expression "local_134._M_dataplus._M_p" (field_expression "local_134._M_dataplus" identifier . field_identifier) . field_identifier) ))) ;) })) }) (else_clause "else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    std::string::_M_replace((string *)big_endian,0,*(uint *)(big_endian + 4),pcVar1,sVar2);\n  }" else (compound_statement "{\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    std::string::_M_replace((string *)big_endian,0,*(uint *)(big_endian + 4),pcVar1,sVar2);\n  }" { (labeled_statement "LAB_0004d218:\n    pcVar1 = "ELF file too short";" statement_identifier : (expression_statement "pcVar1 = "ELF file too short";" (assignment_expression "pcVar1 = "ELF file too short"" identifier = (string_literal ""ELF file too short"" " string_content ")) ;)) (labeled_statement "LAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);" statement_identifier : (expression_statement "pcVar1 = (char *)gettext(pcVar1);" (assignment_expression "pcVar1 = (char *)gettext(pcVar1)" identifier = (cast_expression "(char *)gettext(pcVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))))) ;)) (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" identifier = (call_expression "strlen(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (labeled_statement "std::string::_M_replace((string *)big_endian,0,*(uint *)(big_endian + 4),pcVar1,sVar2);" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_replace((string *)big_endian,0,*(uint *)(big_endian + 4),pcVar1,sVar2);" statement_identifier : (ERROR ":" :) (expression_statement "_M_replace((string *)big_endian,0,*(uint *)(big_endian + 4),pcVar1,sVar2);" (call_expression "_M_replace((string *)big_endian,0,*(uint *)(big_endian + 4),pcVar1,sVar2)" identifier (argument_list "((string *)big_endian,0,*(uint *)(big_endian + 4),pcVar1,sVar2)" ( (cast_expression "(string *)big_endian" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , (pointer_expression "*(uint *)(big_endian + 4)" * (cast_expression "(uint *)(big_endian + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(big_endian + 4)" ( (binary_expression "big_endian + 4" identifier + number_literal) )))) , identifier , identifier ))) ;))) }))) (return_statement "return false;" return false ;) })))
(translation_unit "undefined4\nFUN_0004d050(int param_1,uint param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 *param_6)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  undefined4 *__dest;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  undefined4 local_144;\n  undefined4 *local_134;\n  size_t local_130;\n  undefined4 local_12c [4];\n  uint local_11c [66];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4d065;\n  if (-param_3 < (int)(uint)(0xf < param_2)) {\n    uVar5 = (uint)*(byte *)(param_1 + 6);\n    if (uVar5 == 1) {\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }\nLAB_0004d1e8:\n    local_130 = 0;\n    *(undefined1 *)local_134 = 0;\n    if (local_134 != local_12c) {\n      FUN_001807a0(local_134);\n    }\n  }\n  else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4\nFUN_0004d050(int param_1,uint param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 *param_6)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  undefined4 *__dest;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  undefined4 local_144;\n  undefined4 *local_134;\n  size_t local_130;\n  undefined4 local_12c [4];\n  uint local_11c [66];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4d065;\n  if (-param_3 < (int)(uint)(0xf < param_2)) {\n    uVar5 = (uint)*(byte *)(param_1 + 6);\n    if (uVar5 == 1) {\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }\nLAB_0004d1e8:\n    local_130 = 0;\n    *(undefined1 *)local_134 = 0;\n    if (local_134 != local_12c) {\n      FUN_001807a0(local_134);\n    }\n  }\n  else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0004d050(int param_1,uint param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 *param_6)" identifier (parameter_list "(int param_1,uint param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 *param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  size_t sVar2;\n  undefined4 *__dest;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  undefined4 local_144;\n  undefined4 *local_134;\n  size_t local_130;\n  undefined4 local_12c [4];\n  uint local_11c [66];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4d065;\n  if (-param_3 < (int)(uint)(0xf < param_2)) {\n    uVar5 = (uint)*(byte *)(param_1 + 6);\n    if (uVar5 == 1) {\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }\nLAB_0004d1e8:\n    local_130 = 0;\n    *(undefined1 *)local_134 = 0;\n    if (local_134 != local_12c) {\n      FUN_001807a0(local_134);\n    }\n  }\n  else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);\n  }\n  return 0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "undefined4 *__dest;" type_identifier (pointer_declarator "*__dest" * identifier) ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "undefined4 local_144;" type_identifier identifier ;) (declaration "undefined4 *local_134;" type_identifier (pointer_declarator "*local_134" * identifier) ;) (declaration "size_t local_130;" primitive_type identifier ;) (declaration "undefined4 local_12c [4];" type_identifier (array_declarator "local_12c [4]" identifier [ number_literal ]) ;) (declaration "uint local_11c [66];" type_identifier (array_declarator "local_11c [66]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x4d065;" (assignment_expression "uStack_14 = 0x4d065" identifier = number_literal) ;) (if_statement "if (-param_3 < (int)(uint)(0xf < param_2)) {\n    uVar5 = (uint)*(byte *)(param_1 + 6);\n    if (uVar5 == 1) {\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }\nLAB_0004d1e8:\n    local_130 = 0;\n    *(undefined1 *)local_134 = 0;\n    if (local_134 != local_12c) {\n      FUN_001807a0(local_134);\n    }\n  }\n  else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);\n  }" if (parenthesized_expression "(-param_3 < (int)(uint)(0xf < param_2))" ( (binary_expression "-param_3 < (int)(uint)(0xf < param_2)" (unary_expression "-param_3" - identifier) < (cast_expression "(int)(uint)(0xf < param_2)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(0xf < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xf < param_2)" ( (binary_expression "0xf < param_2" number_literal < identifier) ))))) )) (compound_statement "{\n    uVar5 = (uint)*(byte *)(param_1 + 6);\n    if (uVar5 == 1) {\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }\nLAB_0004d1e8:\n    local_130 = 0;\n    *(undefined1 *)local_134 = 0;\n    if (local_134 != local_12c) {\n      FUN_001807a0(local_134);\n    }\n  }" { (expression_statement "uVar5 = (uint)*(byte *)(param_1 + 6);" (assignment_expression "uVar5 = (uint)*(byte *)(param_1 + 6)" identifier = (binary_expression "(uint)*(byte *)(param_1 + 6)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_1 + 6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 6)" ( (binary_expression "param_1 + 6" identifier + number_literal) ))))) ;) (if_statement "if (uVar5 == 1) {\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }" if (parenthesized_expression "(uVar5 == 1)" ( (binary_expression "uVar5 == 1" identifier == number_literal) )) (compound_statement "{\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }" { (expression_statement "uVar5 = (uint)*(byte *)(param_1 + 4);" (assignment_expression "uVar5 = (uint)*(byte *)(param_1 + 4)" identifier = (binary_expression "(uint)*(byte *)(param_1 + 4)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_1 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }" { (expression_statement "pcVar1 = "invalid ELF class 0";" (assignment_expression "pcVar1 = "invalid ELF class 0"" identifier = (string_literal ""invalid ELF class 0"" " string_content ")) ;) (goto_statement "goto LAB_0004d221;" goto statement_identifier ;) })) (if_statement "if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }" if (parenthesized_expression "(uVar5 - 1 < 2)" ( (binary_expression "uVar5 - 1 < 2" (binary_expression "uVar5 - 1" identifier - number_literal) < number_literal) )) (compound_statement "{\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }" { (expression_statement "uVar6 = (uint)*(byte *)(param_1 + 5);" (assignment_expression "uVar6 = (uint)*(byte *)(param_1 + 5)" identifier = (binary_expression "(uint)*(byte *)(param_1 + 5)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_1 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 5)" ( (binary_expression "param_1 + 5" identifier + number_literal) ))))) ;) (if_statement "if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }" { (expression_statement "pcVar1 = "invalid ELF data encoding";" (assignment_expression "pcVar1 = "invalid ELF data encoding"" identifier = (string_literal ""invalid ELF data encoding"" " string_content ")) ;) (goto_statement "goto LAB_0004d221;" goto statement_identifier ;) })) (if_statement "if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }" if (parenthesized_expression "(uVar6 - 1 < 2)" ( (binary_expression "uVar6 - 1 < 2" (binary_expression "uVar6 - 1" identifier - number_literal) < number_literal) )) (compound_statement "{\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }" { (expression_statement "*(bool *)param_5 = uVar6 == 2;" (assignment_expression "*(bool *)param_5 = uVar6 == 2" (pointer_expression "*(bool *)param_5" * (cast_expression "(bool *)param_5" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "uVar6 == 2" identifier == number_literal)) ;) (if_statement "if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }" if (parenthesized_expression "(uVar5 == 1)" ( (binary_expression "uVar5 == 1" identifier == number_literal) )) (compound_statement "{\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }" { (if_statement "if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }" if (parenthesized_expression "(-param_3 < (int)(uint)(0x33 < param_2))" ( (binary_expression "-param_3 < (int)(uint)(0x33 < param_2)" (unary_expression "-param_3" - identifier) < (cast_expression "(int)(uint)(0x33 < param_2)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(0x33 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x33 < param_2)" ( (binary_expression "0x33 < param_2" number_literal < identifier) ))))) )) (compound_statement "{\n              *param_4 = 0x20;\n              return 1;\n            }" { (expression_statement "*param_4 = 0x20;" (assignment_expression "*param_4 = 0x20" (pointer_expression "*param_4" * identifier) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }" else (if_statement "if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }" if (parenthesized_expression "(-param_3 < (int)(uint)(0x3f < param_2))" ( (binary_expression "-param_3 < (int)(uint)(0x3f < param_2)" (unary_expression "-param_3" - identifier) < (cast_expression "(int)(uint)(0x3f < param_2)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(0x3f < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x3f < param_2)" ( (binary_expression "0x3f < param_2" number_literal < identifier) ))))) )) (compound_statement "{\n            *param_4 = 0x40;\n            return 1;\n          }" { (expression_statement "*param_4 = 0x40;" (assignment_expression "*param_4 = 0x40" (pointer_expression "*param_4" * identifier) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })))) (goto_statement "goto LAB_0004d218;" goto statement_identifier ;) })) (expression_statement "pcVar1 = (char *)gettext("unsupported ELF data encoding %d");" (assignment_expression "pcVar1 = (char *)gettext("unsupported ELF data encoding %d")" identifier = (cast_expression "(char *)gettext("unsupported ELF data encoding %d")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("unsupported ELF data encoding %d")" identifier (argument_list "("unsupported ELF data encoding %d")" ( (string_literal ""unsupported ELF data encoding %d"" " string_content ") ))))) ;) (expression_statement "snprintf((char *)local_11c,0x100,pcVar1,uVar6);" (call_expression "snprintf((char *)local_11c,0x100,pcVar1,uVar6)" identifier (argument_list "((char *)local_11c,0x100,pcVar1,uVar6)" ( (cast_expression "(char *)local_11c" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , identifier , identifier ))) ;) (expression_statement "puVar4 = local_11c;" (assignment_expression "puVar4 = local_11c" identifier = identifier) ;) (do_statement "do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);" do (compound_statement "{\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        }" { (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (expression_statement "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;" (assignment_expression "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3" identifier = (binary_expression "*puVar3 + 0xfefefeff & ~*puVar3" (binary_expression "*puVar3 + 0xfefefeff" (pointer_expression "*puVar3" * identifier) + number_literal) & (unary_expression "~*puVar3" ~ (pointer_expression "*puVar3" * identifier)))) ;) (expression_statement "uVar5 = uVar6 & 0x80808080;" (assignment_expression "uVar5 = uVar6 & 0x80808080" identifier = (binary_expression "uVar6 & 0x80808080" identifier & number_literal)) ;) (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) ;) (expression_statement "bVar7 = (uVar6 & 0x8080) == 0;" (assignment_expression "bVar7 = (uVar6 & 0x8080) == 0" identifier = (binary_expression "(uVar6 & 0x8080) == 0" (parenthesized_expression "(uVar6 & 0x8080)" ( (binary_expression "uVar6 & 0x8080" identifier & number_literal) )) == number_literal)) ;) (if_statement "if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n          uVar5 = uVar5 >> 0x10;\n        }" { (expression_statement "uVar5 = uVar5 >> 0x10;" (assignment_expression "uVar5 = uVar5 >> 0x10" identifier = (binary_expression "uVar5 >> 0x10" identifier >> number_literal)) ;) })) (if_statement "if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }" { (expression_statement "puVar4 = (uint *)((int)puVar3 + 6);" (assignment_expression "puVar4 = (uint *)((int)puVar3 + 6)" identifier = (cast_expression "(uint *)((int)puVar3 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 6)" ( (binary_expression "(int)puVar3 + 6" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (expression_statement "local_134 = local_12c;" (assignment_expression "local_134 = local_12c" identifier = identifier) ;) (expression_statement "FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);" (call_expression "FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" identifier (argument_list "(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" ( (pointer_expression "&local_134" & identifier) , identifier , (cast_expression "(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (binary_expression "(int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" ( (binary_expression "-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)" number_literal - (cast_expression "(uint)CARRY1((byte)uVar5,(byte)uVar5)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY1((byte)uVar5,(byte)uVar5)" identifier (argument_list "((byte)uVar5,(byte)uVar5)" ( (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) , (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) ))))) ))) ))) , number_literal ))) ;) (expression_statement "__dest = (undefined4 *)*param_6;" (assignment_expression "__dest = (undefined4 *)*param_6" identifier = (cast_expression "(undefined4 *)*param_6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_6" * identifier))) ;) (if_statement "if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }" if (parenthesized_expression "(local_134 != local_12c)" ( (binary_expression "local_134 != local_12c" identifier != identifier) )) (compound_statement "{\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }" { (if_statement "if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }" if (parenthesized_expression "(__dest == param_6 + 2)" ( (binary_expression "__dest == param_6 + 2" identifier == (binary_expression "param_6 + 2" identifier + number_literal)) )) (compound_statement "{\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }" { (expression_statement "*param_6 = local_134;" (assignment_expression "*param_6 = local_134" (pointer_expression "*param_6" * identifier) = identifier) ;) (expression_statement "param_6[1] = local_130;" (assignment_expression "param_6[1] = local_130" (subscript_expression "param_6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_6[2] = local_12c[0];" (assignment_expression "param_6[2] = local_12c[0]" (subscript_expression "param_6[2]" identifier [ number_literal ]) = (subscript_expression "local_12c[0]" identifier [ number_literal ])) ;) }) (else_clause "else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }" else (compound_statement "{\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }" { (expression_statement "local_144 = param_6[2];" (assignment_expression "local_144 = param_6[2]" identifier = (subscript_expression "param_6[2]" identifier [ number_literal ])) ;) (expression_statement "*param_6 = local_134;" (assignment_expression "*param_6 = local_134" (pointer_expression "*param_6" * identifier) = identifier) ;) (expression_statement "param_6[1] = local_130;" (assignment_expression "param_6[1] = local_130" (subscript_expression "param_6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_6[2] = local_12c[0];" (assignment_expression "param_6[2] = local_12c[0]" (subscript_expression "param_6[2]" identifier [ number_literal ]) = (subscript_expression "local_12c[0]" identifier [ number_literal ])) ;) (if_statement "if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;" if (parenthesized_expression "(__dest != (undefined4 *)0x0)" ( (binary_expression "__dest != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0004d1d6;" goto statement_identifier ;)) }))) (goto_statement "goto LAB_0004d362;" goto statement_identifier ;) })) }) (else_clause "else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }" else (compound_statement "{\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }" { (expression_statement "pcVar1 = (char *)gettext("unsupported ELF class %d");" (assignment_expression "pcVar1 = (char *)gettext("unsupported ELF class %d")" identifier = (cast_expression "(char *)gettext("unsupported ELF class %d")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("unsupported ELF class %d")" identifier (argument_list "("unsupported ELF class %d")" ( (string_literal ""unsupported ELF class %d"" " string_content ") ))))) ;) (expression_statement "snprintf((char *)local_11c,0x100,pcVar1,uVar5);" (call_expression "snprintf((char *)local_11c,0x100,pcVar1,uVar5)" identifier (argument_list "((char *)local_11c,0x100,pcVar1,uVar5)" ( (cast_expression "(char *)local_11c" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , identifier , identifier ))) ;) (expression_statement "puVar4 = local_11c;" (assignment_expression "puVar4 = local_11c" identifier = identifier) ;) (do_statement "do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);" do (compound_statement "{\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        }" { (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (expression_statement "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;" (assignment_expression "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3" identifier = (binary_expression "*puVar3 + 0xfefefeff & ~*puVar3" (binary_expression "*puVar3 + 0xfefefeff" (pointer_expression "*puVar3" * identifier) + number_literal) & (unary_expression "~*puVar3" ~ (pointer_expression "*puVar3" * identifier)))) ;) (expression_statement "uVar5 = uVar6 & 0x80808080;" (assignment_expression "uVar5 = uVar6 & 0x80808080" identifier = (binary_expression "uVar6 & 0x80808080" identifier & number_literal)) ;) (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) ;) (expression_statement "bVar7 = (uVar6 & 0x8080) == 0;" (assignment_expression "bVar7 = (uVar6 & 0x8080) == 0" identifier = (binary_expression "(uVar6 & 0x8080) == 0" (parenthesized_expression "(uVar6 & 0x8080)" ( (binary_expression "uVar6 & 0x8080" identifier & number_literal) )) == number_literal)) ;) (if_statement "if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n          uVar5 = uVar5 >> 0x10;\n        }" { (expression_statement "uVar5 = uVar5 >> 0x10;" (assignment_expression "uVar5 = uVar5 >> 0x10" identifier = (binary_expression "uVar5 >> 0x10" identifier >> number_literal)) ;) })) (if_statement "if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }" { (expression_statement "puVar4 = (uint *)((int)puVar3 + 6);" (assignment_expression "puVar4 = (uint *)((int)puVar3 + 6)" identifier = (cast_expression "(uint *)((int)puVar3 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 6)" ( (binary_expression "(int)puVar3 + 6" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (expression_statement "local_134 = local_12c;" (assignment_expression "local_134 = local_12c" identifier = identifier) ;) (expression_statement "FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);" (call_expression "FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" identifier (argument_list "(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" ( (pointer_expression "&local_134" & identifier) , identifier , (cast_expression "(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (binary_expression "(int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" ( (binary_expression "-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)" number_literal - (cast_expression "(uint)CARRY1((byte)uVar5,(byte)uVar5)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY1((byte)uVar5,(byte)uVar5)" identifier (argument_list "((byte)uVar5,(byte)uVar5)" ( (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) , (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) ))))) ))) ))) , number_literal ))) ;) (expression_statement "__dest = (undefined4 *)*param_6;" (assignment_expression "__dest = (undefined4 *)*param_6" identifier = (cast_expression "(undefined4 *)*param_6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_6" * identifier))) ;) (if_statement "if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }" if (parenthesized_expression "(local_134 != local_12c)" ( (binary_expression "local_134 != local_12c" identifier != identifier) )) (compound_statement "{\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }" { (if_statement "if (__dest != param_6 + 2) goto LAB_0004d1b1;" if (parenthesized_expression "(__dest != param_6 + 2)" ( (binary_expression "__dest != param_6 + 2" identifier != (binary_expression "param_6 + 2" identifier + number_literal)) )) (goto_statement "goto LAB_0004d1b1;" goto statement_identifier ;)) (labeled_statement "LAB_0004d351:\n          *param_6 = local_134;" statement_identifier : (expression_statement "*param_6 = local_134;" (assignment_expression "*param_6 = local_134" (pointer_expression "*param_6" * identifier) = identifier) ;)) (expression_statement "param_6[1] = local_130;" (assignment_expression "param_6[1] = local_130" (subscript_expression "param_6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_6[2] = local_12c[0];" (assignment_expression "param_6[2] = local_12c[0]" (subscript_expression "param_6[2]" identifier [ number_literal ]) = (subscript_expression "local_12c[0]" identifier [ number_literal ])) ;) (labeled_statement "LAB_0004d362:\n          local_134 = local_12c;" statement_identifier : (expression_statement "local_134 = local_12c;" (assignment_expression "local_134 = local_12c" identifier = identifier) ;)) (goto_statement "goto LAB_0004d1e8;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }" statement_identifier : (if_statement "if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }" if (parenthesized_expression "(local_130 != 0)" ( (binary_expression "local_130 != 0" identifier != number_literal) )) (compound_statement "{\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }" { (if_statement "if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }" if (parenthesized_expression "(local_130 == 1)" ( (binary_expression "local_130 == 1" identifier == number_literal) )) (compound_statement "{\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }" { (expression_statement "*(undefined1 *)__dest = (undefined1)local_12c[0];" (assignment_expression "*(undefined1 *)__dest = (undefined1)local_12c[0]" (pointer_expression "*(undefined1 *)__dest" * (cast_expression "(undefined1 *)__dest" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(undefined1)local_12c[0]" ( (type_descriptor "undefined1" type_identifier) ) (subscript_expression "local_12c[0]" identifier [ number_literal ]))) ;) (expression_statement "__dest = (undefined4 *)*param_6;" (assignment_expression "__dest = (undefined4 *)*param_6" identifier = (cast_expression "(undefined4 *)*param_6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_6" * identifier))) ;) }) (else_clause "else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }" else (compound_statement "{\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }" { (expression_statement "memcpy(__dest,local_12c,local_130);" (call_expression "memcpy(__dest,local_12c,local_130)" identifier (argument_list "(__dest,local_12c,local_130)" ( identifier , identifier , identifier ))) ;) (expression_statement "__dest = (undefined4 *)*param_6;" (assignment_expression "__dest = (undefined4 *)*param_6" identifier = (cast_expression "(undefined4 *)*param_6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_6" * identifier))) ;) }))) }))) (expression_statement "param_6[1] = local_130;" (assignment_expression "param_6[1] = local_130" (subscript_expression "param_6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)__dest + local_130) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + local_130) = 0" (pointer_expression "*(undefined1 *)((int)__dest + local_130)" * (cast_expression "(undefined1 *)((int)__dest + local_130)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + local_130)" ( (binary_expression "(int)__dest + local_130" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) }) (else_clause "else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }" else (compound_statement "{\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }" { (if_statement "if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }" { (expression_statement "pcVar1 = "invalid ELF version 0";" (assignment_expression "pcVar1 = "invalid ELF version 0"" identifier = (string_literal ""invalid ELF version 0"" " string_content ")) ;) (goto_statement "goto LAB_0004d221;" goto statement_identifier ;) })) (expression_statement "pcVar1 = (char *)gettext("unsupported ELF version %d");" (assignment_expression "pcVar1 = (char *)gettext("unsupported ELF version %d")" identifier = (cast_expression "(char *)gettext("unsupported ELF version %d")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("unsupported ELF version %d")" identifier (argument_list "("unsupported ELF version %d")" ( (string_literal ""unsupported ELF version %d"" " string_content ") ))))) ;) (expression_statement "snprintf((char *)local_11c,0x100,pcVar1,uVar5);" (call_expression "snprintf((char *)local_11c,0x100,pcVar1,uVar5)" identifier (argument_list "((char *)local_11c,0x100,pcVar1,uVar5)" ( (cast_expression "(char *)local_11c" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , identifier , identifier ))) ;) (expression_statement "puVar4 = local_11c;" (assignment_expression "puVar4 = local_11c" identifier = identifier) ;) (do_statement "do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);" do (compound_statement "{\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      }" { (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (expression_statement "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;" (assignment_expression "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3" identifier = (binary_expression "*puVar3 + 0xfefefeff & ~*puVar3" (binary_expression "*puVar3 + 0xfefefeff" (pointer_expression "*puVar3" * identifier) + number_literal) & (unary_expression "~*puVar3" ~ (pointer_expression "*puVar3" * identifier)))) ;) (expression_statement "uVar5 = uVar6 & 0x80808080;" (assignment_expression "uVar5 = uVar6 & 0x80808080" identifier = (binary_expression "uVar6 & 0x80808080" identifier & number_literal)) ;) (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) ;) (expression_statement "bVar7 = (uVar6 & 0x8080) == 0;" (assignment_expression "bVar7 = (uVar6 & 0x8080) == 0" identifier = (binary_expression "(uVar6 & 0x8080) == 0" (parenthesized_expression "(uVar6 & 0x8080)" ( (binary_expression "uVar6 & 0x8080" identifier & number_literal) )) == number_literal)) ;) (if_statement "if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n        uVar5 = uVar5 >> 0x10;\n      }" { (expression_statement "uVar5 = uVar5 >> 0x10;" (assignment_expression "uVar5 = uVar5 >> 0x10" identifier = (binary_expression "uVar5 >> 0x10" identifier >> number_literal)) ;) })) (if_statement "if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }" { (expression_statement "puVar4 = (uint *)((int)puVar3 + 6);" (assignment_expression "puVar4 = (uint *)((int)puVar3 + 6)" identifier = (cast_expression "(uint *)((int)puVar3 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 6)" ( (binary_expression "(int)puVar3 + 6" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (expression_statement "local_134 = local_12c;" (assignment_expression "local_134 = local_12c" identifier = identifier) ;) (expression_statement "FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);" (call_expression "FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" identifier (argument_list "(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" ( (pointer_expression "&local_134" & identifier) , identifier , (cast_expression "(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" ( (binary_expression "(int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" ( (binary_expression "-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)" number_literal - (cast_expression "(uint)CARRY1((byte)uVar5,(byte)uVar5)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY1((byte)uVar5,(byte)uVar5)" identifier (argument_list "((byte)uVar5,(byte)uVar5)" ( (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) , (cast_expression "(byte)uVar5" ( (type_descriptor "byte" type_identifier) ) identifier) ))))) ))) ))) , number_literal ))) ;) (expression_statement "__dest = (undefined4 *)*param_6;" (assignment_expression "__dest = (undefined4 *)*param_6" identifier = (cast_expression "(undefined4 *)*param_6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_6" * identifier))) ;) (if_statement "if (local_134 == local_12c) goto LAB_0004d260;" if (parenthesized_expression "(local_134 == local_12c)" ( (binary_expression "local_134 == local_12c" identifier == identifier) )) (goto_statement "goto LAB_0004d260;" goto statement_identifier ;)) (if_statement "if (__dest == param_6 + 2) goto LAB_0004d351;" if (parenthesized_expression "(__dest == param_6 + 2)" ( (binary_expression "__dest == param_6 + 2" identifier == (binary_expression "param_6 + 2" identifier + number_literal)) )) (goto_statement "goto LAB_0004d351;" goto statement_identifier ;)) (labeled_statement "LAB_0004d1b1:\n      local_144 = param_6[2];" statement_identifier : (expression_statement "local_144 = param_6[2];" (assignment_expression "local_144 = param_6[2]" identifier = (subscript_expression "param_6[2]" identifier [ number_literal ])) ;)) (expression_statement "param_6[1] = local_130;" (assignment_expression "param_6[1] = local_130" (subscript_expression "param_6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_6 = local_134;" (assignment_expression "*param_6 = local_134" (pointer_expression "*param_6" * identifier) = identifier) ;) (expression_statement "param_6[2] = local_12c[0];" (assignment_expression "param_6[2] = local_12c[0]" (subscript_expression "param_6[2]" identifier [ number_literal ]) = (subscript_expression "local_12c[0]" identifier [ number_literal ])) ;) (if_statement "if (__dest == (undefined4 *)0x0) goto LAB_0004d362;" if (parenthesized_expression "(__dest == (undefined4 *)0x0)" ( (binary_expression "__dest == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0004d362;" goto statement_identifier ;)) (labeled_statement "LAB_0004d1d6:\n      local_12c[0] = local_144;" statement_identifier : (expression_statement "local_12c[0] = local_144;" (assignment_expression "local_12c[0] = local_144" (subscript_expression "local_12c[0]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "local_134 = __dest;" (assignment_expression "local_134 = __dest" identifier = identifier) ;) }))) (labeled_statement "LAB_0004d1e8:\n    local_130 = 0;" statement_identifier : (expression_statement "local_130 = 0;" (assignment_expression "local_130 = 0" identifier = number_literal) ;)) (expression_statement "*(undefined1 *)local_134 = 0;" (assignment_expression "*(undefined1 *)local_134 = 0" (pointer_expression "*(undefined1 *)local_134" * (cast_expression "(undefined1 *)local_134" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if (local_134 != local_12c) {\n      FUN_001807a0(local_134);\n    }" if (parenthesized_expression "(local_134 != local_12c)" ( (binary_expression "local_134 != local_12c" identifier != identifier) )) (compound_statement "{\n      FUN_001807a0(local_134);\n    }" { (expression_statement "FUN_001807a0(local_134);" (call_expression "FUN_001807a0(local_134)" identifier (argument_list "(local_134)" ( identifier ))) ;) })) }) (else_clause "else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);\n  }" else (compound_statement "{\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);\n  }" { (labeled_statement "LAB_0004d218:\n    pcVar1 = "ELF file too short";" statement_identifier : (expression_statement "pcVar1 = "ELF file too short";" (assignment_expression "pcVar1 = "ELF file too short"" identifier = (string_literal ""ELF file too short"" " string_content ")) ;)) (labeled_statement "LAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);" statement_identifier : (expression_statement "pcVar1 = (char *)gettext(pcVar1);" (assignment_expression "pcVar1 = (char *)gettext(pcVar1)" identifier = (cast_expression "(char *)gettext(pcVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))))) ;)) (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" identifier = (call_expression "strlen(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);" (call_expression "FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2)" identifier (argument_list "(param_6,0,param_6[1],pcVar1,sVar2)" ( identifier , number_literal , (subscript_expression "param_6[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (unary_expression - IDENT) < (cast_expression ( (type_descriptor TYPE) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (binary_expression IDENT == LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (unary_expression - IDENT) < (cast_expression ( (type_descriptor TYPE) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return LIT ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (unary_expression - IDENT) < (cast_expression ( (type_descriptor TYPE) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return LIT ;) })))) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , LIT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * IDENT) + LIT) & (unary_expression ~ (pointer_expression * IDENT)))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) })) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))))) ))) ))) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) }))) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , LIT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * IDENT) + LIT) & (unary_expression ~ (pointer_expression * IDENT)))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) })) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))))) ))) ))) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (goto_statement goto statement_identifier ;) })) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }))) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , LIT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * IDENT) + LIT) & (unary_expression ~ (pointer_expression * IDENT)))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) })) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))))) ))) ))) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT ))) ;) }))) (return_statement return LIT ;) })))
(function_definition "undefined4\nFUN_0004d050(int param_1,uint param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 *param_6)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  undefined4 *__dest;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  undefined4 local_144;\n  undefined4 *local_134;\n  size_t local_130;\n  undefined4 local_12c [4];\n  uint local_11c [66];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4d065;\n  if (-param_3 < (int)(uint)(0xf < param_2)) {\n    uVar5 = (uint)*(byte *)(param_1 + 6);\n    if (uVar5 == 1) {\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }\nLAB_0004d1e8:\n    local_130 = 0;\n    *(undefined1 *)local_134 = 0;\n    if (local_134 != local_12c) {\n      FUN_001807a0(local_134);\n    }\n  }\n  else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0004d050(int param_1,uint param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 *param_6)" (identifier "FUN_0004d050") (parameter_list "(int param_1,uint param_2,int param_3,undefined4 *param_4,undefined4 param_5,\n            undefined4 *param_6)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 *param_6" (type_identifier "undefined4") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) () ")"))) (compound_statement "{\n  char *pcVar1;\n  size_t sVar2;\n  undefined4 *__dest;\n  uint *puVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  undefined4 local_144;\n  undefined4 *local_134;\n  size_t local_130;\n  undefined4 local_12c [4];\n  uint local_11c [66];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4d065;\n  if (-param_3 < (int)(uint)(0xf < param_2)) {\n    uVar5 = (uint)*(byte *)(param_1 + 6);\n    if (uVar5 == 1) {\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }\nLAB_0004d1e8:\n    local_130 = 0;\n    *(undefined1 *)local_134 = 0;\n    if (local_134 != local_12c) {\n      FUN_001807a0(local_134);\n    }\n  }\n  else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);\n  }\n  return 0;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "undefined4 *__dest;" (type_identifier "undefined4") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "uint *puVar3;" (type_identifier "uint") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint *puVar4;" (type_identifier "uint") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "bool bVar7;" (primitive_type "bool") (identifier "bVar7") (; ";")) (declaration "undefined4 local_144;" (type_identifier "undefined4") (identifier "local_144") (; ";")) (declaration "undefined4 *local_134;" (type_identifier "undefined4") (pointer_declarator "*local_134" (* "*") (identifier "local_134")) (; ";")) (declaration "size_t local_130;" (primitive_type "size_t") (identifier "local_130") (; ";")) (declaration "undefined4 local_12c [4];" (type_identifier "undefined4") (array_declarator "local_12c [4]" (identifier "local_12c") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "uint local_11c [66];" (type_identifier "uint") (array_declarator "local_11c [66]" (identifier "local_11c") ([ "[") (number_literal "66") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x4d065;" (assignment_expression "uStack_14 = 0x4d065" (identifier "uStack_14") (= "=") (number_literal "0x4d065")) (; ";")) (if_statement "if (-param_3 < (int)(uint)(0xf < param_2)) {\n    uVar5 = (uint)*(byte *)(param_1 + 6);\n    if (uVar5 == 1) {\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }\nLAB_0004d1e8:\n    local_130 = 0;\n    *(undefined1 *)local_134 = 0;\n    if (local_134 != local_12c) {\n      FUN_001807a0(local_134);\n    }\n  }\n  else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);\n  }" (if "if") (parenthesized_expression "(-param_3 < (int)(uint)(0xf < param_2))" (( "(") (binary_expression "-param_3 < (int)(uint)(0xf < param_2)" (unary_expression "-param_3" (- "-") (identifier "param_3")) (< "<") (cast_expression "(int)(uint)(0xf < param_2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "(uint)(0xf < param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0xf < param_2)" (( "(") (binary_expression "0xf < param_2" (number_literal "0xf") (< "<") (identifier "param_2")) () ")"))))) () ")")) (compound_statement "{\n    uVar5 = (uint)*(byte *)(param_1 + 6);\n    if (uVar5 == 1) {\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }\nLAB_0004d1e8:\n    local_130 = 0;\n    *(undefined1 *)local_134 = 0;\n    if (local_134 != local_12c) {\n      FUN_001807a0(local_134);\n    }\n  }" ({ "{") (expression_statement "uVar5 = (uint)*(byte *)(param_1 + 6);" (assignment_expression "uVar5 = (uint)*(byte *)(param_1 + 6)" (identifier "uVar5") (= "=") (binary_expression "(uint)*(byte *)(param_1 + 6)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_1 + 6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 6)" (( "(") (binary_expression "param_1 + 6" (identifier "param_1") (+ "+") (number_literal "6")) () ")"))))) (; ";")) (if_statement "if (uVar5 == 1) {\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }\n    else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }" (if "if") (parenthesized_expression "(uVar5 == 1)" (( "(") (binary_expression "uVar5 == 1" (identifier "uVar5") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      uVar5 = (uint)*(byte *)(param_1 + 4);\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }\n      if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }\nLAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }\n      param_6[1] = local_130;\n      *(undefined1 *)((int)__dest + local_130) = 0;\n    }" ({ "{") (expression_statement "uVar5 = (uint)*(byte *)(param_1 + 4);" (assignment_expression "uVar5 = (uint)*(byte *)(param_1 + 4)" (identifier "uVar5") (= "=") (binary_expression "(uint)*(byte *)(param_1 + 4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_1 + 4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (uVar5 == 0) {\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }" (if "if") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        pcVar1 = "invalid ELF class 0";\n        goto LAB_0004d221;\n      }" ({ "{") (expression_statement "pcVar1 = "invalid ELF class 0";" (assignment_expression "pcVar1 = "invalid ELF class 0"" (identifier "pcVar1") (= "=") (string_literal ""invalid ELF class 0"" (" """) (string_content "invalid ELF class 0") (" """))) (; ";")) (goto_statement "goto LAB_0004d221;" (goto "goto") (statement_identifier "LAB_0004d221") (; ";")) (} "}"))) (if_statement "if (uVar5 - 1 < 2) {\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }\n      else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }" (if "if") (parenthesized_expression "(uVar5 - 1 < 2)" (( "(") (binary_expression "uVar5 - 1 < 2" (binary_expression "uVar5 - 1" (identifier "uVar5") (- "-") (number_literal "1")) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n        uVar6 = (uint)*(byte *)(param_1 + 5);\n        if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }\n        if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }\n        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar6);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }\n      }" ({ "{") (expression_statement "uVar6 = (uint)*(byte *)(param_1 + 5);" (assignment_expression "uVar6 = (uint)*(byte *)(param_1 + 5)" (identifier "uVar6") (= "=") (binary_expression "(uint)*(byte *)(param_1 + 5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_1 + 5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 5)" (( "(") (binary_expression "param_1 + 5" (identifier "param_1") (+ "+") (number_literal "5")) () ")"))))) (; ";")) (if_statement "if (uVar6 == 0) {\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }" (if "if") (parenthesized_expression "(uVar6 == 0)" (( "(") (binary_expression "uVar6 == 0" (identifier "uVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          pcVar1 = "invalid ELF data encoding";\n          goto LAB_0004d221;\n        }" ({ "{") (expression_statement "pcVar1 = "invalid ELF data encoding";" (assignment_expression "pcVar1 = "invalid ELF data encoding"" (identifier "pcVar1") (= "=") (string_literal ""invalid ELF data encoding"" (" """) (string_content "invalid ELF data encoding") (" """))) (; ";")) (goto_statement "goto LAB_0004d221;" (goto "goto") (statement_identifier "LAB_0004d221") (; ";")) (} "}"))) (if_statement "if (uVar6 - 1 < 2) {\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }" (if "if") (parenthesized_expression "(uVar6 - 1 < 2)" (( "(") (binary_expression "uVar6 - 1 < 2" (binary_expression "uVar6 - 1" (identifier "uVar6") (- "-") (number_literal "1")) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n          *(bool *)param_5 = uVar6 == 2;\n          if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }\n          goto LAB_0004d218;\n        }" ({ "{") (expression_statement "*(bool *)param_5 = uVar6 == 2;" (assignment_expression "*(bool *)param_5 = uVar6 == 2" (pointer_expression "*(bool *)param_5" (* "*") (cast_expression "(bool *)param_5" (( "(") (type_descriptor "bool *" (primitive_type "bool") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_5"))) (= "=") (binary_expression "uVar6 == 2" (identifier "uVar6") (== "==") (number_literal "2"))) (; ";")) (if_statement "if (uVar5 == 1) {\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }\n          else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }" (if "if") (parenthesized_expression "(uVar5 == 1)" (( "(") (binary_expression "uVar5 == 1" (identifier "uVar5") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n            if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }\n          }" ({ "{") (if_statement "if (-param_3 < (int)(uint)(0x33 < param_2)) {\n              *param_4 = 0x20;\n              return 1;\n            }" (if "if") (parenthesized_expression "(-param_3 < (int)(uint)(0x33 < param_2))" (( "(") (binary_expression "-param_3 < (int)(uint)(0x33 < param_2)" (unary_expression "-param_3" (- "-") (identifier "param_3")) (< "<") (cast_expression "(int)(uint)(0x33 < param_2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "(uint)(0x33 < param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0x33 < param_2)" (( "(") (binary_expression "0x33 < param_2" (number_literal "0x33") (< "<") (identifier "param_2")) () ")"))))) () ")")) (compound_statement "{\n              *param_4 = 0x20;\n              return 1;\n            }" ({ "{") (expression_statement "*param_4 = 0x20;" (assignment_expression "*param_4 = 0x20" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (number_literal "0x20")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}")) (else_clause "else if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }" (else "else") (if_statement "if (-param_3 < (int)(uint)(0x3f < param_2)) {\n            *param_4 = 0x40;\n            return 1;\n          }" (if "if") (parenthesized_expression "(-param_3 < (int)(uint)(0x3f < param_2))" (( "(") (binary_expression "-param_3 < (int)(uint)(0x3f < param_2)" (unary_expression "-param_3" (- "-") (identifier "param_3")) (< "<") (cast_expression "(int)(uint)(0x3f < param_2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "(uint)(0x3f < param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0x3f < param_2)" (( "(") (binary_expression "0x3f < param_2" (number_literal "0x3f") (< "<") (identifier "param_2")) () ")"))))) () ")")) (compound_statement "{\n            *param_4 = 0x40;\n            return 1;\n          }" ({ "{") (expression_statement "*param_4 = 0x40;" (assignment_expression "*param_4 = 0x40" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (number_literal "0x40")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))))) (goto_statement "goto LAB_0004d218;" (goto "goto") (statement_identifier "LAB_0004d218") (; ";")) (} "}"))) (expression_statement "pcVar1 = (char *)gettext("unsupported ELF data encoding %d");" (assignment_expression "pcVar1 = (char *)gettext("unsupported ELF data encoding %d")" (identifier "pcVar1") (= "=") (cast_expression "(char *)gettext("unsupported ELF data encoding %d")" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "gettext("unsupported ELF data encoding %d")" (identifier "gettext") (argument_list "("unsupported ELF data encoding %d")" (( "(") (string_literal ""unsupported ELF data encoding %d"" (" """) (string_content "unsupported ELF data encoding %d") (" """)) () ")"))))) (; ";")) (expression_statement "snprintf((char *)local_11c,0x100,pcVar1,uVar6);" (call_expression "snprintf((char *)local_11c,0x100,pcVar1,uVar6)" (identifier "snprintf") (argument_list "((char *)local_11c,0x100,pcVar1,uVar6)" (( "(") (cast_expression "(char *)local_11c" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_11c")) (, ",") (number_literal "0x100") (, ",") (identifier "pcVar1") (, ",") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "puVar4 = local_11c;" (assignment_expression "puVar4 = local_11c" (identifier "puVar4") (= "=") (identifier "local_11c")) (; ";")) (do_statement "do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);" (do "do") (compound_statement "{\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        }" ({ "{") (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" (identifier "puVar3") (= "=") (identifier "puVar4")) (; ";")) (expression_statement "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;" (assignment_expression "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3" (identifier "uVar6") (= "=") (binary_expression "*puVar3 + 0xfefefeff & ~*puVar3" (binary_expression "*puVar3 + 0xfefefeff" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (+ "+") (number_literal "0xfefefeff")) (& "&") (unary_expression "~*puVar3" (~ "~") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))))) (; ";")) (expression_statement "uVar5 = uVar6 & 0x80808080;" (assignment_expression "uVar5 = uVar6 & 0x80808080" (identifier "uVar5") (= "=") (binary_expression "uVar6 & 0x80808080" (identifier "uVar6") (& "&") (number_literal "0x80808080"))) (; ";")) (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (; ";")) (expression_statement "bVar7 = (uVar6 & 0x8080) == 0;" (assignment_expression "bVar7 = (uVar6 & 0x8080) == 0" (identifier "bVar7") (= "=") (binary_expression "(uVar6 & 0x8080) == 0" (parenthesized_expression "(uVar6 & 0x8080)" (( "(") (binary_expression "uVar6 & 0x8080" (identifier "uVar6") (& "&") (number_literal "0x8080")) () ")")) (== "==") (number_literal "0"))) (; ";")) (if_statement "if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }" (if "if") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (compound_statement "{\n          uVar5 = uVar5 >> 0x10;\n        }" ({ "{") (expression_statement "uVar5 = uVar5 >> 0x10;" (assignment_expression "uVar5 = uVar5 >> 0x10" (identifier "uVar5") (= "=") (binary_expression "uVar5 >> 0x10" (identifier "uVar5") (>> ">>") (number_literal "0x10"))) (; ";")) (} "}"))) (if_statement "if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }" (if "if") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (compound_statement "{\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }" ({ "{") (expression_statement "puVar4 = (uint *)((int)puVar3 + 6);" (assignment_expression "puVar4 = (uint *)((int)puVar3 + 6)" (identifier "puVar4") (= "=") (cast_expression "(uint *)((int)puVar3 + 6)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + 6)" (( "(") (binary_expression "(int)puVar3 + 6" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (number_literal "6")) () ")")))) (; ";")) (} "}"))) (expression_statement "local_134 = local_12c;" (assignment_expression "local_134 = local_12c" (identifier "local_134") (= "=") (identifier "local_12c")) (; ";")) (expression_statement "FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);" (call_expression "FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" (identifier "FUN_0004cf80") (argument_list "(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" (( "(") (pointer_expression "&local_134" (& "&") (identifier "local_134")) (, ",") (identifier "local_11c") (, ",") (cast_expression "(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" (( "(") (binary_expression "(int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4")) (+ "+") (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (( "(") (binary_expression "-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)" (number_literal "-3") (- "-") (cast_expression "(uint)CARRY1((byte)uVar5,(byte)uVar5)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY1((byte)uVar5,(byte)uVar5)" (identifier "CARRY1") (argument_list "((byte)uVar5,(byte)uVar5)" (( "(") (cast_expression "(byte)uVar5" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar5")) (, ",") (cast_expression "(byte)uVar5" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar5")) () ")"))))) () ")"))) () ")"))) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "__dest = (undefined4 *)*param_6;" (assignment_expression "__dest = (undefined4 *)*param_6" (identifier "__dest") (= "=") (cast_expression "(undefined4 *)*param_6" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_6" (* "*") (identifier "param_6")))) (; ";")) (if_statement "if (local_134 != local_12c) {\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }" (if "if") (parenthesized_expression "(local_134 != local_12c)" (( "(") (binary_expression "local_134 != local_12c" (identifier "local_134") (!= "!=") (identifier "local_12c")) () ")")) (compound_statement "{\n          if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }\n          goto LAB_0004d362;\n        }" ({ "{") (if_statement "if (__dest == param_6 + 2) {\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }\n          else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }" (if "if") (parenthesized_expression "(__dest == param_6 + 2)" (( "(") (binary_expression "__dest == param_6 + 2" (identifier "__dest") (== "==") (binary_expression "param_6 + 2" (identifier "param_6") (+ "+") (number_literal "2"))) () ")")) (compound_statement "{\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n          }" ({ "{") (expression_statement "*param_6 = local_134;" (assignment_expression "*param_6 = local_134" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (identifier "local_134")) (; ";")) (expression_statement "param_6[1] = local_130;" (assignment_expression "param_6[1] = local_130" (subscript_expression "param_6[1]" (identifier "param_6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_130")) (; ";")) (expression_statement "param_6[2] = local_12c[0];" (assignment_expression "param_6[2] = local_12c[0]" (subscript_expression "param_6[2]" (identifier "param_6") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "local_12c[0]" (identifier "local_12c") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }" (else "else") (compound_statement "{\n            local_144 = param_6[2];\n            *param_6 = local_134;\n            param_6[1] = local_130;\n            param_6[2] = local_12c[0];\n            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;\n          }" ({ "{") (expression_statement "local_144 = param_6[2];" (assignment_expression "local_144 = param_6[2]" (identifier "local_144") (= "=") (subscript_expression "param_6[2]" (identifier "param_6") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*param_6 = local_134;" (assignment_expression "*param_6 = local_134" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (identifier "local_134")) (; ";")) (expression_statement "param_6[1] = local_130;" (assignment_expression "param_6[1] = local_130" (subscript_expression "param_6[1]" (identifier "param_6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_130")) (; ";")) (expression_statement "param_6[2] = local_12c[0];" (assignment_expression "param_6[2] = local_12c[0]" (subscript_expression "param_6[2]" (identifier "param_6") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "local_12c[0]" (identifier "local_12c") ([ "[") (number_literal "0") (] "]"))) (; ";")) (if_statement "if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;" (if "if") (parenthesized_expression "(__dest != (undefined4 *)0x0)" (( "(") (binary_expression "__dest != (undefined4 *)0x0" (identifier "__dest") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0004d1d6;" (goto "goto") (statement_identifier "LAB_0004d1d6") (; ";"))) (} "}")))) (goto_statement "goto LAB_0004d362;" (goto "goto") (statement_identifier "LAB_0004d362") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }" (else "else") (compound_statement "{\n        pcVar1 = (char *)gettext("unsupported ELF class %d");\n        snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n        puVar4 = local_11c;\n        do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);\n        bVar7 = (uVar6 & 0x8080) == 0;\n        if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }\n        if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }\n        local_134 = local_12c;\n        FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n        __dest = (undefined4 *)*param_6;\n        if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }\n      }" ({ "{") (expression_statement "pcVar1 = (char *)gettext("unsupported ELF class %d");" (assignment_expression "pcVar1 = (char *)gettext("unsupported ELF class %d")" (identifier "pcVar1") (= "=") (cast_expression "(char *)gettext("unsupported ELF class %d")" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "gettext("unsupported ELF class %d")" (identifier "gettext") (argument_list "("unsupported ELF class %d")" (( "(") (string_literal ""unsupported ELF class %d"" (" """) (string_content "unsupported ELF class %d") (" """)) () ")"))))) (; ";")) (expression_statement "snprintf((char *)local_11c,0x100,pcVar1,uVar5);" (call_expression "snprintf((char *)local_11c,0x100,pcVar1,uVar5)" (identifier "snprintf") (argument_list "((char *)local_11c,0x100,pcVar1,uVar5)" (( "(") (cast_expression "(char *)local_11c" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_11c")) (, ",") (number_literal "0x100") (, ",") (identifier "pcVar1") (, ",") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "puVar4 = local_11c;" (assignment_expression "puVar4 = local_11c" (identifier "puVar4") (= "=") (identifier "local_11c")) (; ";")) (do_statement "do {\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        } while (uVar5 == 0);" (do "do") (compound_statement "{\n          puVar3 = puVar4;\n          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n          uVar5 = uVar6 & 0x80808080;\n          puVar4 = puVar3 + 1;\n        }" ({ "{") (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" (identifier "puVar3") (= "=") (identifier "puVar4")) (; ";")) (expression_statement "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;" (assignment_expression "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3" (identifier "uVar6") (= "=") (binary_expression "*puVar3 + 0xfefefeff & ~*puVar3" (binary_expression "*puVar3 + 0xfefefeff" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (+ "+") (number_literal "0xfefefeff")) (& "&") (unary_expression "~*puVar3" (~ "~") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))))) (; ";")) (expression_statement "uVar5 = uVar6 & 0x80808080;" (assignment_expression "uVar5 = uVar6 & 0x80808080" (identifier "uVar5") (= "=") (binary_expression "uVar6 & 0x80808080" (identifier "uVar6") (& "&") (number_literal "0x80808080"))) (; ";")) (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (; ";")) (expression_statement "bVar7 = (uVar6 & 0x8080) == 0;" (assignment_expression "bVar7 = (uVar6 & 0x8080) == 0" (identifier "bVar7") (= "=") (binary_expression "(uVar6 & 0x8080) == 0" (parenthesized_expression "(uVar6 & 0x8080)" (( "(") (binary_expression "uVar6 & 0x8080" (identifier "uVar6") (& "&") (number_literal "0x8080")) () ")")) (== "==") (number_literal "0"))) (; ";")) (if_statement "if (bVar7) {\n          uVar5 = uVar5 >> 0x10;\n        }" (if "if") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (compound_statement "{\n          uVar5 = uVar5 >> 0x10;\n        }" ({ "{") (expression_statement "uVar5 = uVar5 >> 0x10;" (assignment_expression "uVar5 = uVar5 >> 0x10" (identifier "uVar5") (= "=") (binary_expression "uVar5 >> 0x10" (identifier "uVar5") (>> ">>") (number_literal "0x10"))) (; ";")) (} "}"))) (if_statement "if (bVar7) {\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }" (if "if") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (compound_statement "{\n          puVar4 = (uint *)((int)puVar3 + 6);\n        }" ({ "{") (expression_statement "puVar4 = (uint *)((int)puVar3 + 6);" (assignment_expression "puVar4 = (uint *)((int)puVar3 + 6)" (identifier "puVar4") (= "=") (cast_expression "(uint *)((int)puVar3 + 6)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + 6)" (( "(") (binary_expression "(int)puVar3 + 6" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (number_literal "6")) () ")")))) (; ";")) (} "}"))) (expression_statement "local_134 = local_12c;" (assignment_expression "local_134 = local_12c" (identifier "local_134") (= "=") (identifier "local_12c")) (; ";")) (expression_statement "FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);" (call_expression "FUN_0004cf80(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" (identifier "FUN_0004cf80") (argument_list "(&local_134,local_11c,\n                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" (( "(") (pointer_expression "&local_134" (& "&") (identifier "local_134")) (, ",") (identifier "local_11c") (, ",") (cast_expression "(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" (( "(") (binary_expression "(int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4")) (+ "+") (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (( "(") (binary_expression "-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)" (number_literal "-3") (- "-") (cast_expression "(uint)CARRY1((byte)uVar5,(byte)uVar5)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY1((byte)uVar5,(byte)uVar5)" (identifier "CARRY1") (argument_list "((byte)uVar5,(byte)uVar5)" (( "(") (cast_expression "(byte)uVar5" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar5")) (, ",") (cast_expression "(byte)uVar5" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar5")) () ")"))))) () ")"))) () ")"))) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "__dest = (undefined4 *)*param_6;" (assignment_expression "__dest = (undefined4 *)*param_6" (identifier "__dest") (= "=") (cast_expression "(undefined4 *)*param_6" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_6" (* "*") (identifier "param_6")))) (; ";")) (if_statement "if (local_134 != local_12c) {\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }" (if "if") (parenthesized_expression "(local_134 != local_12c)" (( "(") (binary_expression "local_134 != local_12c" (identifier "local_134") (!= "!=") (identifier "local_12c")) () ")")) (compound_statement "{\n          if (__dest != param_6 + 2) goto LAB_0004d1b1;\nLAB_0004d351:\n          *param_6 = local_134;\n          param_6[1] = local_130;\n          param_6[2] = local_12c[0];\nLAB_0004d362:\n          local_134 = local_12c;\n          goto LAB_0004d1e8;\n        }" ({ "{") (if_statement "if (__dest != param_6 + 2) goto LAB_0004d1b1;" (if "if") (parenthesized_expression "(__dest != param_6 + 2)" (( "(") (binary_expression "__dest != param_6 + 2" (identifier "__dest") (!= "!=") (binary_expression "param_6 + 2" (identifier "param_6") (+ "+") (number_literal "2"))) () ")")) (goto_statement "goto LAB_0004d1b1;" (goto "goto") (statement_identifier "LAB_0004d1b1") (; ";"))) (labeled_statement "LAB_0004d351:\n          *param_6 = local_134;" (statement_identifier "LAB_0004d351") (: ":") (expression_statement "*param_6 = local_134;" (assignment_expression "*param_6 = local_134" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (identifier "local_134")) (; ";"))) (expression_statement "param_6[1] = local_130;" (assignment_expression "param_6[1] = local_130" (subscript_expression "param_6[1]" (identifier "param_6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_130")) (; ";")) (expression_statement "param_6[2] = local_12c[0];" (assignment_expression "param_6[2] = local_12c[0]" (subscript_expression "param_6[2]" (identifier "param_6") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "local_12c[0]" (identifier "local_12c") ([ "[") (number_literal "0") (] "]"))) (; ";")) (labeled_statement "LAB_0004d362:\n          local_134 = local_12c;" (statement_identifier "LAB_0004d362") (: ":") (expression_statement "local_134 = local_12c;" (assignment_expression "local_134 = local_12c" (identifier "local_134") (= "=") (identifier "local_12c")) (; ";"))) (goto_statement "goto LAB_0004d1e8;" (goto "goto") (statement_identifier "LAB_0004d1e8") (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_0004d260:\n      if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }" (statement_identifier "LAB_0004d260") (: ":") (if_statement "if (local_130 != 0) {\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }" (if "if") (parenthesized_expression "(local_130 != 0)" (( "(") (binary_expression "local_130 != 0" (identifier "local_130") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }\n      }" ({ "{") (if_statement "if (local_130 == 1) {\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }\n        else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }" (if "if") (parenthesized_expression "(local_130 == 1)" (( "(") (binary_expression "local_130 == 1" (identifier "local_130") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n          *(undefined1 *)__dest = (undefined1)local_12c[0];\n          __dest = (undefined4 *)*param_6;\n        }" ({ "{") (expression_statement "*(undefined1 *)__dest = (undefined1)local_12c[0];" (assignment_expression "*(undefined1 *)__dest = (undefined1)local_12c[0]" (pointer_expression "*(undefined1 *)__dest" (* "*") (cast_expression "(undefined1 *)__dest" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__dest"))) (= "=") (cast_expression "(undefined1)local_12c[0]" (( "(") (type_descriptor "undefined1" (type_identifier "undefined1")) () ")") (subscript_expression "local_12c[0]" (identifier "local_12c") ([ "[") (number_literal "0") (] "]")))) (; ";")) (expression_statement "__dest = (undefined4 *)*param_6;" (assignment_expression "__dest = (undefined4 *)*param_6" (identifier "__dest") (= "=") (cast_expression "(undefined4 *)*param_6" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_6" (* "*") (identifier "param_6")))) (; ";")) (} "}")) (else_clause "else {\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }" (else "else") (compound_statement "{\n          memcpy(__dest,local_12c,local_130);\n          __dest = (undefined4 *)*param_6;\n        }" ({ "{") (expression_statement "memcpy(__dest,local_12c,local_130);" (call_expression "memcpy(__dest,local_12c,local_130)" (identifier "memcpy") (argument_list "(__dest,local_12c,local_130)" (( "(") (identifier "__dest") (, ",") (identifier "local_12c") (, ",") (identifier "local_130") () ")"))) (; ";")) (expression_statement "__dest = (undefined4 *)*param_6;" (assignment_expression "__dest = (undefined4 *)*param_6" (identifier "__dest") (= "=") (cast_expression "(undefined4 *)*param_6" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_6" (* "*") (identifier "param_6")))) (; ";")) (} "}")))) (} "}")))) (expression_statement "param_6[1] = local_130;" (assignment_expression "param_6[1] = local_130" (subscript_expression "param_6[1]" (identifier "param_6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_130")) (; ";")) (expression_statement "*(undefined1 *)((int)__dest + local_130) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + local_130) = 0" (pointer_expression "*(undefined1 *)((int)__dest + local_130)" (* "*") (cast_expression "(undefined1 *)((int)__dest + local_130)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__dest + local_130)" (( "(") (binary_expression "(int)__dest + local_130" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (identifier "local_130")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }" (else "else") (compound_statement "{\n      if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }\n      pcVar1 = (char *)gettext("unsupported ELF version %d");\n      snprintf((char *)local_11c,0x100,pcVar1,uVar5);\n      puVar4 = local_11c;\n      do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);\n      bVar7 = (uVar6 & 0x8080) == 0;\n      if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }\n      if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }\n      local_134 = local_12c;\n      FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);\n      __dest = (undefined4 *)*param_6;\n      if (local_134 == local_12c) goto LAB_0004d260;\n      if (__dest == param_6 + 2) goto LAB_0004d351;\nLAB_0004d1b1:\n      local_144 = param_6[2];\n      param_6[1] = local_130;\n      *param_6 = local_134;\n      param_6[2] = local_12c[0];\n      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;\nLAB_0004d1d6:\n      local_12c[0] = local_144;\n      local_134 = __dest;\n    }" ({ "{") (if_statement "if (uVar5 == 0) {\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }" (if "if") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        pcVar1 = "invalid ELF version 0";\n        goto LAB_0004d221;\n      }" ({ "{") (expression_statement "pcVar1 = "invalid ELF version 0";" (assignment_expression "pcVar1 = "invalid ELF version 0"" (identifier "pcVar1") (= "=") (string_literal ""invalid ELF version 0"" (" """) (string_content "invalid ELF version 0") (" """))) (; ";")) (goto_statement "goto LAB_0004d221;" (goto "goto") (statement_identifier "LAB_0004d221") (; ";")) (} "}"))) (expression_statement "pcVar1 = (char *)gettext("unsupported ELF version %d");" (assignment_expression "pcVar1 = (char *)gettext("unsupported ELF version %d")" (identifier "pcVar1") (= "=") (cast_expression "(char *)gettext("unsupported ELF version %d")" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "gettext("unsupported ELF version %d")" (identifier "gettext") (argument_list "("unsupported ELF version %d")" (( "(") (string_literal ""unsupported ELF version %d"" (" """) (string_content "unsupported ELF version %d") (" """)) () ")"))))) (; ";")) (expression_statement "snprintf((char *)local_11c,0x100,pcVar1,uVar5);" (call_expression "snprintf((char *)local_11c,0x100,pcVar1,uVar5)" (identifier "snprintf") (argument_list "((char *)local_11c,0x100,pcVar1,uVar5)" (( "(") (cast_expression "(char *)local_11c" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_11c")) (, ",") (number_literal "0x100") (, ",") (identifier "pcVar1") (, ",") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "puVar4 = local_11c;" (assignment_expression "puVar4 = local_11c" (identifier "puVar4") (= "=") (identifier "local_11c")) (; ";")) (do_statement "do {\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      } while (uVar5 == 0);" (do "do") (compound_statement "{\n        puVar3 = puVar4;\n        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;\n        uVar5 = uVar6 & 0x80808080;\n        puVar4 = puVar3 + 1;\n      }" ({ "{") (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" (identifier "puVar3") (= "=") (identifier "puVar4")) (; ";")) (expression_statement "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;" (assignment_expression "uVar6 = *puVar3 + 0xfefefeff & ~*puVar3" (identifier "uVar6") (= "=") (binary_expression "*puVar3 + 0xfefefeff & ~*puVar3" (binary_expression "*puVar3 + 0xfefefeff" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (+ "+") (number_literal "0xfefefeff")) (& "&") (unary_expression "~*puVar3" (~ "~") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))))) (; ";")) (expression_statement "uVar5 = uVar6 & 0x80808080;" (assignment_expression "uVar5 = uVar6 & 0x80808080" (identifier "uVar5") (= "=") (binary_expression "uVar6 & 0x80808080" (identifier "uVar6") (& "&") (number_literal "0x80808080"))) (; ";")) (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (; ";")) (expression_statement "bVar7 = (uVar6 & 0x8080) == 0;" (assignment_expression "bVar7 = (uVar6 & 0x8080) == 0" (identifier "bVar7") (= "=") (binary_expression "(uVar6 & 0x8080) == 0" (parenthesized_expression "(uVar6 & 0x8080)" (( "(") (binary_expression "uVar6 & 0x8080" (identifier "uVar6") (& "&") (number_literal "0x8080")) () ")")) (== "==") (number_literal "0"))) (; ";")) (if_statement "if (bVar7) {\n        uVar5 = uVar5 >> 0x10;\n      }" (if "if") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (compound_statement "{\n        uVar5 = uVar5 >> 0x10;\n      }" ({ "{") (expression_statement "uVar5 = uVar5 >> 0x10;" (assignment_expression "uVar5 = uVar5 >> 0x10" (identifier "uVar5") (= "=") (binary_expression "uVar5 >> 0x10" (identifier "uVar5") (>> ">>") (number_literal "0x10"))) (; ";")) (} "}"))) (if_statement "if (bVar7) {\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }" (if "if") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (compound_statement "{\n        puVar4 = (uint *)((int)puVar3 + 6);\n      }" ({ "{") (expression_statement "puVar4 = (uint *)((int)puVar3 + 6);" (assignment_expression "puVar4 = (uint *)((int)puVar3 + 6)" (identifier "puVar4") (= "=") (cast_expression "(uint *)((int)puVar3 + 6)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + 6)" (( "(") (binary_expression "(int)puVar3 + 6" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (number_literal "6")) () ")")))) (; ";")) (} "}"))) (expression_statement "local_134 = local_12c;" (assignment_expression "local_134 = local_12c" (identifier "local_134") (= "=") (identifier "local_12c")) (; ";")) (expression_statement "FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);" (call_expression "FUN_0004cf80(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" (identifier "FUN_0004cf80") (argument_list "(&local_134,local_11c,\n                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0)" (( "(") (pointer_expression "&local_134" (& "&") (identifier "local_134")) (, ",") (identifier "local_11c") (, ",") (cast_expression "(char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)))" (( "(") (binary_expression "(int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4")) (+ "+") (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))" (( "(") (binary_expression "-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5)" (number_literal "-3") (- "-") (cast_expression "(uint)CARRY1((byte)uVar5,(byte)uVar5)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY1((byte)uVar5,(byte)uVar5)" (identifier "CARRY1") (argument_list "((byte)uVar5,(byte)uVar5)" (( "(") (cast_expression "(byte)uVar5" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar5")) (, ",") (cast_expression "(byte)uVar5" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar5")) () ")"))))) () ")"))) () ")"))) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "__dest = (undefined4 *)*param_6;" (assignment_expression "__dest = (undefined4 *)*param_6" (identifier "__dest") (= "=") (cast_expression "(undefined4 *)*param_6" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_6" (* "*") (identifier "param_6")))) (; ";")) (if_statement "if (local_134 == local_12c) goto LAB_0004d260;" (if "if") (parenthesized_expression "(local_134 == local_12c)" (( "(") (binary_expression "local_134 == local_12c" (identifier "local_134") (== "==") (identifier "local_12c")) () ")")) (goto_statement "goto LAB_0004d260;" (goto "goto") (statement_identifier "LAB_0004d260") (; ";"))) (if_statement "if (__dest == param_6 + 2) goto LAB_0004d351;" (if "if") (parenthesized_expression "(__dest == param_6 + 2)" (( "(") (binary_expression "__dest == param_6 + 2" (identifier "__dest") (== "==") (binary_expression "param_6 + 2" (identifier "param_6") (+ "+") (number_literal "2"))) () ")")) (goto_statement "goto LAB_0004d351;" (goto "goto") (statement_identifier "LAB_0004d351") (; ";"))) (labeled_statement "LAB_0004d1b1:\n      local_144 = param_6[2];" (statement_identifier "LAB_0004d1b1") (: ":") (expression_statement "local_144 = param_6[2];" (assignment_expression "local_144 = param_6[2]" (identifier "local_144") (= "=") (subscript_expression "param_6[2]" (identifier "param_6") ([ "[") (number_literal "2") (] "]"))) (; ";"))) (expression_statement "param_6[1] = local_130;" (assignment_expression "param_6[1] = local_130" (subscript_expression "param_6[1]" (identifier "param_6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_130")) (; ";")) (expression_statement "*param_6 = local_134;" (assignment_expression "*param_6 = local_134" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (identifier "local_134")) (; ";")) (expression_statement "param_6[2] = local_12c[0];" (assignment_expression "param_6[2] = local_12c[0]" (subscript_expression "param_6[2]" (identifier "param_6") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "local_12c[0]" (identifier "local_12c") ([ "[") (number_literal "0") (] "]"))) (; ";")) (if_statement "if (__dest == (undefined4 *)0x0) goto LAB_0004d362;" (if "if") (parenthesized_expression "(__dest == (undefined4 *)0x0)" (( "(") (binary_expression "__dest == (undefined4 *)0x0" (identifier "__dest") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0004d362;" (goto "goto") (statement_identifier "LAB_0004d362") (; ";"))) (labeled_statement "LAB_0004d1d6:\n      local_12c[0] = local_144;" (statement_identifier "LAB_0004d1d6") (: ":") (expression_statement "local_12c[0] = local_144;" (assignment_expression "local_12c[0] = local_144" (subscript_expression "local_12c[0]" (identifier "local_12c") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "local_144")) (; ";"))) (expression_statement "local_134 = __dest;" (assignment_expression "local_134 = __dest" (identifier "local_134") (= "=") (identifier "__dest")) (; ";")) (} "}")))) (labeled_statement "LAB_0004d1e8:\n    local_130 = 0;" (statement_identifier "LAB_0004d1e8") (: ":") (expression_statement "local_130 = 0;" (assignment_expression "local_130 = 0" (identifier "local_130") (= "=") (number_literal "0")) (; ";"))) (expression_statement "*(undefined1 *)local_134 = 0;" (assignment_expression "*(undefined1 *)local_134 = 0" (pointer_expression "*(undefined1 *)local_134" (* "*") (cast_expression "(undefined1 *)local_134" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_134"))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_134 != local_12c) {\n      FUN_001807a0(local_134);\n    }" (if "if") (parenthesized_expression "(local_134 != local_12c)" (( "(") (binary_expression "local_134 != local_12c" (identifier "local_134") (!= "!=") (identifier "local_12c")) () ")")) (compound_statement "{\n      FUN_001807a0(local_134);\n    }" ({ "{") (expression_statement "FUN_001807a0(local_134);" (call_expression "FUN_001807a0(local_134)" (identifier "FUN_001807a0") (argument_list "(local_134)" (( "(") (identifier "local_134") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);\n  }" (else "else") (compound_statement "{\nLAB_0004d218:\n    pcVar1 = "ELF file too short";\nLAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);\n    sVar2 = strlen(pcVar1);\n    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);\n  }" ({ "{") (labeled_statement "LAB_0004d218:\n    pcVar1 = "ELF file too short";" (statement_identifier "LAB_0004d218") (: ":") (expression_statement "pcVar1 = "ELF file too short";" (assignment_expression "pcVar1 = "ELF file too short"" (identifier "pcVar1") (= "=") (string_literal ""ELF file too short"" (" """) (string_content "ELF file too short") (" """))) (; ";"))) (labeled_statement "LAB_0004d221:\n    pcVar1 = (char *)gettext(pcVar1);" (statement_identifier "LAB_0004d221") (: ":") (expression_statement "pcVar1 = (char *)gettext(pcVar1);" (assignment_expression "pcVar1 = (char *)gettext(pcVar1)" (identifier "pcVar1") (= "=") (cast_expression "(char *)gettext(pcVar1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "gettext(pcVar1)" (identifier "gettext") (argument_list "(pcVar1)" (( "(") (identifier "pcVar1") () ")"))))) (; ";"))) (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" (identifier "sVar2") (= "=") (call_expression "strlen(pcVar1)" (identifier "strlen") (argument_list "(pcVar1)" (( "(") (identifier "pcVar1") () ")")))) (; ";")) (expression_statement "FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);" (call_expression "FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2)" (identifier "FUN_001893e0") (argument_list "(param_6,0,param_6[1],pcVar1,sVar2)" (( "(") (identifier "param_6") (, ",") (number_literal "0") (, ",") (subscript_expression "param_6[1]" (identifier "param_6") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "pcVar1") (, ",") (identifier "sVar2") () ")"))) (; ";")) (} "}")))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

bool __thiscall
elfcpp::type_1::function_1
          (type_1 *this,type_2 *var_7,type_3 bufsize,int *size,bool *var_16,
          type_4 *error)

{
  char *pcVar1;
  size_t sVar2;
  anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
  *var_5;
  type_5 *var_12;
  type_5 *puVar4;
  type_5 var_8;
  type_5 var_9;
  bool bVar7;
  type_6 local_144;
  basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3> var_6;
  char buf [256];
  
  if (-(int)bufsize < (int)(type_5)((type_2 *)0xf < var_7)) {
    var_8 = (type_5)(type_7)this[6];
    if (var_8 == 1) {
      var_8 = (type_5)(type_7)this[4];
      if (var_8 == 0) {
        pcVar1 = "invalid ELF class 0";
        goto LAB_0004d221;
      }
      if (var_8 - 1 < 2) {
        var_9 = (type_5)(type_7)this[5];
        if (var_9 == 0) {
          pcVar1 = "invalid ELF data encoding";
          goto LAB_0004d221;
        }
        if (var_9 - 1 < 2) {
          *(bool *)size = var_9 == 2;
          if (var_8 == 1) {
            if (-(int)bufsize < (int)(type_5)((type_2 *)0x33 < var_7)) {
              *bufsize._4_4_ = 0x20;
              return true;
            }
          }
          else if (-(int)bufsize < (int)(type_5)((type_2 *)0x3f < var_7)) {
            *bufsize._4_4_ = 0x40;
            return true;
          }
          goto LAB_0004d218;
        }
        pcVar1 = (char *)var_10("unsupported ELF data encoding %d");
        var_11(buf,0x100,pcVar1,var_9);
        puVar4 = (type_5 *)buf;
        do {
          var_12 = puVar4;
          var_9 = *var_12 + 0xfefefeff & ~*var_12;
          var_8 = var_9 & 0x80808080;
          puVar4 = var_12 + 1;
        } while (var_8 == 0);
        bVar7 = (var_9 & 0x8080) == 0;
        if (bVar7) {
          var_8 = var_8 >> 0x10;
        }
        if (bVar7) {
          puVar4 = (type_5 *)((int)var_12 + 6);
        }
        var_6._M_dataplus._M_p = (type_8)&var_6.field_2;
        std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>::
        var_13<var_14*>
                  (&var_6,buf,
                   (char *)((int)puVar4 + (-3 - (type_5)var_15((type_7)var_8,(type_7)var_8))),0);
        var_5 = *(anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
                   **)var_16;
        if ((anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
             *)var_6._M_dataplus._M_p != &var_6.field_2) {
          if (var_5 == (anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
                         *)(var_16 + 8)) {
            *(type_8 *)var_16 = var_6._M_dataplus._M_p;
            *(type_6 *)(var_16 + 4) = var_6._M_string_length;
            *(type_6 *)(var_16 + 8) = var_6.field_2._M_allocated_capacity;
          }
          else {
            local_144 = *(type_6 *)(var_16 + 8);
            *(type_8 *)var_16 = var_6._M_dataplus._M_p;
            *(type_6 *)(var_16 + 4) = var_6._M_string_length;
            *(type_6 *)(var_16 + 8) = var_6.field_2._M_allocated_capacity;
            if (var_5 != (anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
                           *)0x0) goto LAB_0004d1d6;
          }
          goto LAB_0004d362;
        }
      }
      else {
        pcVar1 = (char *)var_10("unsupported ELF class %d");
        var_11(buf,0x100,pcVar1,var_8);
        puVar4 = (type_5 *)buf;
        do {
          var_12 = puVar4;
          var_9 = *var_12 + 0xfefefeff & ~*var_12;
          var_8 = var_9 & 0x80808080;
          puVar4 = var_12 + 1;
        } while (var_8 == 0);
        bVar7 = (var_9 & 0x8080) == 0;
        if (bVar7) {
          var_8 = var_8 >> 0x10;
        }
        if (bVar7) {
          puVar4 = (type_5 *)((int)var_12 + 6);
        }
        var_6._M_dataplus._M_p = (type_8)&var_6.field_2;
        std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>::
        var_13<var_14*>
                  (&var_6,buf,
                   (char *)((int)puVar4 + (-3 - (type_5)var_15((type_7)var_8,(type_7)var_8))),0);
        var_5 = *(anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
                   **)var_16;
        if ((anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
             *)var_6._M_dataplus._M_p != &var_6.field_2) {
          if (var_5 != (anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
                         *)(var_16 + 8)) goto LAB_0004d1b1;
LAB_0004d351:
          *(type_8 *)var_16 = var_6._M_dataplus._M_p;
          *(type_6 *)(var_16 + 4) = var_6._M_string_length;
          *(type_6 *)(var_16 + 8) = var_6.field_2._M_allocated_capacity;
LAB_0004d362:
          var_6._M_dataplus._M_p = (type_8)&var_6.field_2;
          goto LAB_0004d1e8;
        }
      }
LAB_0004d260:
      if (var_6._M_string_length != 0) {
        if (var_6._M_string_length == 1) {
          var_5->_M_local_buf[0] = var_6.field_2._M_local_buf[0];
          var_5 = *(anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
                     **)var_16;
        }
        else {
          var_17(var_5,&var_6.field_2,var_6._M_string_length);
          var_5 = *(anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
                     **)var_16;
        }
      }
      *(type_6 *)(var_16 + 4) = var_6._M_string_length;
      var_5->_M_local_buf[var_6._M_string_length] = '\0';
    }
    else {
      if (var_8 == 0) {
        pcVar1 = "invalid ELF version 0";
        goto LAB_0004d221;
      }
      pcVar1 = (char *)var_10("unsupported ELF version %d");
      var_11(buf,0x100,pcVar1,var_8);
      puVar4 = (type_5 *)buf;
      do {
        var_12 = puVar4;
        var_9 = *var_12 + 0xfefefeff & ~*var_12;
        var_8 = var_9 & 0x80808080;
        puVar4 = var_12 + 1;
      } while (var_8 == 0);
      bVar7 = (var_9 & 0x8080) == 0;
      if (bVar7) {
        var_8 = var_8 >> 0x10;
      }
      if (bVar7) {
        puVar4 = (type_5 *)((int)var_12 + 6);
      }
      var_6._M_dataplus._M_p = (type_8)&var_6.field_2;
      std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>::
      var_13<var_14*>
                (&var_6,buf,(char *)((int)puVar4 + (-3 - (type_5)var_15((type_7)var_8,(type_7)var_8)))
                 ,0);
      var_5 = *(anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
                 **)var_16;
      if ((anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
           *)var_6._M_dataplus._M_p == &var_6.field_2) goto LAB_0004d260;
      if (var_5 == (anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
                     *)(var_16 + 8)) goto LAB_0004d351;
LAB_0004d1b1:
      local_144 = *(type_6 *)(var_16 + 8);
      *(type_6 *)(var_16 + 4) = var_6._M_string_length;
      *(type_8 *)var_16 = var_6._M_dataplus._M_p;
      *(type_6 *)(var_16 + 8) = var_6.field_2._M_allocated_capacity;
      if (var_5 == (anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
                     *)0x0) goto LAB_0004d362;
LAB_0004d1d6:
      var_6.field_2._M_allocated_capacity = local_144;
      var_6._M_dataplus._M_p = (type_8)var_5;
    }
LAB_0004d1e8:
    var_6._M_string_length = 0;
    *var_6._M_dataplus._M_p = '\0';
    if ((anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
         *)var_6._M_dataplus._M_p != &var_6.field_2) {
      var_18(var_6._M_dataplus._M_p);
    }
  }
  else {
LAB_0004d218:
    pcVar1 = "ELF file too short";
LAB_0004d221:
    pcVar1 = (char *)var_10(pcVar1);
    sVar2 = var_19(pcVar1);
    std::string::var_20((type_4 *)var_16,0,*(type_5 *)(var_16 + 4),pcVar1,sVar2);
  }
  return false;
}


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

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

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

{
  char *pcVar1;
  size_t sVar2;
  undefined4 *__dest;
  uint *puVar3;
  uint *puVar4;
  uint uVar5;
  uint uVar6;
  bool bVar7;
  undefined4 local_144;
  undefined4 *local_134;
  size_t local_130;
  undefined4 local_12c [4];
  uint local_11c [66];
  undefined4 uStack_14;
  
  uStack_14 = 0x4d065;
  if (-param_3 < (int)(uint)(0xf < param_2)) {
    uVar5 = (uint)*(byte *)(param_1 + 6);
    if (uVar5 == 1) {
      uVar5 = (uint)*(byte *)(param_1 + 4);
      if (uVar5 == 0) {
        pcVar1 = "invalid ELF class 0";
        goto LAB_0004d221;
      }
      if (uVar5 - 1 < 2) {
        uVar6 = (uint)*(byte *)(param_1 + 5);
        if (uVar6 == 0) {
          pcVar1 = "invalid ELF data encoding";
          goto LAB_0004d221;
        }
        if (uVar6 - 1 < 2) {
          *(bool *)param_5 = uVar6 == 2;
          if (uVar5 == 1) {
            if (-param_3 < (int)(uint)(0x33 < param_2)) {
              *param_4 = 0x20;
              return 1;
            }
          }
          else if (-param_3 < (int)(uint)(0x3f < param_2)) {
            *param_4 = 0x40;
            return 1;
          }
          goto LAB_0004d218;
        }
        pcVar1 = (char *)gettext("unsupported ELF data encoding %d");
        snprintf((char *)local_11c,0x100,pcVar1,uVar6);
        puVar4 = local_11c;
        do {
          puVar3 = puVar4;
          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;
          uVar5 = uVar6 & 0x80808080;
          puVar4 = puVar3 + 1;
        } while (uVar5 == 0);
        bVar7 = (uVar6 & 0x8080) == 0;
        if (bVar7) {
          uVar5 = uVar5 >> 0x10;
        }
        if (bVar7) {
          puVar4 = (uint *)((int)puVar3 + 6);
        }
        local_134 = local_12c;
        FUN_0004cf80(&local_134,local_11c,
                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);
        __dest = (undefined4 *)*param_6;
        if (local_134 != local_12c) {
          if (__dest == param_6 + 2) {
            *param_6 = local_134;
            param_6[1] = local_130;
            param_6[2] = local_12c[0];
          }
          else {
            local_144 = param_6[2];
            *param_6 = local_134;
            param_6[1] = local_130;
            param_6[2] = local_12c[0];
            if (__dest != (undefined4 *)0x0) goto LAB_0004d1d6;
          }
          goto LAB_0004d362;
        }
      }
      else {
        pcVar1 = (char *)gettext("unsupported ELF class %d");
        snprintf((char *)local_11c,0x100,pcVar1,uVar5);
        puVar4 = local_11c;
        do {
          puVar3 = puVar4;
          uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;
          uVar5 = uVar6 & 0x80808080;
          puVar4 = puVar3 + 1;
        } while (uVar5 == 0);
        bVar7 = (uVar6 & 0x8080) == 0;
        if (bVar7) {
          uVar5 = uVar5 >> 0x10;
        }
        if (bVar7) {
          puVar4 = (uint *)((int)puVar3 + 6);
        }
        local_134 = local_12c;
        FUN_0004cf80(&local_134,local_11c,
                     (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);
        __dest = (undefined4 *)*param_6;
        if (local_134 != local_12c) {
          if (__dest != param_6 + 2) goto LAB_0004d1b1;
LAB_0004d351:
          *param_6 = local_134;
          param_6[1] = local_130;
          param_6[2] = local_12c[0];
LAB_0004d362:
          local_134 = local_12c;
          goto LAB_0004d1e8;
        }
      }
LAB_0004d260:
      if (local_130 != 0) {
        if (local_130 == 1) {
          *(undefined1 *)__dest = (undefined1)local_12c[0];
          __dest = (undefined4 *)*param_6;
        }
        else {
          memcpy(__dest,local_12c,local_130);
          __dest = (undefined4 *)*param_6;
        }
      }
      param_6[1] = local_130;
      *(undefined1 *)((int)__dest + local_130) = 0;
    }
    else {
      if (uVar5 == 0) {
        pcVar1 = "invalid ELF version 0";
        goto LAB_0004d221;
      }
      pcVar1 = (char *)gettext("unsupported ELF version %d");
      snprintf((char *)local_11c,0x100,pcVar1,uVar5);
      puVar4 = local_11c;
      do {
        puVar3 = puVar4;
        uVar6 = *puVar3 + 0xfefefeff & ~*puVar3;
        uVar5 = uVar6 & 0x80808080;
        puVar4 = puVar3 + 1;
      } while (uVar5 == 0);
      bVar7 = (uVar6 & 0x8080) == 0;
      if (bVar7) {
        uVar5 = uVar5 >> 0x10;
      }
      if (bVar7) {
        puVar4 = (uint *)((int)puVar3 + 6);
      }
      local_134 = local_12c;
      FUN_0004cf80(&local_134,local_11c,
                   (char *)((int)puVar4 + (-3 - (uint)CARRY1((byte)uVar5,(byte)uVar5))),0);
      __dest = (undefined4 *)*param_6;
      if (local_134 == local_12c) goto LAB_0004d260;
      if (__dest == param_6 + 2) goto LAB_0004d351;
LAB_0004d1b1:
      local_144 = param_6[2];
      param_6[1] = local_130;
      *param_6 = local_134;
      param_6[2] = local_12c[0];
      if (__dest == (undefined4 *)0x0) goto LAB_0004d362;
LAB_0004d1d6:
      local_12c[0] = local_144;
      local_134 = __dest;
    }
LAB_0004d1e8:
    local_130 = 0;
    *(undefined1 *)local_134 = 0;
    if (local_134 != local_12c) {
      FUN_001807a0(local_134);
    }
  }
  else {
LAB_0004d218:
    pcVar1 = "ELF file too short";
LAB_0004d221:
    pcVar1 = (char *)gettext(pcVar1);
    sVar2 = strlen(pcVar1);
    FUN_001893e0(param_6,0,param_6[1],pcVar1,sVar2);
  }
  return 0;
}

