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

int __regparm3 process_object(char *file_name,FILE *file)

{
  bfd_vma bVar1;
  bfd_size_type bVar2;
  long __off;
  size_t sVar3;
  char *pcVar4;
  int iVar5;
  Elf32_External_Ehdr *__ptr;
  int *piVar6;
  elfclass eVar7;
  elfclass eVar8;
  bool bVar9;
  elf_vma eVar10;
  elfclass eVar11;
  char *pcVar12;
  FILE *pFVar13;
  uint uVar14;
  uchar *puVar15;
  
  __off = ftell((FILE *)file);
  sVar3 = fread(&elf_header,0x10,1,(FILE *)file);
  if (sVar3 != 1) goto LAB_00011c39;
  pFVar13 = file;
  if (elf_header.e_ident[5] == '\x02') {
    byte_get = byte_get_big_endian;
    byte_put = byte_put_big_endian;
    if (elf_header.e_ident[4] != '\x01') goto LAB_00011ca7;
LAB_00011d08:
    puVar15 = ehdr32.e_type;
    sVar3 = fread(ehdr32.e_type,0x24,1,(FILE *)file);
    if (sVar3 != 1) goto LAB_00011c39;
    eVar10 = (*byte_get)(puVar15,2);
    elf_header.e_type = (ushort)eVar10;
    eVar10 = (*byte_get)(ehdr32.e_machine,2);
    elf_header.e_machine = (ushort)eVar10;
    eVar10 = (*byte_get)(ehdr32.e_version,4);
    elf_header.e_version = (ulong)eVar10;
    elf_header.e_entry = (*byte_get)(ehdr32.e_entry,4);
    elf_header.e_phoff = (*byte_get)(ehdr32.e_phoff,4);
    elf_header.e_shoff = (*byte_get)(ehdr32.e_shoff,4);
    eVar10 = (*byte_get)(ehdr32.e_flags,4);
    elf_header.e_flags = (ulong)eVar10;
    eVar10 = (*byte_get)(ehdr32.e_ehsize,2);
    elf_header.e_ehsize = (uint)eVar10;
    eVar10 = (*byte_get)(ehdr32.e_phentsize,2);
    elf_header.e_phentsize = (uint)eVar10;
    eVar10 = (*byte_get)(ehdr32.e_phnum,2);
    elf_header.e_phnum = (uint)eVar10;
    eVar10 = (*byte_get)(ehdr32.e_shentsize,2);
    elf_header.e_shentsize = (uint)eVar10;
    eVar10 = (*byte_get)(ehdr32.e_shnum,2);
    elf_header.e_shnum = (uint)eVar10;
    eVar10 = (*byte_get)(ehdr32.e_shstrndx,2);
    elf_header.e_shstrndx = (uint)eVar10;
    ehdr32.e_ident[0] = elf_header.e_ident[0];
    ehdr32.e_ident[1] = elf_header.e_ident[1];
    ehdr32.e_ident[2] = elf_header.e_ident[2];
    ehdr32.e_ident[3] = elf_header.e_ident[3];
    ehdr32.e_ident[4] = elf_header.e_ident[4];
    ehdr32.e_ident[5] = elf_header.e_ident[5];
    ehdr32.e_ident[6] = elf_header.e_ident[6];
    ehdr32.e_ident[7] = elf_header.e_ident[7];
    ehdr32.e_ident[8] = elf_header.e_ident[8];
    ehdr32.e_ident[9] = elf_header.e_ident[9];
    ehdr32.e_ident[10] = elf_header.e_ident[10];
    ehdr32.e_ident[0xb] = elf_header.e_ident[0xb];
    ehdr32.e_ident[0xc] = elf_header.e_ident[0xc];
    ehdr32.e_ident[0xd] = elf_header.e_ident[0xd];
    ehdr32.e_ident[0xe] = elf_header.e_ident[0xe];
    ehdr32.e_ident[0xf] = elf_header.e_ident[0xf];
LAB_00011fce:
    iVar5 = fseek((FILE *)file,__off,0);
    if (iVar5 != 0) {
      pcVar4 = (char *)dcgettext(0,"%s: Failed to seek to ELF header\n",5);
      error(pcVar4,file_name);
    }
    eVar11 = input_elf_machine;
    if (elf_header.e_ident._0_4_ == 0x464c457f) {
      if (elf_header.e_ident[6] != '\x01') {
        eVar8 = (elfclass)elf_header.e_ident[6];
        pcVar4 = (char *)dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar13,
                                   file_name,eVar8);
        eVar11 = ELF_CLASS_32;
        eVar8 = eVar8 & 0xff;
        goto LAB_0001223f;
      }
      eVar7 = (elfclass)elf_header.e_machine;
      bVar1 = elf_header.e_entry;
      bVar2 = elf_header.e_shoff;
      if (eVar7 != output_elf_machine) {
        eVar8 = elf_header.e_ident._4_4_ & 0xff;
        if (input_elf_class == ELF_CLASS_UNKNOWN) {
          if (elf_header.e_machine == 6) {
LAB_00012338:
            bVar9 = eVar8 != ELF_CLASS_32;
            input_elf_class = ELF_CLASS_32;
            goto LAB_00012050;
          }
          if (elf_header.e_machine < 7) {
            if (elf_header.e_machine == 3) goto LAB_00012338;
          }
          else if ((ushort)(elf_header.e_machine - 0xb4) < 2) {
            bVar9 = eVar8 != ELF_CLASS_64;
            input_elf_class = ELF_CLASS_64;
            goto LAB_00012050;
          }
          input_elf_class = ELF_CLASS_BOTH;
LAB_00012058:
          if ((output_elf_class == ELF_CLASS_BOTH) || (eVar8 == output_elf_class)) {
            if ((input_elf_machine != -1) && (eVar7 != input_elf_machine)) {
              eVar8 = eVar7;
              pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,
                                         file_name,eVar7);
              goto LAB_0001223f;
            }
            eVar8 = (elfclass)elf_header.e_type;
            if ((input_elf_type == -1) || (eVar8 == input_elf_type)) {
              eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;
              if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {
                if (elf_header.e_ident[4] == '\x01') {
                  if (output_elf_machine != -1) {
                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);
                  }
                  if (output_elf_type != -1) {
                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);
                  }
                  if (output_elf_osabi != -1) {
                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;
                  }
                  __ptr = &ehdr32;
                  sVar3 = 0x34;
                }
                else {
                  if (elf_header.e_ident[4] != '\x02') {
                    /* WARNING: Subroutine does not return */
                    abort();
                  }
                  if (output_elf_machine != -1) {
                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);
                  }
                  if (output_elf_type != -1) {
                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);
                  }
                  if (output_elf_osabi != -1) {
                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;
                  }
                  sVar3 = 0x40;
                  __ptr = (Elf32_External_Ehdr *)&ehdr64;
                }
                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);
                bVar1 = elf_header.e_entry;
                bVar2 = elf_header.e_shoff;
                if (sVar3 != 1) {
                  piVar6 = __errno_location();
                  pcVar12 = strerror(*piVar6);
                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);
                  goto LAB_00011c4e;
                }
                goto LAB_00012260;
              }
              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";
              eVar11 = input_elf_osabi;
            }
            else {
              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";
              eVar11 = input_elf_type;
            }
          }
          else {
            pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";
            eVar11 = output_elf_class;
          }
        }
        else {
          bVar9 = input_elf_class != ELF_CLASS_BOTH && eVar8 != input_elf_class;
LAB_00012050:
          if (!bVar9) goto LAB_00012058;
          pcVar4 = "%s: Unmatched input EI_CLASS: %d is not %d\n";
          eVar11 = input_elf_class;
        }
        pcVar4 = (char *)dcgettext(0,pcVar4,5);
LAB_0001223f:
        error(pcVar4,file_name,eVar8,eVar11);
        return 1;
      }
LAB_00012260:
      iVar5 = 0;
      goto LAB_00011c60;
    }
    pcVar12 = (char *)0x5;
    pcVar4 = (char *)dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);
  }
  else {
    byte_get = byte_get_little_endian;
    byte_put = byte_put_little_endian;
    if (elf_header.e_ident[4] == '\x01') goto LAB_00011d08;
LAB_00011ca7:
    uVar14 = elf_header.e_ident._4_4_ & 0xff;
    if (elf_header.e_ident[4] == '\x02') {
      puVar15 = ehdr64.e_type;
      sVar3 = fread(ehdr64.e_type,0x30,1,(FILE *)file);
      if (sVar3 != 1) goto LAB_00011c39;
      eVar10 = (*byte_get)(puVar15,2);
      elf_header.e_type = (ushort)eVar10;
      eVar10 = (*byte_get)(ehdr64.e_machine,2);
      elf_header.e_machine = (ushort)eVar10;
      eVar10 = (*byte_get)(ehdr64.e_version,4);
      elf_header.e_version = (ulong)eVar10;
      elf_header.e_entry = (*byte_get)(ehdr64.e_entry,8);
      elf_header.e_phoff = (*byte_get)(ehdr64.e_phoff,8);
      elf_header.e_shoff = (*byte_get)(ehdr64.e_shoff,8);
      eVar10 = (*byte_get)(ehdr64.e_flags,4);
      elf_header.e_flags = (ulong)eVar10;
      eVar10 = (*byte_get)(ehdr64.e_ehsize,2);
      elf_header.e_ehsize = (uint)eVar10;
      eVar10 = (*byte_get)(ehdr64.e_phentsize,2);
      elf_header.e_phentsize = (uint)eVar10;
      eVar10 = (*byte_get)(ehdr64.e_phnum,2);
      elf_header.e_phnum = (uint)eVar10;
      eVar10 = (*byte_get)(ehdr64.e_shentsize,2);
      elf_header.e_shentsize = (uint)eVar10;
      eVar10 = (*byte_get)(ehdr64.e_shnum,2);
      elf_header.e_shnum = (uint)eVar10;
      eVar10 = (*byte_get)(ehdr64.e_shstrndx,2);
      elf_header.e_shstrndx = (uint)eVar10;
      ehdr64.e_ident[0] = elf_header.e_ident[0];
      ehdr64.e_ident[1] = elf_header.e_ident[1];
      ehdr64.e_ident[2] = elf_header.e_ident[2];
      ehdr64.e_ident[3] = elf_header.e_ident[3];
      ehdr64.e_ident[4] = elf_header.e_ident[4];
      ehdr64.e_ident[5] = elf_header.e_ident[5];
      ehdr64.e_ident[6] = elf_header.e_ident[6];
      ehdr64.e_ident[7] = elf_header.e_ident[7];
      ehdr64.e_ident[8] = elf_header.e_ident[8];
      ehdr64.e_ident[9] = elf_header.e_ident[9];
      ehdr64.e_ident[10] = elf_header.e_ident[10];
      ehdr64.e_ident[0xb] = elf_header.e_ident[0xb];
      ehdr64.e_ident[0xc] = elf_header.e_ident[0xc];
      ehdr64.e_ident[0xd] = elf_header.e_ident[0xd];
      ehdr64.e_ident[0xe] = elf_header.e_ident[0xe];
      ehdr64.e_ident[0xf] = elf_header.e_ident[0xf];
      goto LAB_00011fce;
    }
    pcVar4 = (char *)dcgettext(0,"Unsupported EI_CLASS: %d\n",5);
    error(pcVar4,uVar14 & 0xff);
LAB_00011c39:
    pcVar12 = (char *)0x5;
    pcVar4 = (char *)dcgettext(0,"%s: Failed to read ELF header\n",5);
  }
LAB_00011c4e:
  error(pcVar4,file_name,pcVar12);
  iVar5 = 1;
  bVar1 = elf_header.e_entry;
  bVar2 = elf_header.e_shoff;
LAB_00011c60:
  elf_header.e_shoff._4_4_ = (undefined4)(bVar2 >> 0x20);
  elf_header.e_shoff._0_4_ = (undefined4)bVar2;
  elf_header.e_entry._4_4_ = (undefined4)(bVar1 >> 0x20);
  elf_header.e_entry._0_4_ = (undefined4)bVar1;
  return iVar5;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

undefined4 __regparm3 FUN_00011c00(undefined4 param_1,FILE *param_2)

{
  long __off;
  size_t sVar1;
  undefined4 uVar2;
  int iVar3;
  undefined4 *__ptr;
  int *piVar4;
  uint uVar5;
  uint uVar6;
  bool bVar7;
  undefined8 uVar8;
  uint uVar9;
  char *pcVar10;
  FILE *pFVar11;
  undefined4 extraout_var;
  undefined4 uVar12;
  undefined *puVar13;
  
  __off = ftell(param_2);
  uVar12 = extraout_var;
  sVar1 = fread(&DAT_00019240,0x10,1,param_2);
  if (sVar1 == 1) {
    pFVar11 = param_2;
    if (DAT_00019245 == '\x02') {
      DAT_00019294 = FUN_00012800;
      DAT_00019298 = FUN_00012dd0;
      if (DAT_00019244 != '\x01') goto LAB_00011ca7;
LAB_00011d08:
      puVar13 = &DAT_00019210;
      sVar1 = fread(&DAT_00019210,0x24,1,param_2);
      if (sVar1 != 1) goto LAB_00011c39;
      DAT_00019270 = (*DAT_00019294)(puVar13,2);
      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);
      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);
      uVar8 = (*DAT_00019294)(&DAT_00019218,4);
      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);
      DAT_00019250 = (undefined4)uVar8;
      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);
      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);
      DAT_00019258 = (undefined4)uVar8;
      uVar8 = (*DAT_00019294)(&DAT_00019220,4);
      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);
      DAT_00019260 = (undefined4)uVar8;
      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);
      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);
      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);
      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);
      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);
      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);
      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);
      DAT_00019200 = DAT_00019240;
      DAT_00019204 = _DAT_00019244;
      DAT_00019208 = DAT_00019248;
      DAT_0001920c = DAT_0001924c;
LAB_00011fce:
      iVar3 = fseek(param_2,__off,0);
      if (iVar3 != 0) {
        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);
        error(uVar2,uVar12);
      }
      uVar9 = DAT_000190e4;
      if (DAT_00019240 != 0x464c457f) {
        pcVar10 = (char *)0x5;
        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);
        goto LAB_00011c4e;
      }
      if (DAT_00019246 != 1) {
        uVar6 = (uint)DAT_00019246;
        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);
        uVar9 = 1;
        uVar6 = uVar6 & 0xff;
        goto LAB_0001223f;
      }
      uVar5 = (uint)DAT_00019272;
      if (uVar5 == DAT_000190e0) {
        return 0;
      }
      uVar6 = _DAT_00019244 & 0xff;
      if (DAT_000190cc == 0xffffffff) {
        if (DAT_00019272 == 6) {
LAB_00012338:
          bVar7 = uVar6 != 1;
          DAT_000190cc = 1;
          goto LAB_00012050;
        }
        if (DAT_00019272 < 7) {
          if (DAT_00019272 == 3) goto LAB_00012338;
        }
        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {
          bVar7 = uVar6 != 2;
          DAT_000190cc = 2;
          goto LAB_00012050;
        }
        DAT_000190cc = 3;
LAB_00012058:
        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {
          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {
            uVar6 = uVar5;
            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);
            goto LAB_0001223f;
          }
          uVar6 = (uint)DAT_00019270;
          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {
            uVar6 = _DAT_00019244 >> 0x18;
            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {
              if (DAT_00019244 == '\x01') {
                if (DAT_000190e0 != 0xffffffff) {
                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);
                }
                if (DAT_000190d8 != -1) {
                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);
                }
                if (DAT_000190d0 != -1) {
                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);
                }
                __ptr = &DAT_00019200;
                sVar1 = 0x34;
              }
              else {
                if (DAT_00019244 != '\x02') {
                    /* WARNING: Subroutine does not return */
                  abort();
                }
                if (DAT_000190e0 != 0xffffffff) {
                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);
                }
                if (DAT_000190d8 != -1) {
                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);
                }
                if (DAT_000190d0 != -1) {
                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);
                }
                __ptr = &DAT_000191c0;
                sVar1 = 0x40;
              }
              sVar1 = fwrite(__ptr,sVar1,1,param_2);
              if (sVar1 == 1) {
                return 0;
              }
              piVar4 = __errno_location();
              pcVar10 = strerror(*piVar4);
              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);
              goto LAB_00011c4e;
            }
            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";
            uVar9 = DAT_000190d4;
          }
          else {
            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";
            uVar9 = DAT_000190dc;
          }
        }
        else {
          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";
          uVar9 = DAT_000190c8;
        }
      }
      else {
        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;
LAB_00012050:
        if (!bVar7) goto LAB_00012058;
        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";
        uVar9 = DAT_000190cc;
      }
      uVar2 = dcgettext(0,pcVar10,5);
LAB_0001223f:
      error(uVar2,uVar12,uVar6,uVar9);
      return 1;
    }
    DAT_00019294 = FUN_00012e50;
    DAT_00019298 = FUN_00012d40;
    if (DAT_00019244 == '\x01') goto LAB_00011d08;
LAB_00011ca7:
    uVar9 = _DAT_00019244 & 0xff;
    if (DAT_00019244 == '\x02') {
      puVar13 = &DAT_000191d0;
      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);
      if (sVar1 == 1) {
        DAT_00019270 = (*DAT_00019294)(puVar13,2);
        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);
        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);
        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);
        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);
        DAT_00019250 = (undefined4)uVar8;
        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);
        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);
        DAT_00019258 = (undefined4)uVar8;
        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);
        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);
        DAT_00019260 = (undefined4)uVar8;
        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);
        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);
        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);
        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);
        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);
        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);
        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);
        DAT_000191c0 = DAT_00019240;
        DAT_000191c4 = _DAT_00019244;
        DAT_000191c8 = DAT_00019248;
        DAT_000191cc = DAT_0001924c;
        goto LAB_00011fce;
      }
    }
    else {
      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);
      error(uVar2,uVar9 & 0xff);
    }
  }
LAB_00011c39:
  pcVar10 = (char *)0x5;
  uVar2 = dcgettext(0,"%s: Failed to read ELF header\n",5);
LAB_00011c4e:
  error(uVar2,uVar12,pcVar10);
  return 1;
}


PUSH EBP
PUSH EDI
PUSH ESI
MOV ESI,EDX
PUSH EBX
CALL 0x000117c0
ADD EBX,0x73f5
SUB ESP,0x28
MOV dword ptr [ESP + 0xc],EAX
PUSH EDX
CALL 0x000111e0
PUSH ESI
MOV EBP,EAX
LEA EAX,[EBX + 0x240]
PUSH 0x1
PUSH 0x10
PUSH EAX
CALL 0x00011130
ADD ESP,0x20
CMP EAX,0x1
JZ 0x00011c70
SUB ESP,0x4
LEA EAX,[EBX + 0xffffc264]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000110d0
POP EDX
POP ECX
PUSH dword ptr [ESP + 0x8]
PUSH EAX
CALL 0x00012790
ADD ESP,0x10
MOV EAX,0x1
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP byte ptr [EBX + 0x245],0x2
LEA EDI,[EBX + 0x294]
JZ 0x00011ce0
LEA EAX,[EBX + 0xffff9e50]
MOVZX EDX,byte ptr [EBX + 0x244]
MOV dword ptr [EDI],EAX
LEA EAX,[EBX + 0x298]
MOV ECX,EAX
MOV dword ptr [ESP + 0x8],EAX
LEA EAX,[EBX + 0xffff9d40]
MOV dword ptr [ECX],EAX
CMP DL,0x1
JZ 0x00011d08
CMP DL,0x2
MOV byte ptr [ESP + 0x4],DL
JZ 0x00011e70
SUB ESP,0x4
LEA EAX,[EBX + 0xffffc5c2]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000110d0
POP EDX
POP ECX
MOVZX EDX,byte ptr [ESP + 0xc]
PUSH EDX
PUSH EAX
CALL 0x00012790
ADD ESP,0x10
JMP 0x00011c39
LEA EAX,[EBX + 0xffff9800]
MOVZX EDX,byte ptr [EBX + 0x244]
MOV dword ptr [EDI],EAX
LEA EAX,[EBX + 0x298]
MOV ECX,EAX
MOV dword ptr [ESP + 0x8],EAX
LEA EAX,[EBX + 0xffff9dd0]
MOV dword ptr [ECX],EAX
CMP DL,0x1
JNZ 0x00011ca7
LEA EDX,[EBX + 0x210]
PUSH ESI
PUSH 0x1
PUSH 0x24
PUSH EDX
MOV dword ptr [ESP + 0x14],EDX
CALL 0x00011130
ADD ESP,0x10
CMP EAX,0x1
JNZ 0x00011c39
SUB ESP,0x8
PUSH 0x2
MOV EDX,dword ptr [ESP + 0x10]
PUSH EDX
CALL dword ptr [EDI]
MOV word ptr [EBX + 0x270],AX
POP EAX
LEA EAX,[EBX + 0x212]
POP EDX
PUSH 0x2
PUSH EAX
CALL dword ptr [EDI]
POP ECX
MOV word ptr [EBX + 0x272],AX
POP EAX
LEA EAX,[EBX + 0x214]
PUSH 0x4
PUSH EAX
CALL dword ptr [EDI]
MOV dword ptr [EBX + 0x268],EAX
POP EAX
LEA EAX,[EBX + 0x218]
POP EDX
PUSH 0x4
PUSH EAX
CALL dword ptr [EDI]
POP ECX
MOV dword ptr [EBX + 0x250],EAX
POP EAX
LEA EAX,[EBX + 0x21c]
PUSH 0x4
MOV dword ptr [EBX + 0x254],EDX
PUSH EAX
CALL dword ptr [EDI]
MOV dword ptr [EBX + 0x258],EAX
POP EAX
LEA EAX,[EBX + 0x220]
MOV dword ptr [EBX + 0x25c],EDX
POP EDX
PUSH 0x4
PUSH EAX
CALL dword ptr [EDI]
POP ECX
MOV dword ptr [EBX + 0x260],EAX
POP EAX
LEA EAX,[EBX + 0x224]
PUSH 0x4
MOV dword ptr [EBX + 0x264],EDX
PUSH EAX
CALL dword ptr [EDI]
MOV dword ptr [EBX + 0x26c],EAX
POP EAX
LEA EAX,[EBX + 0x228]
POP EDX
PUSH 0x2
PUSH EAX
CALL dword ptr [EDI]
POP ECX
MOV dword ptr [EBX + 0x274],EAX
POP EAX
LEA EAX,[EBX + 0x22a]
PUSH 0x2
PUSH EAX
CALL dword ptr [EDI]
MOV dword ptr [EBX + 0x278],EAX
POP EAX
LEA EAX,[EBX + 0x22c]
POP EDX
PUSH 0x2
PUSH EAX
CALL dword ptr [EDI]
POP ECX
MOV dword ptr [EBX + 0x27c],EAX
POP EAX
LEA EAX,[EBX + 0x22e]
PUSH 0x2
PUSH EAX
CALL dword ptr [EDI]
MOV dword ptr [EBX + 0x280],EAX
POP EAX
LEA EAX,[EBX + 0x230]
POP EDX
PUSH 0x2
PUSH EAX
CALL dword ptr [EDI]
POP ECX
MOV dword ptr [EBX + 0x284],EAX
POP EAX
LEA EAX,[EBX + 0x232]
PUSH 0x2
PUSH EAX
CALL dword ptr [EDI]
MOV dword ptr [EBX + 0x288],EAX
MOV EAX,dword ptr [EBX + 0x240]
ADD ESP,0x10
MOV dword ptr [EBX + 0x200],EAX
MOV EAX,dword ptr [EBX + 0x244]
MOV dword ptr [EBX + 0x204],EAX
MOV EAX,dword ptr [EBX + 0x248]
MOV dword ptr [EBX + 0x208],EAX
MOV EAX,dword ptr [EBX + 0x24c]
MOV dword ptr [EBX + 0x20c],EAX
JMP 0x00011fce
LEA EDX,[EBX + 0x1d0]
PUSH ESI
PUSH 0x1
PUSH 0x30
PUSH EDX
MOV dword ptr [ESP + 0x14],EDX
CALL 0x00011130
ADD ESP,0x10
CMP EAX,0x1
JNZ 0x00011c39
SUB ESP,0x8
PUSH 0x2
MOV EDX,dword ptr [ESP + 0x10]
PUSH EDX
CALL dword ptr [EDI]
MOV word ptr [EBX + 0x270],AX
POP EAX
LEA EAX,[EBX + 0x1d2]
POP EDX
PUSH 0x2
PUSH EAX
CALL dword ptr [EDI]
POP ECX
MOV word ptr [EBX + 0x272],AX
POP EAX
LEA EAX,[EBX + 0x1d4]
PUSH 0x4
PUSH EAX
CALL dword ptr [EDI]
MOV dword ptr [EBX + 0x268],EAX
POP EAX
LEA EAX,[EBX + 0x1d8]
POP EDX
PUSH 0x8
PUSH EAX
CALL dword ptr [EDI]
POP ECX
MOV dword ptr [EBX + 0x250],EAX
POP EAX
LEA EAX,[EBX + 0x1e0]
PUSH 0x8
MOV dword ptr [EBX + 0x254],EDX
PUSH EAX
CALL dword ptr [EDI]
MOV dword ptr [EBX + 0x258],EAX
POP EAX
LEA EAX,[EBX + 0x1e8]
MOV dword ptr [EBX + 0x25c],EDX
POP EDX
PUSH 0x8
PUSH EAX
CALL dword ptr [EDI]
POP ECX
MOV dword ptr [EBX + 0x260],EAX
POP EAX
LEA EAX,[EBX + 0x1f0]
PUSH 0x4
MOV dword ptr [EBX + 0x264],EDX
PUSH EAX
CALL dword ptr [EDI]
MOV dword ptr [EBX + 0x26c],EAX
POP EAX
LEA EAX,[EBX + 0x1f4]
POP EDX
PUSH 0x2
PUSH EAX
CALL dword ptr [EDI]
POP ECX
MOV dword ptr [EBX + 0x274],EAX
POP EAX
LEA EAX,[EBX + 0x1f6]
PUSH 0x2
PUSH EAX
CALL dword ptr [EDI]
MOV dword ptr [EBX + 0x278],EAX
POP EAX
LEA EAX,[EBX + 0x1f8]
POP EDX
PUSH 0x2
PUSH EAX
CALL dword ptr [EDI]
POP ECX
MOV dword ptr [EBX + 0x27c],EAX
POP EAX
LEA EAX,[EBX + 0x1fa]
PUSH 0x2
PUSH EAX
CALL dword ptr [EDI]
MOV dword ptr [EBX + 0x280],EAX
POP EAX
LEA EAX,[EBX + 0x1fc]
POP EDX
PUSH 0x2
PUSH EAX
CALL dword ptr [EDI]
POP ECX
MOV dword ptr [EBX + 0x284],EAX
POP EAX
LEA EAX,[EBX + 0x1fe]
PUSH 0x2
PUSH EAX
CALL dword ptr [EDI]
MOV dword ptr [EBX + 0x288],EAX
MOV EAX,dword ptr [EBX + 0x240]
ADD ESP,0x10
MOV dword ptr [EBX + 0x1c0],EAX
MOV EAX,dword ptr [EBX + 0x244]
MOV dword ptr [EBX + 0x1c4],EAX
MOV EAX,dword ptr [EBX + 0x248]
MOV dword ptr [EBX + 0x1c8],EAX
MOV EAX,dword ptr [EBX + 0x24c]
MOV dword ptr [EBX + 0x1cc],EAX
SUB ESP,0x4
PUSH 0x0
PUSH EBP
PUSH ESI
CALL 0x00011100
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000121f8
CMP dword ptr [EBX + 0x240],0x464c457f
JNZ 0x000121d8
MOVZX EDX,byte ptr [EBX + 0x246]
CMP DL,0x1
JNZ 0x00012220
MOVZX ECX,word ptr [EBX + 0x272]
MOV EDI,dword ptr [EBX + 0xe0]
MOV EAX,ECX
MOV dword ptr [ESP + 0x4],EDI
CMP ECX,EDI
JZ 0x00012260
MOVZX EBP,byte ptr [EBX + 0x244]
MOV EDI,dword ptr [EBX + 0xcc]
MOV EDX,EBP
MOV byte ptr [ESP + 0xf],DL
CMP EDI,-0x1
JZ 0x00012270
CMP EDI,0x3
SETNZ AL
CMP EBP,EDI
SETNZ byte ptr [ESP + 0xe]
MOVZX EDX,byte ptr [ESP + 0xe]
AND EAX,EDX
TEST AL,AL
JNZ 0x000122c0
MOV EDI,dword ptr [EBX + 0xc8]
CMP EDI,0x3
JZ 0x0001206b
CMP EBP,EDI
JNZ 0x00012300
MOV EDI,dword ptr [EBX + 0xe4]
CMP EDI,-0x1
JZ 0x0001207e
CMP ECX,EDI
JNZ 0x00012310
MOV EDI,dword ptr [EBX + 0xdc]
MOVZX EBP,word ptr [EBX + 0x270]
CMP EDI,-0x1
JZ 0x00012098
CMP EBP,EDI
JNZ 0x000122e0
MOV EDI,dword ptr [EBX + 0xd4]
MOVZX EBP,byte ptr [EBX + 0x247]
CMP EDI,-0x1
JZ 0x000120b2
CMP EBP,EDI
JNZ 0x000122f0
MOVZX EAX,byte ptr [ESP + 0xf]
CMP AL,0x1
JNZ 0x00012168
MOV ECX,dword ptr [ESP + 0x4]
CMP ECX,-0x1
JZ 0x000120df
MOV EAX,ECX
PUSH 0x2
CDQ
LEA EAX,[EBX + 0x212]
PUSH EDX
PUSH ECX
PUSH EAX
MOV EAX,dword ptr [ESP + 0x18]
CALL dword ptr [EAX]
ADD ESP,0x10
MOV EAX,dword ptr [EBX + 0xd8]
CMP EAX,-0x1
JZ 0x000120ff
CDQ
PUSH 0x2
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0x210]
PUSH EAX
MOV EAX,dword ptr [ESP + 0x18]
CALL dword ptr [EAX]
ADD ESP,0x10
MOV EAX,dword ptr [EBX + 0xd0]
CMP EAX,-0x1
JZ 0x00012110
MOV byte ptr [EBX + 0x207],AL
PUSH ESI
LEA EAX,[EBX + 0x200]
PUSH 0x1
PUSH 0x34
PUSH EAX
CALL 0x00011120
ADD ESP,0x10
CMP EAX,0x1
SETZ AL
MOVZX EAX,AL
CMP EAX,0x1
JZ 0x00012260
CALL 0x00011200
SUB ESP,0xc
PUSH dword ptr [EAX]
CALL 0x00011160
ADD ESP,0xc
MOV ESI,EAX
LEA EAX,[EBX + 0xffffc3dc]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000110d0
ADD ESP,0xc
PUSH ESI
JMP 0x00011c4e
CMP AL,0x2
JNZ 0x00012348
MOV ECX,dword ptr [ESP + 0x4]
CMP ECX,-0x1
JZ 0x00012190
MOV EAX,ECX
PUSH 0x2
CDQ
LEA EAX,[EBX + 0x1d2]
PUSH EDX
PUSH ECX
PUSH EAX
MOV EAX,dword ptr [ESP + 0x18]
CALL dword ptr [EAX]
ADD ESP,0x10
MOV EAX,dword ptr [EBX + 0xd8]
CMP EAX,-0x1
JZ 0x000121b0
CDQ
PUSH 0x2
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0x1d0]
PUSH EAX
MOV EAX,dword ptr [ESP + 0x18]
CALL dword ptr [EAX]
ADD ESP,0x10
MOV EAX,dword ptr [EBX + 0xd0]
CMP EAX,-0x1
JZ 0x000121c1
MOV byte ptr [EBX + 0x1c7],AL
PUSH ESI
LEA EAX,[EBX + 0x1c0]
PUSH 0x1
PUSH 0x40
JMP 0x0001211b
SUB ESP,0x4
LEA EAX,[EBX + 0xffffc2a8]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000110d0
POP EDX
POP ECX
JMP 0x00011c4e
SUB ESP,0x4
LEA EAX,[EBX + 0xffffc284]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000110d0
POP EDI
POP EBP
PUSH dword ptr [ESP + 0x8]
PUSH EAX
CALL 0x00012790
ADD ESP,0x10
JMP 0x00011fe5
MOV byte ptr [ESP + 0x4],DL
LEA EAX,[EBX + 0xffffc2e0]
SUB ESP,0x4
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000110d0
PUSH 0x1
MOVZX EDX,byte ptr [ESP + 0x18]
PUSH EDX
PUSH dword ptr [ESP + 0x18]
PUSH EAX
CALL 0x00012790
ADD ESP,0x20
MOV EAX,0x1
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
XOR EAX,EAX
JMP 0x00011c60
CMP CX,0x6
JZ 0x00012338
JBE 0x000122a0
SUB AX,0xb4
CMP AX,0x1
JA 0x000122aa
CMP EBP,0x2
MOV EDI,0x2
SETNZ AL
MOV dword ptr [EBX + 0xcc],EDI
JMP 0x00012050
CMP CX,0x3
JZ 0x00012338
MOV dword ptr [EBX + 0xcc],0x3
JMP 0x00012058
SUB ESP,0x4
LEA EAX,[EBX + 0xffffc30c]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000110d0
PUSH EDI
PUSH EBP
JMP 0x0001223f
SUB ESP,0x4
LEA EAX,[EBX + 0xffffc390]
PUSH 0x5
JMP 0x000122cb
SUB ESP,0x4
LEA EAX,[EBX + 0xffffc3b4]
PUSH 0x5
JMP 0x000122cb
SUB ESP,0x4
LEA EAX,[EBX + 0xffffc338]
PUSH 0x5
JMP 0x000122cb
MOV dword ptr [ESP + 0x4],ECX
LEA EAX,[EBX + 0xffffc368]
SUB ESP,0x4
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000110d0
PUSH EDI
MOV ECX,dword ptr [ESP + 0x18]
PUSH ECX
JMP 0x0001223f
CMP EBP,0x1
MOV EDI,0x1
SETNZ AL
JMP 0x00012291
CALL 0x00011260
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined4 __regparm3 FUN_00011c00(undefined4 param_1,FILE *param_2)\n\n{\n  long __off;\n  size_t sVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *__ptr;\n  int *piVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  undefined8 uVar8;\n  uint uVar9;\n  char *pcVar10;\n  FILE *pFVar11;\n  undefined4 extraout_var;\n  undefined4 uVar12;\n  undefined *puVar13;\n  \n  __off = ftell(param_2);\n  uVar12 = extraout_var;\n  sVar1 = fread(&DAT_00019240,0x10,1,param_2);\n  if (sVar1 == 1) {\n    pFVar11 = param_2;\n    if (DAT_00019245 == '\x02') {\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }\n    DAT_00019294 = FUN_00012e50;\n    DAT_00019298 = FUN_00012d40;\n    if (DAT_00019244 == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar9 = _DAT_00019244 & 0xff;\n    if (DAT_00019244 == '\x02') {\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }\n  }\nLAB_00011c39:\n  pcVar10 = (char *)0x5;\n  uVar2 = dcgettext(0,"%s: Failed to read ELF header\n",5);\nLAB_00011c4e:\n  error(uVar2,uVar12,pcVar10);\n  return 1;\n}\n\n" comment comment (function_definition "undefined4 __regparm3 FUN_00011c00(undefined4 param_1,FILE *param_2)\n\n{\n  long __off;\n  size_t sVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *__ptr;\n  int *piVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  undefined8 uVar8;\n  uint uVar9;\n  char *pcVar10;\n  FILE *pFVar11;\n  undefined4 extraout_var;\n  undefined4 uVar12;\n  undefined *puVar13;\n  \n  __off = ftell(param_2);\n  uVar12 = extraout_var;\n  sVar1 = fread(&DAT_00019240,0x10,1,param_2);\n  if (sVar1 == 1) {\n    pFVar11 = param_2;\n    if (DAT_00019245 == '\x02') {\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }\n    DAT_00019294 = FUN_00012e50;\n    DAT_00019298 = FUN_00012d40;\n    if (DAT_00019244 == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar9 = _DAT_00019244 & 0xff;\n    if (DAT_00019244 == '\x02') {\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }\n  }\nLAB_00011c39:\n  pcVar10 = (char *)0x5;\n  uVar2 = dcgettext(0,"%s: Failed to read ELF header\n",5);\nLAB_00011c4e:\n  error(uVar2,uVar12,pcVar10);\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00011c00(undefined4 param_1,FILE *param_2)" identifier (parameter_list "(undefined4 param_1,FILE *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "FILE *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long __off;\n  size_t sVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *__ptr;\n  int *piVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  undefined8 uVar8;\n  uint uVar9;\n  char *pcVar10;\n  FILE *pFVar11;\n  undefined4 extraout_var;\n  undefined4 uVar12;\n  undefined *puVar13;\n  \n  __off = ftell(param_2);\n  uVar12 = extraout_var;\n  sVar1 = fread(&DAT_00019240,0x10,1,param_2);\n  if (sVar1 == 1) {\n    pFVar11 = param_2;\n    if (DAT_00019245 == '\x02') {\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }\n    DAT_00019294 = FUN_00012e50;\n    DAT_00019298 = FUN_00012d40;\n    if (DAT_00019244 == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar9 = _DAT_00019244 & 0xff;\n    if (DAT_00019244 == '\x02') {\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }\n  }\nLAB_00011c39:\n  pcVar10 = (char *)0x5;\n  uVar2 = dcgettext(0,"%s: Failed to read ELF header\n",5);\nLAB_00011c4e:\n  error(uVar2,uVar12,pcVar10);\n  return 1;\n}" { (declaration "long __off;" (sized_type_specifier "long" long) identifier ;) (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "FILE *pFVar11;" type_identifier (pointer_declarator "*pFVar11" * identifier) ;) (declaration "undefined4 extraout_var;" type_identifier identifier ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (expression_statement "__off = ftell(param_2);" (assignment_expression "__off = ftell(param_2)" identifier = (call_expression "ftell(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar12 = extraout_var;" (assignment_expression "uVar12 = extraout_var" identifier = identifier) ;) (expression_statement "sVar1 = fread(&DAT_00019240,0x10,1,param_2);" (assignment_expression "sVar1 = fread(&DAT_00019240,0x10,1,param_2)" identifier = (call_expression "fread(&DAT_00019240,0x10,1,param_2)" identifier (argument_list "(&DAT_00019240,0x10,1,param_2)" ( (pointer_expression "&DAT_00019240" & identifier) , number_literal , number_literal , identifier )))) ;) (if_statement "if (sVar1 == 1) {\n    pFVar11 = param_2;\n    if (DAT_00019245 == '\x02') {\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }\n    DAT_00019294 = FUN_00012e50;\n    DAT_00019298 = FUN_00012d40;\n    if (DAT_00019244 == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar9 = _DAT_00019244 & 0xff;\n    if (DAT_00019244 == '\x02') {\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }\n  }" if (parenthesized_expression "(sVar1 == 1)" ( (binary_expression "sVar1 == 1" identifier == number_literal) )) (compound_statement "{\n    pFVar11 = param_2;\n    if (DAT_00019245 == '\x02') {\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }\n    DAT_00019294 = FUN_00012e50;\n    DAT_00019298 = FUN_00012d40;\n    if (DAT_00019244 == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar9 = _DAT_00019244 & 0xff;\n    if (DAT_00019244 == '\x02') {\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }\n  }" { (expression_statement "pFVar11 = param_2;" (assignment_expression "pFVar11 = param_2" identifier = identifier) ;) (if_statement "if (DAT_00019245 == '\x02') {\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }" if (parenthesized_expression "(DAT_00019245 == '\x02')" ( (binary_expression "DAT_00019245 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }" { (expression_statement "DAT_00019294 = FUN_00012800;" (assignment_expression "DAT_00019294 = FUN_00012800" identifier = identifier) ;) (expression_statement "DAT_00019298 = FUN_00012dd0;" (assignment_expression "DAT_00019298 = FUN_00012dd0" identifier = identifier) ;) (if_statement "if (DAT_00019244 != '\x01') goto LAB_00011ca7;" if (parenthesized_expression "(DAT_00019244 != '\x01')" ( (binary_expression "DAT_00019244 != '\x01'" identifier != (char_literal "'\x01'" ' escape_sequence ')) )) (goto_statement "goto LAB_00011ca7;" goto statement_identifier ;)) (labeled_statement "LAB_00011d08:\n      puVar13 = &DAT_00019210;" statement_identifier : (expression_statement "puVar13 = &DAT_00019210;" (assignment_expression "puVar13 = &DAT_00019210" identifier = (pointer_expression "&DAT_00019210" & identifier)) ;)) (expression_statement "sVar1 = fread(&DAT_00019210,0x24,1,param_2);" (assignment_expression "sVar1 = fread(&DAT_00019210,0x24,1,param_2)" identifier = (call_expression "fread(&DAT_00019210,0x24,1,param_2)" identifier (argument_list "(&DAT_00019210,0x24,1,param_2)" ( (pointer_expression "&DAT_00019210" & identifier) , number_literal , number_literal , identifier )))) ;) (if_statement "if (sVar1 != 1) goto LAB_00011c39;" if (parenthesized_expression "(sVar1 != 1)" ( (binary_expression "sVar1 != 1" identifier != number_literal) )) (goto_statement "goto LAB_00011c39;" goto statement_identifier ;)) (expression_statement "DAT_00019270 = (*DAT_00019294)(puVar13,2);" (assignment_expression "DAT_00019270 = (*DAT_00019294)(puVar13,2)" identifier = (call_expression "(*DAT_00019294)(puVar13,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(puVar13,2)" ( identifier , number_literal )))) ;) (expression_statement "DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);" (assignment_expression "DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_00019212,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_00019212,2)" ( (pointer_expression "&DAT_00019212" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);" (assignment_expression "DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4)" identifier = (call_expression "(*DAT_00019294)(&DAT_00019214,4)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_00019214,4)" ( (pointer_expression "&DAT_00019214" & identifier) , number_literal )))) ;) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_00019218,4);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_00019218,4)" identifier = (call_expression "(*DAT_00019294)(&DAT_00019218,4)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_00019218,4)" ( (pointer_expression "&DAT_00019218" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "DAT_00019250 = (undefined4)uVar8;" (assignment_expression "DAT_00019250 = (undefined4)uVar8" identifier = (cast_expression "(undefined4)uVar8" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_0001921c,4);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_0001921c,4)" identifier = (call_expression "(*DAT_00019294)(&DAT_0001921c,4)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_0001921c,4)" ( (pointer_expression "&DAT_0001921c" & identifier) , number_literal )))) ;) (expression_statement "DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "DAT_00019258 = (undefined4)uVar8;" (assignment_expression "DAT_00019258 = (undefined4)uVar8" identifier = (cast_expression "(undefined4)uVar8" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_00019220,4);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_00019220,4)" identifier = (call_expression "(*DAT_00019294)(&DAT_00019220,4)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_00019220,4)" ( (pointer_expression "&DAT_00019220" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "DAT_00019260 = (undefined4)uVar8;" (assignment_expression "DAT_00019260 = (undefined4)uVar8" identifier = (cast_expression "(undefined4)uVar8" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);" (assignment_expression "DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4)" identifier = (call_expression "(*DAT_00019294)(&DAT_00019224,4)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_00019224,4)" ( (pointer_expression "&DAT_00019224" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);" (assignment_expression "DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_00019228,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_00019228,2)" ( (pointer_expression "&DAT_00019228" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);" (assignment_expression "DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_0001922a,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_0001922a,2)" ( (pointer_expression "&DAT_0001922a" & identifier) , number_literal )))) ;) (expression_statement "DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);" (assignment_expression "DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_0001922c,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_0001922c,2)" ( (pointer_expression "&DAT_0001922c" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);" (assignment_expression "DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_0001922e,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_0001922e,2)" ( (pointer_expression "&DAT_0001922e" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);" (assignment_expression "DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_00019230,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_00019230,2)" ( (pointer_expression "&DAT_00019230" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);" (assignment_expression "DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_00019232,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_00019232,2)" ( (pointer_expression "&DAT_00019232" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019200 = DAT_00019240;" (assignment_expression "DAT_00019200 = DAT_00019240" identifier = identifier) ;) (expression_statement "DAT_00019204 = _DAT_00019244;" (assignment_expression "DAT_00019204 = _DAT_00019244" identifier = identifier) ;) (expression_statement "DAT_00019208 = DAT_00019248;" (assignment_expression "DAT_00019208 = DAT_00019248" identifier = identifier) ;) (expression_statement "DAT_0001920c = DAT_0001924c;" (assignment_expression "DAT_0001920c = DAT_0001924c" identifier = identifier) ;) (labeled_statement "LAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);" statement_identifier : (expression_statement "iVar3 = fseek(param_2,__off,0);" (assignment_expression "iVar3 = fseek(param_2,__off,0)" identifier = (call_expression "fseek(param_2,__off,0)" identifier (argument_list "(param_2,__off,0)" ( identifier , identifier , number_literal )))) ;)) (if_statement "if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }" { (expression_statement "uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5)" identifier = (call_expression "dcgettext(0,"%s: Failed to seek to ELF header\n",5)" identifier (argument_list "(0,"%s: Failed to seek to ELF header\n",5)" ( number_literal , (string_literal ""%s: Failed to seek to ELF header\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "error(uVar2,uVar12);" (call_expression "error(uVar2,uVar12)" identifier (argument_list "(uVar2,uVar12)" ( identifier , identifier ))) ;) })) (expression_statement "uVar9 = DAT_000190e4;" (assignment_expression "uVar9 = DAT_000190e4" identifier = identifier) ;) (if_statement "if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }" if (parenthesized_expression "(DAT_00019240 != 0x464c457f)" ( (binary_expression "DAT_00019240 != 0x464c457f" identifier != number_literal) )) (compound_statement "{\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }" { (expression_statement "pcVar10 = (char *)0x5;" (assignment_expression "pcVar10 = (char *)0x5" identifier = (cast_expression "(char *)0x5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5)" identifier = (call_expression "dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5)" identifier (argument_list "(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5)" ( number_literal , (string_literal ""%s: Not an ELF file - wrong magic bytes at the start\n"" " string_content escape_sequence ") , number_literal )))) ;) (goto_statement "goto LAB_00011c4e;" goto statement_identifier ;) })) (if_statement "if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }" if (parenthesized_expression "(DAT_00019246 != 1)" ( (binary_expression "DAT_00019246 != 1" identifier != number_literal) )) (compound_statement "{\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }" { (expression_statement "uVar6 = (uint)DAT_00019246;" (assignment_expression "uVar6 = (uint)DAT_00019246" identifier = (cast_expression "(uint)DAT_00019246" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);" (assignment_expression "uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6)" identifier = (call_expression "dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6)" identifier (argument_list "(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6)" ( number_literal , (string_literal ""%s: Unsupported EI_VERSION: %d is not %d\n"" " string_content escape_sequence ") , number_literal , identifier , identifier , identifier )))) ;) (expression_statement "uVar9 = 1;" (assignment_expression "uVar9 = 1" identifier = number_literal) ;) (expression_statement "uVar6 = uVar6 & 0xff;" (assignment_expression "uVar6 = uVar6 & 0xff" identifier = (binary_expression "uVar6 & 0xff" identifier & number_literal)) ;) (goto_statement "goto LAB_0001223f;" goto statement_identifier ;) })) (expression_statement "uVar5 = (uint)DAT_00019272;" (assignment_expression "uVar5 = (uint)DAT_00019272" identifier = (cast_expression "(uint)DAT_00019272" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (uVar5 == DAT_000190e0) {\n        return 0;\n      }" if (parenthesized_expression "(uVar5 == DAT_000190e0)" ( (binary_expression "uVar5 == DAT_000190e0" identifier == identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar6 = _DAT_00019244 & 0xff;" (assignment_expression "uVar6 = _DAT_00019244 & 0xff" identifier = (binary_expression "_DAT_00019244 & 0xff" identifier & number_literal)) ;) (if_statement "if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }" if (parenthesized_expression "(DAT_000190cc == 0xffffffff)" ( (binary_expression "DAT_000190cc == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }" { (if_statement "if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }" if (parenthesized_expression "(DAT_00019272 == 6)" ( (binary_expression "DAT_00019272 == 6" identifier == number_literal) )) (compound_statement "{\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }" { (labeled_statement "LAB_00012338:\n          bVar7 = uVar6 != 1;" statement_identifier : (expression_statement "bVar7 = uVar6 != 1;" (assignment_expression "bVar7 = uVar6 != 1" identifier = (binary_expression "uVar6 != 1" identifier != number_literal)) ;)) (expression_statement "DAT_000190cc = 1;" (assignment_expression "DAT_000190cc = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00012050;" goto statement_identifier ;) })) (if_statement "if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }" if (parenthesized_expression "(DAT_00019272 < 7)" ( (binary_expression "DAT_00019272 < 7" identifier < number_literal) )) (compound_statement "{\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }" { (if_statement "if (DAT_00019272 == 3) goto LAB_00012338;" if (parenthesized_expression "(DAT_00019272 == 3)" ( (binary_expression "DAT_00019272 == 3" identifier == number_literal) )) (goto_statement "goto LAB_00012338;" goto statement_identifier ;)) }) (else_clause "else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }" else (if_statement "if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }" if (parenthesized_expression "((ushort)(DAT_00019272 - 0xb4) < 2)" ( (binary_expression "(ushort)(DAT_00019272 - 0xb4) < 2" (call_expression "(ushort)(DAT_00019272 - 0xb4)" (parenthesized_expression "(ushort)" ( identifier )) (argument_list "(DAT_00019272 - 0xb4)" ( (binary_expression "DAT_00019272 - 0xb4" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }" { (expression_statement "bVar7 = uVar6 != 2;" (assignment_expression "bVar7 = uVar6 != 2" identifier = (binary_expression "uVar6 != 2" identifier != number_literal)) ;) (expression_statement "DAT_000190cc = 2;" (assignment_expression "DAT_000190cc = 2" identifier = number_literal) ;) (goto_statement "goto LAB_00012050;" goto statement_identifier ;) })))) (expression_statement "DAT_000190cc = 3;" (assignment_expression "DAT_000190cc = 3" identifier = number_literal) ;) (labeled_statement "LAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }" statement_identifier : (if_statement "if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }" if (parenthesized_expression "((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8))" ( (binary_expression "(DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)" (parenthesized_expression "(DAT_000190c8 == 3)" ( (binary_expression "DAT_000190c8 == 3" identifier == number_literal) )) || (parenthesized_expression "(uVar6 == DAT_000190c8)" ( (binary_expression "uVar6 == DAT_000190c8" identifier == identifier) ))) )) (compound_statement "{\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }" { (if_statement "if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }" if (parenthesized_expression "((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4))" ( (binary_expression "(DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)" (parenthesized_expression "(DAT_000190e4 != 0xffffffff)" ( (binary_expression "DAT_000190e4 != 0xffffffff" identifier != number_literal) )) && (parenthesized_expression "(uVar5 != DAT_000190e4)" ( (binary_expression "uVar5 != DAT_000190e4" identifier != identifier) ))) )) (compound_statement "{\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }" { (expression_statement "uVar6 = uVar5;" (assignment_expression "uVar6 = uVar5" identifier = identifier) ;) (expression_statement "uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);" (assignment_expression "uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5)" identifier = (call_expression "dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5)" identifier (argument_list "(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5)" ( number_literal , (string_literal ""%s: Unmatched e_machine: %d is not %d\n"" " string_content escape_sequence ") , number_literal , identifier , identifier , identifier )))) ;) (goto_statement "goto LAB_0001223f;" goto statement_identifier ;) })) (expression_statement "uVar6 = (uint)DAT_00019270;" (assignment_expression "uVar6 = (uint)DAT_00019270" identifier = (cast_expression "(uint)DAT_00019270" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }" if (parenthesized_expression "((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc))" ( (binary_expression "(DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)" (parenthesized_expression "(DAT_000190dc == 0xffffffff)" ( (binary_expression "DAT_000190dc == 0xffffffff" identifier == number_literal) )) || (parenthesized_expression "(uVar6 == DAT_000190dc)" ( (binary_expression "uVar6 == DAT_000190dc" identifier == identifier) ))) )) (compound_statement "{\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }" { (expression_statement "uVar6 = _DAT_00019244 >> 0x18;" (assignment_expression "uVar6 = _DAT_00019244 >> 0x18" identifier = (binary_expression "_DAT_00019244 >> 0x18" identifier >> number_literal)) ;) (if_statement "if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }" if (parenthesized_expression "((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4))" ( (binary_expression "(DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)" (parenthesized_expression "(DAT_000190d4 == 0xffffffff)" ( (binary_expression "DAT_000190d4 == 0xffffffff" identifier == number_literal) )) || (parenthesized_expression "(uVar6 == DAT_000190d4)" ( (binary_expression "uVar6 == DAT_000190d4" identifier == identifier) ))) )) (compound_statement "{\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }" { (if_statement "if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }" if (parenthesized_expression "(DAT_00019244 == '\x01')" ( (binary_expression "DAT_00019244 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }" { (if_statement "if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }" if (parenthesized_expression "(DAT_000190e0 != 0xffffffff)" ( (binary_expression "DAT_000190e0 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }" { (expression_statement "(*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);" (call_expression "(*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2)" (parenthesized_expression "(*DAT_00019298)" ( (pointer_expression "*DAT_00019298" * identifier) )) (argument_list "(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2)" ( (pointer_expression "&DAT_00019212" & identifier) , identifier , (binary_expression "(int)DAT_000190e0 >> 0x1f" (cast_expression "(int)DAT_000190e0" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) , number_literal ))) ;) })) (if_statement "if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }" if (parenthesized_expression "(DAT_000190d8 != -1)" ( (binary_expression "DAT_000190d8 != -1" identifier != number_literal) )) (compound_statement "{\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }" { (expression_statement "(*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);" (call_expression "(*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2)" (parenthesized_expression "(*DAT_00019298)" ( (pointer_expression "*DAT_00019298" * identifier) )) (argument_list "(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2)" ( (pointer_expression "&DAT_00019210" & identifier) , identifier , (binary_expression "DAT_000190d8 >> 0x1f" identifier >> number_literal) , number_literal ))) ;) })) (if_statement "if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }" if (parenthesized_expression "(DAT_000190d0 != -1)" ( (binary_expression "DAT_000190d0 != -1" identifier != number_literal) )) (compound_statement "{\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }" { (expression_statement "DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);" (assignment_expression "DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204)" identifier = (call_expression "CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204)" identifier (argument_list "((char)DAT_000190d0,(undefined3)DAT_00019204)" ( (cast_expression "(char)DAT_000190d0" ( (type_descriptor "char" primitive_type) ) identifier) , (cast_expression "(undefined3)DAT_00019204" ( (type_descriptor "undefined3" type_identifier) ) identifier) )))) ;) })) (expression_statement "__ptr = &DAT_00019200;" (assignment_expression "__ptr = &DAT_00019200" identifier = (pointer_expression "&DAT_00019200" & identifier)) ;) (expression_statement "sVar1 = 0x34;" (assignment_expression "sVar1 = 0x34" identifier = number_literal) ;) }) (else_clause "else {\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }" else (compound_statement "{\n                if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }" { (if_statement "if (DAT_00019244 != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }" if (parenthesized_expression "(DAT_00019244 != '\x02')" ( (binary_expression "DAT_00019244 != '\x02'" identifier != (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                  abort();\n                }" { comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }" if (parenthesized_expression "(DAT_000190e0 != 0xffffffff)" ( (binary_expression "DAT_000190e0 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }" { (expression_statement "(*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);" (call_expression "(*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2)" (parenthesized_expression "(*DAT_00019298)" ( (pointer_expression "*DAT_00019298" * identifier) )) (argument_list "(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2)" ( (pointer_expression "&DAT_000191d2" & identifier) , identifier , (binary_expression "(int)DAT_000190e0 >> 0x1f" (cast_expression "(int)DAT_000190e0" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) , number_literal ))) ;) })) (if_statement "if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }" if (parenthesized_expression "(DAT_000190d8 != -1)" ( (binary_expression "DAT_000190d8 != -1" identifier != number_literal) )) (compound_statement "{\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }" { (expression_statement "(*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);" (call_expression "(*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2)" (parenthesized_expression "(*DAT_00019298)" ( (pointer_expression "*DAT_00019298" * identifier) )) (argument_list "(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2)" ( (pointer_expression "&DAT_000191d0" & identifier) , identifier , (binary_expression "DAT_000190d8 >> 0x1f" identifier >> number_literal) , number_literal ))) ;) })) (if_statement "if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }" if (parenthesized_expression "(DAT_000190d0 != -1)" ( (binary_expression "DAT_000190d0 != -1" identifier != number_literal) )) (compound_statement "{\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }" { (expression_statement "DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);" (assignment_expression "DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4)" identifier = (call_expression "CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4)" identifier (argument_list "((char)DAT_000190d0,(undefined3)DAT_000191c4)" ( (cast_expression "(char)DAT_000190d0" ( (type_descriptor "char" primitive_type) ) identifier) , (cast_expression "(undefined3)DAT_000191c4" ( (type_descriptor "undefined3" type_identifier) ) identifier) )))) ;) })) (expression_statement "__ptr = &DAT_000191c0;" (assignment_expression "__ptr = &DAT_000191c0" identifier = (pointer_expression "&DAT_000191c0" & identifier)) ;) (expression_statement "sVar1 = 0x40;" (assignment_expression "sVar1 = 0x40" identifier = number_literal) ;) }))) (expression_statement "sVar1 = fwrite(__ptr,sVar1,1,param_2);" (assignment_expression "sVar1 = fwrite(__ptr,sVar1,1,param_2)" identifier = (call_expression "fwrite(__ptr,sVar1,1,param_2)" identifier (argument_list "(__ptr,sVar1,1,param_2)" ( identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (sVar1 == 1) {\n                return 0;\n              }" if (parenthesized_expression "(sVar1 == 1)" ( (binary_expression "sVar1 == 1" identifier == number_literal) )) (compound_statement "{\n                return 0;\n              }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "piVar4 = __errno_location();" (assignment_expression "piVar4 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar10 = strerror(*piVar4);" (assignment_expression "pcVar10 = strerror(*piVar4)" identifier = (call_expression "strerror(*piVar4)" identifier (argument_list "(*piVar4)" ( (pointer_expression "*piVar4" * identifier) )))) ;) (expression_statement "uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5)" identifier = (call_expression "dcgettext(0,"%s: Failed to update ELF header: %s\n",5)" identifier (argument_list "(0,"%s: Failed to update ELF header: %s\n",5)" ( number_literal , (string_literal ""%s: Failed to update ELF header: %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (goto_statement "goto LAB_00011c4e;" goto statement_identifier ;) })) (expression_statement "pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";" (assignment_expression "pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n"" identifier = (string_literal ""%s: Unmatched EI_OSABI: %d is not %d\n"" " string_content escape_sequence ")) ;) (expression_statement "uVar9 = DAT_000190d4;" (assignment_expression "uVar9 = DAT_000190d4" identifier = identifier) ;) }) (else_clause "else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }" else (compound_statement "{\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }" { (expression_statement "pcVar10 = "%s: Unmatched e_type: %d is not %d\n";" (assignment_expression "pcVar10 = "%s: Unmatched e_type: %d is not %d\n"" identifier = (string_literal ""%s: Unmatched e_type: %d is not %d\n"" " string_content escape_sequence ")) ;) (expression_statement "uVar9 = DAT_000190dc;" (assignment_expression "uVar9 = DAT_000190dc" identifier = identifier) ;) }))) }) (else_clause "else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }" else (compound_statement "{\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }" { (expression_statement "pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";" (assignment_expression "pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n"" identifier = (string_literal ""%s: Unmatched output EI_CLASS: %d is not %d\n"" " string_content escape_sequence ")) ;) (expression_statement "uVar9 = DAT_000190c8;" (assignment_expression "uVar9 = DAT_000190c8" identifier = identifier) ;) })))) }) (else_clause "else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }" else (compound_statement "{\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }" { (expression_statement "bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;" (assignment_expression "bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc" identifier = (binary_expression "DAT_000190cc != 3 && uVar6 != DAT_000190cc" (binary_expression "DAT_000190cc != 3" identifier != number_literal) && (binary_expression "uVar6 != DAT_000190cc" identifier != identifier))) ;) (labeled_statement "LAB_00012050:\n        if (!bVar7) goto LAB_00012058;" statement_identifier : (if_statement "if (!bVar7) goto LAB_00012058;" if (parenthesized_expression "(!bVar7)" ( (unary_expression "!bVar7" ! identifier) )) (goto_statement "goto LAB_00012058;" goto statement_identifier ;))) (expression_statement "pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";" (assignment_expression "pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n"" identifier = (string_literal ""%s: Unmatched input EI_CLASS: %d is not %d\n"" " string_content escape_sequence ")) ;) (expression_statement "uVar9 = DAT_000190cc;" (assignment_expression "uVar9 = DAT_000190cc" identifier = identifier) ;) }))) (expression_statement "uVar2 = dcgettext(0,pcVar10,5);" (assignment_expression "uVar2 = dcgettext(0,pcVar10,5)" identifier = (call_expression "dcgettext(0,pcVar10,5)" identifier (argument_list "(0,pcVar10,5)" ( number_literal , identifier , number_literal )))) ;) (labeled_statement "LAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);" statement_identifier : (expression_statement "error(uVar2,uVar12,uVar6,uVar9);" (call_expression "error(uVar2,uVar12,uVar6,uVar9)" identifier (argument_list "(uVar2,uVar12,uVar6,uVar9)" ( identifier , identifier , identifier , identifier ))) ;)) (return_statement "return 1;" return number_literal ;) })) (expression_statement "DAT_00019294 = FUN_00012e50;" (assignment_expression "DAT_00019294 = FUN_00012e50" identifier = identifier) ;) (expression_statement "DAT_00019298 = FUN_00012d40;" (assignment_expression "DAT_00019298 = FUN_00012d40" identifier = identifier) ;) (if_statement "if (DAT_00019244 == '\x01') goto LAB_00011d08;" if (parenthesized_expression "(DAT_00019244 == '\x01')" ( (binary_expression "DAT_00019244 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) )) (goto_statement "goto LAB_00011d08;" goto statement_identifier ;)) (labeled_statement "LAB_00011ca7:\n    uVar9 = _DAT_00019244 & 0xff;" statement_identifier : (expression_statement "uVar9 = _DAT_00019244 & 0xff;" (assignment_expression "uVar9 = _DAT_00019244 & 0xff" identifier = (binary_expression "_DAT_00019244 & 0xff" identifier & number_literal)) ;)) (if_statement "if (DAT_00019244 == '\x02') {\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }" if (parenthesized_expression "(DAT_00019244 == '\x02')" ( (binary_expression "DAT_00019244 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }" { (expression_statement "puVar13 = &DAT_000191d0;" (assignment_expression "puVar13 = &DAT_000191d0" identifier = (pointer_expression "&DAT_000191d0" & identifier)) ;) (expression_statement "sVar1 = fread(&DAT_000191d0,0x30,1,param_2);" (assignment_expression "sVar1 = fread(&DAT_000191d0,0x30,1,param_2)" identifier = (call_expression "fread(&DAT_000191d0,0x30,1,param_2)" identifier (argument_list "(&DAT_000191d0,0x30,1,param_2)" ( (pointer_expression "&DAT_000191d0" & identifier) , number_literal , number_literal , identifier )))) ;) (if_statement "if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }" if (parenthesized_expression "(sVar1 == 1)" ( (binary_expression "sVar1 == 1" identifier == number_literal) )) (compound_statement "{\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }" { (expression_statement "DAT_00019270 = (*DAT_00019294)(puVar13,2);" (assignment_expression "DAT_00019270 = (*DAT_00019294)(puVar13,2)" identifier = (call_expression "(*DAT_00019294)(puVar13,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(puVar13,2)" ( identifier , number_literal )))) ;) (expression_statement "DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);" (assignment_expression "DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191d2,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191d2,2)" ( (pointer_expression "&DAT_000191d2" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);" (assignment_expression "DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191d4,4)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191d4,4)" ( (pointer_expression "&DAT_000191d4" & identifier) , number_literal )))) ;) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_000191d8,8);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_000191d8,8)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191d8,8)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191d8,8)" ( (pointer_expression "&DAT_000191d8" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "DAT_00019250 = (undefined4)uVar8;" (assignment_expression "DAT_00019250 = (undefined4)uVar8" identifier = (cast_expression "(undefined4)uVar8" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_000191e0,8);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_000191e0,8)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191e0,8)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191e0,8)" ( (pointer_expression "&DAT_000191e0" & identifier) , number_literal )))) ;) (expression_statement "DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "DAT_00019258 = (undefined4)uVar8;" (assignment_expression "DAT_00019258 = (undefined4)uVar8" identifier = (cast_expression "(undefined4)uVar8" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_000191e8,8);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_000191e8,8)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191e8,8)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191e8,8)" ( (pointer_expression "&DAT_000191e8" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "DAT_00019260 = (undefined4)uVar8;" (assignment_expression "DAT_00019260 = (undefined4)uVar8" identifier = (cast_expression "(undefined4)uVar8" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);" (assignment_expression "DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191f0,4)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191f0,4)" ( (pointer_expression "&DAT_000191f0" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);" (assignment_expression "DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191f4,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191f4,2)" ( (pointer_expression "&DAT_000191f4" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);" (assignment_expression "DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191f6,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191f6,2)" ( (pointer_expression "&DAT_000191f6" & identifier) , number_literal )))) ;) (expression_statement "DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);" (assignment_expression "DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191f8,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191f8,2)" ( (pointer_expression "&DAT_000191f8" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);" (assignment_expression "DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191fa,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191fa,2)" ( (pointer_expression "&DAT_000191fa" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);" (assignment_expression "DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191fc,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191fc,2)" ( (pointer_expression "&DAT_000191fc" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);" (assignment_expression "DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191fe,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191fe,2)" ( (pointer_expression "&DAT_000191fe" & identifier) , number_literal )))) ;) (expression_statement "DAT_000191c0 = DAT_00019240;" (assignment_expression "DAT_000191c0 = DAT_00019240" identifier = identifier) ;) (expression_statement "DAT_000191c4 = _DAT_00019244;" (assignment_expression "DAT_000191c4 = _DAT_00019244" identifier = identifier) ;) (expression_statement "DAT_000191c8 = DAT_00019248;" (assignment_expression "DAT_000191c8 = DAT_00019248" identifier = identifier) ;) (expression_statement "DAT_000191cc = DAT_0001924c;" (assignment_expression "DAT_000191cc = DAT_0001924c" identifier = identifier) ;) (goto_statement "goto LAB_00011fce;" goto statement_identifier ;) })) }) (else_clause "else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }" else (compound_statement "{\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }" { (expression_statement "uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);" (assignment_expression "uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5)" identifier = (call_expression "dcgettext(0,"Unsupported EI_CLASS: %d\n",5)" identifier (argument_list "(0,"Unsupported EI_CLASS: %d\n",5)" ( number_literal , (string_literal ""Unsupported EI_CLASS: %d\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "error(uVar2,uVar9 & 0xff);" (call_expression "error(uVar2,uVar9 & 0xff)" identifier (argument_list "(uVar2,uVar9 & 0xff)" ( identifier , (binary_expression "uVar9 & 0xff" identifier & number_literal) ))) ;) }))) })) (labeled_statement "LAB_00011c39:\n  pcVar10 = (char *)0x5;" statement_identifier : (expression_statement "pcVar10 = (char *)0x5;" (assignment_expression "pcVar10 = (char *)0x5" identifier = (cast_expression "(char *)0x5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "uVar2 = dcgettext(0,"%s: Failed to read ELF header\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%s: Failed to read ELF header\n",5)" identifier = (call_expression "dcgettext(0,"%s: Failed to read ELF header\n",5)" identifier (argument_list "(0,"%s: Failed to read ELF header\n",5)" ( number_literal , (string_literal ""%s: Failed to read ELF header\n"" " string_content escape_sequence ") , number_literal )))) ;) (labeled_statement "LAB_00011c4e:\n  error(uVar2,uVar12,pcVar10);" statement_identifier : (expression_statement "error(uVar2,uVar12,pcVar10);" (call_expression "error(uVar2,uVar12,pcVar10)" identifier (argument_list "(uVar2,uVar12,pcVar10)" ( identifier , identifier , identifier ))) ;)) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 process_object(char *file_name,FILE *file)\n\n{\n  bfd_vma bVar1;\n  bfd_size_type bVar2;\n  long __off;\n  size_t sVar3;\n  char *pcVar4;\n  int iVar5;\n  Elf32_External_Ehdr *__ptr;\n  int *piVar6;\n  elfclass eVar7;\n  elfclass eVar8;\n  bool bVar9;\n  elf_vma eVar10;\n  elfclass eVar11;\n  char *pcVar12;\n  FILE *pFVar13;\n  uint uVar14;\n  uchar *puVar15;\n  \n  __off = ftell((FILE *)file);\n  sVar3 = fread(&elf_header,0x10,1,(FILE *)file);\n  if (sVar3 != 1) goto LAB_00011c39;\n  pFVar13 = file;\n  if (elf_header.e_ident[5] == '\x02') {\n    byte_get = byte_get_big_endian;\n    byte_put = byte_put_big_endian;\n    if (elf_header.e_ident[4] != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n    puVar15 = ehdr32.e_type;\n    sVar3 = fread(ehdr32.e_type,0x24,1,(FILE *)file);\n    if (sVar3 != 1) goto LAB_00011c39;\n    eVar10 = (*byte_get)(puVar15,2);\n    elf_header.e_type = (ushort)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_machine,2);\n    elf_header.e_machine = (ushort)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_version,4);\n    elf_header.e_version = (ulong)eVar10;\n    elf_header.e_entry = (*byte_get)(ehdr32.e_entry,4);\n    elf_header.e_phoff = (*byte_get)(ehdr32.e_phoff,4);\n    elf_header.e_shoff = (*byte_get)(ehdr32.e_shoff,4);\n    eVar10 = (*byte_get)(ehdr32.e_flags,4);\n    elf_header.e_flags = (ulong)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_ehsize,2);\n    elf_header.e_ehsize = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_phentsize,2);\n    elf_header.e_phentsize = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_phnum,2);\n    elf_header.e_phnum = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_shentsize,2);\n    elf_header.e_shentsize = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_shnum,2);\n    elf_header.e_shnum = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_shstrndx,2);\n    elf_header.e_shstrndx = (uint)eVar10;\n    ehdr32.e_ident[0] = elf_header.e_ident[0];\n    ehdr32.e_ident[1] = elf_header.e_ident[1];\n    ehdr32.e_ident[2] = elf_header.e_ident[2];\n    ehdr32.e_ident[3] = elf_header.e_ident[3];\n    ehdr32.e_ident[4] = elf_header.e_ident[4];\n    ehdr32.e_ident[5] = elf_header.e_ident[5];\n    ehdr32.e_ident[6] = elf_header.e_ident[6];\n    ehdr32.e_ident[7] = elf_header.e_ident[7];\n    ehdr32.e_ident[8] = elf_header.e_ident[8];\n    ehdr32.e_ident[9] = elf_header.e_ident[9];\n    ehdr32.e_ident[10] = elf_header.e_ident[10];\n    ehdr32.e_ident[0xb] = elf_header.e_ident[0xb];\n    ehdr32.e_ident[0xc] = elf_header.e_ident[0xc];\n    ehdr32.e_ident[0xd] = elf_header.e_ident[0xd];\n    ehdr32.e_ident[0xe] = elf_header.e_ident[0xe];\n    ehdr32.e_ident[0xf] = elf_header.e_ident[0xf];\nLAB_00011fce:\n    iVar5 = fseek((FILE *)file,__off,0);\n    if (iVar5 != 0) {\n      pcVar4 = (char *)dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n      error(pcVar4,file_name);\n    }\n    eVar11 = input_elf_machine;\n    if (elf_header.e_ident._0_4_ == 0x464c457f) {\n      if (elf_header.e_ident[6] != '\x01') {\n        eVar8 = (elfclass)elf_header.e_ident[6];\n        pcVar4 = (char *)dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar13,\n                                   file_name,eVar8);\n        eVar11 = ELF_CLASS_32;\n        eVar8 = eVar8 & 0xff;\n        goto LAB_0001223f;\n      }\n      eVar7 = (elfclass)elf_header.e_machine;\n      bVar1 = elf_header.e_entry;\n      bVar2 = elf_header.e_shoff;\n      if (eVar7 != output_elf_machine) {\n        eVar8 = elf_header.e_ident._4_4_ & 0xff;\n        if (input_elf_class == ELF_CLASS_UNKNOWN) {\n          if (elf_header.e_machine == 6) {\nLAB_00012338:\n            bVar9 = eVar8 != ELF_CLASS_32;\n            input_elf_class = ELF_CLASS_32;\n            goto LAB_00012050;\n          }\n          if (elf_header.e_machine < 7) {\n            if (elf_header.e_machine == 3) goto LAB_00012338;\n          }\n          else if ((ushort)(elf_header.e_machine - 0xb4) < 2) {\n            bVar9 = eVar8 != ELF_CLASS_64;\n            input_elf_class = ELF_CLASS_64;\n            goto LAB_00012050;\n          }\n          input_elf_class = ELF_CLASS_BOTH;\nLAB_00012058:\n          if ((output_elf_class == ELF_CLASS_BOTH) || (eVar8 == output_elf_class)) {\n            if ((input_elf_machine != -1) && (eVar7 != input_elf_machine)) {\n              eVar8 = eVar7;\n              pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7);\n              goto LAB_0001223f;\n            }\n            eVar8 = (elfclass)elf_header.e_type;\n            if ((input_elf_type == -1) || (eVar8 == input_elf_type)) {\n              eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;\n              if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }\n              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n              eVar11 = input_elf_osabi;\n            }\n            else {\n              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";\n              eVar11 = input_elf_type;\n            }\n          }\n          else {\n            pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n            eVar11 = output_elf_class;\n          }\n        }\n        else {\n          bVar9 = input_elf_class != ELF_CLASS_BOTH && eVar8 != input_elf_class;\nLAB_00012050:\n          if (!bVar9) goto LAB_00012058;\n          pcVar4 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n          eVar11 = input_elf_class;\n        }\n        pcVar4 = (char *)dcgettext(0,pcVar4,5);\nLAB_0001223f:\n        error(pcVar4,file_name,eVar8,eVar11);\n        return 1;\n      }\nLAB_00012260:\n      iVar5 = 0;\n      goto LAB_00011c60;\n    }\n    pcVar12 = (char *)0x5;\n    pcVar4 = (char *)dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n  }\n  else {\n    byte_get = byte_get_little_endian;\n    byte_put = byte_put_little_endian;\n    if (elf_header.e_ident[4] == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar14 = elf_header.e_ident._4_4_ & 0xff;\n    if (elf_header.e_ident[4] == '\x02') {\n      puVar15 = ehdr64.e_type;\n      sVar3 = fread(ehdr64.e_type,0x30,1,(FILE *)file);\n      if (sVar3 != 1) goto LAB_00011c39;\n      eVar10 = (*byte_get)(puVar15,2);\n      elf_header.e_type = (ushort)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_machine,2);\n      elf_header.e_machine = (ushort)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_version,4);\n      elf_header.e_version = (ulong)eVar10;\n      elf_header.e_entry = (*byte_get)(ehdr64.e_entry,8);\n      elf_header.e_phoff = (*byte_get)(ehdr64.e_phoff,8);\n      elf_header.e_shoff = (*byte_get)(ehdr64.e_shoff,8);\n      eVar10 = (*byte_get)(ehdr64.e_flags,4);\n      elf_header.e_flags = (ulong)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_ehsize,2);\n      elf_header.e_ehsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_phentsize,2);\n      elf_header.e_phentsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_phnum,2);\n      elf_header.e_phnum = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shentsize,2);\n      elf_header.e_shentsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shnum,2);\n      elf_header.e_shnum = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shstrndx,2);\n      elf_header.e_shstrndx = (uint)eVar10;\n      ehdr64.e_ident[0] = elf_header.e_ident[0];\n      ehdr64.e_ident[1] = elf_header.e_ident[1];\n      ehdr64.e_ident[2] = elf_header.e_ident[2];\n      ehdr64.e_ident[3] = elf_header.e_ident[3];\n      ehdr64.e_ident[4] = elf_header.e_ident[4];\n      ehdr64.e_ident[5] = elf_header.e_ident[5];\n      ehdr64.e_ident[6] = elf_header.e_ident[6];\n      ehdr64.e_ident[7] = elf_header.e_ident[7];\n      ehdr64.e_ident[8] = elf_header.e_ident[8];\n      ehdr64.e_ident[9] = elf_header.e_ident[9];\n      ehdr64.e_ident[10] = elf_header.e_ident[10];\n      ehdr64.e_ident[0xb] = elf_header.e_ident[0xb];\n      ehdr64.e_ident[0xc] = elf_header.e_ident[0xc];\n      ehdr64.e_ident[0xd] = elf_header.e_ident[0xd];\n      ehdr64.e_ident[0xe] = elf_header.e_ident[0xe];\n      ehdr64.e_ident[0xf] = elf_header.e_ident[0xf];\n      goto LAB_00011fce;\n    }\n    pcVar4 = (char *)dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n    error(pcVar4,uVar14 & 0xff);\nLAB_00011c39:\n    pcVar12 = (char *)0x5;\n    pcVar4 = (char *)dcgettext(0,"%s: Failed to read ELF header\n",5);\n  }\nLAB_00011c4e:\n  error(pcVar4,file_name,pcVar12);\n  iVar5 = 1;\n  bVar1 = elf_header.e_entry;\n  bVar2 = elf_header.e_shoff;\nLAB_00011c60:\n  elf_header.e_shoff._4_4_ = (undefined4)(bVar2 >> 0x20);\n  elf_header.e_shoff._0_4_ = (undefined4)bVar2;\n  elf_header.e_entry._4_4_ = (undefined4)(bVar1 >> 0x20);\n  elf_header.e_entry._0_4_ = (undefined4)bVar1;\n  return iVar5;\n}\n\n" comment (function_definition "int __regparm3 process_object(char *file_name,FILE *file)\n\n{\n  bfd_vma bVar1;\n  bfd_size_type bVar2;\n  long __off;\n  size_t sVar3;\n  char *pcVar4;\n  int iVar5;\n  Elf32_External_Ehdr *__ptr;\n  int *piVar6;\n  elfclass eVar7;\n  elfclass eVar8;\n  bool bVar9;\n  elf_vma eVar10;\n  elfclass eVar11;\n  char *pcVar12;\n  FILE *pFVar13;\n  uint uVar14;\n  uchar *puVar15;\n  \n  __off = ftell((FILE *)file);\n  sVar3 = fread(&elf_header,0x10,1,(FILE *)file);\n  if (sVar3 != 1) goto LAB_00011c39;\n  pFVar13 = file;\n  if (elf_header.e_ident[5] == '\x02') {\n    byte_get = byte_get_big_endian;\n    byte_put = byte_put_big_endian;\n    if (elf_header.e_ident[4] != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n    puVar15 = ehdr32.e_type;\n    sVar3 = fread(ehdr32.e_type,0x24,1,(FILE *)file);\n    if (sVar3 != 1) goto LAB_00011c39;\n    eVar10 = (*byte_get)(puVar15,2);\n    elf_header.e_type = (ushort)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_machine,2);\n    elf_header.e_machine = (ushort)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_version,4);\n    elf_header.e_version = (ulong)eVar10;\n    elf_header.e_entry = (*byte_get)(ehdr32.e_entry,4);\n    elf_header.e_phoff = (*byte_get)(ehdr32.e_phoff,4);\n    elf_header.e_shoff = (*byte_get)(ehdr32.e_shoff,4);\n    eVar10 = (*byte_get)(ehdr32.e_flags,4);\n    elf_header.e_flags = (ulong)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_ehsize,2);\n    elf_header.e_ehsize = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_phentsize,2);\n    elf_header.e_phentsize = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_phnum,2);\n    elf_header.e_phnum = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_shentsize,2);\n    elf_header.e_shentsize = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_shnum,2);\n    elf_header.e_shnum = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_shstrndx,2);\n    elf_header.e_shstrndx = (uint)eVar10;\n    ehdr32.e_ident[0] = elf_header.e_ident[0];\n    ehdr32.e_ident[1] = elf_header.e_ident[1];\n    ehdr32.e_ident[2] = elf_header.e_ident[2];\n    ehdr32.e_ident[3] = elf_header.e_ident[3];\n    ehdr32.e_ident[4] = elf_header.e_ident[4];\n    ehdr32.e_ident[5] = elf_header.e_ident[5];\n    ehdr32.e_ident[6] = elf_header.e_ident[6];\n    ehdr32.e_ident[7] = elf_header.e_ident[7];\n    ehdr32.e_ident[8] = elf_header.e_ident[8];\n    ehdr32.e_ident[9] = elf_header.e_ident[9];\n    ehdr32.e_ident[10] = elf_header.e_ident[10];\n    ehdr32.e_ident[0xb] = elf_header.e_ident[0xb];\n    ehdr32.e_ident[0xc] = elf_header.e_ident[0xc];\n    ehdr32.e_ident[0xd] = elf_header.e_ident[0xd];\n    ehdr32.e_ident[0xe] = elf_header.e_ident[0xe];\n    ehdr32.e_ident[0xf] = elf_header.e_ident[0xf];\nLAB_00011fce:\n    iVar5 = fseek((FILE *)file,__off,0);\n    if (iVar5 != 0) {\n      pcVar4 = (char *)dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n      error(pcVar4,file_name);\n    }\n    eVar11 = input_elf_machine;\n    if (elf_header.e_ident._0_4_ == 0x464c457f) {\n      if (elf_header.e_ident[6] != '\x01') {\n        eVar8 = (elfclass)elf_header.e_ident[6];\n        pcVar4 = (char *)dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar13,\n                                   file_name,eVar8);\n        eVar11 = ELF_CLASS_32;\n        eVar8 = eVar8 & 0xff;\n        goto LAB_0001223f;\n      }\n      eVar7 = (elfclass)elf_header.e_machine;\n      bVar1 = elf_header.e_entry;\n      bVar2 = elf_header.e_shoff;\n      if (eVar7 != output_elf_machine) {\n        eVar8 = elf_header.e_ident._4_4_ & 0xff;\n        if (input_elf_class == ELF_CLASS_UNKNOWN) {\n          if (elf_header.e_machine == 6) {\nLAB_00012338:\n            bVar9 = eVar8 != ELF_CLASS_32;\n            input_elf_class = ELF_CLASS_32;\n            goto LAB_00012050;\n          }\n          if (elf_header.e_machine < 7) {\n            if (elf_header.e_machine == 3) goto LAB_00012338;\n          }\n          else if ((ushort)(elf_header.e_machine - 0xb4) < 2) {\n            bVar9 = eVar8 != ELF_CLASS_64;\n            input_elf_class = ELF_CLASS_64;\n            goto LAB_00012050;\n          }\n          input_elf_class = ELF_CLASS_BOTH;\nLAB_00012058:\n          if ((output_elf_class == ELF_CLASS_BOTH) || (eVar8 == output_elf_class)) {\n            if ((input_elf_machine != -1) && (eVar7 != input_elf_machine)) {\n              eVar8 = eVar7;\n              pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7);\n              goto LAB_0001223f;\n            }\n            eVar8 = (elfclass)elf_header.e_type;\n            if ((input_elf_type == -1) || (eVar8 == input_elf_type)) {\n              eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;\n              if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }\n              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n              eVar11 = input_elf_osabi;\n            }\n            else {\n              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";\n              eVar11 = input_elf_type;\n            }\n          }\n          else {\n            pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n            eVar11 = output_elf_class;\n          }\n        }\n        else {\n          bVar9 = input_elf_class != ELF_CLASS_BOTH && eVar8 != input_elf_class;\nLAB_00012050:\n          if (!bVar9) goto LAB_00012058;\n          pcVar4 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n          eVar11 = input_elf_class;\n        }\n        pcVar4 = (char *)dcgettext(0,pcVar4,5);\nLAB_0001223f:\n        error(pcVar4,file_name,eVar8,eVar11);\n        return 1;\n      }\nLAB_00012260:\n      iVar5 = 0;\n      goto LAB_00011c60;\n    }\n    pcVar12 = (char *)0x5;\n    pcVar4 = (char *)dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n  }\n  else {\n    byte_get = byte_get_little_endian;\n    byte_put = byte_put_little_endian;\n    if (elf_header.e_ident[4] == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar14 = elf_header.e_ident._4_4_ & 0xff;\n    if (elf_header.e_ident[4] == '\x02') {\n      puVar15 = ehdr64.e_type;\n      sVar3 = fread(ehdr64.e_type,0x30,1,(FILE *)file);\n      if (sVar3 != 1) goto LAB_00011c39;\n      eVar10 = (*byte_get)(puVar15,2);\n      elf_header.e_type = (ushort)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_machine,2);\n      elf_header.e_machine = (ushort)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_version,4);\n      elf_header.e_version = (ulong)eVar10;\n      elf_header.e_entry = (*byte_get)(ehdr64.e_entry,8);\n      elf_header.e_phoff = (*byte_get)(ehdr64.e_phoff,8);\n      elf_header.e_shoff = (*byte_get)(ehdr64.e_shoff,8);\n      eVar10 = (*byte_get)(ehdr64.e_flags,4);\n      elf_header.e_flags = (ulong)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_ehsize,2);\n      elf_header.e_ehsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_phentsize,2);\n      elf_header.e_phentsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_phnum,2);\n      elf_header.e_phnum = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shentsize,2);\n      elf_header.e_shentsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shnum,2);\n      elf_header.e_shnum = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shstrndx,2);\n      elf_header.e_shstrndx = (uint)eVar10;\n      ehdr64.e_ident[0] = elf_header.e_ident[0];\n      ehdr64.e_ident[1] = elf_header.e_ident[1];\n      ehdr64.e_ident[2] = elf_header.e_ident[2];\n      ehdr64.e_ident[3] = elf_header.e_ident[3];\n      ehdr64.e_ident[4] = elf_header.e_ident[4];\n      ehdr64.e_ident[5] = elf_header.e_ident[5];\n      ehdr64.e_ident[6] = elf_header.e_ident[6];\n      ehdr64.e_ident[7] = elf_header.e_ident[7];\n      ehdr64.e_ident[8] = elf_header.e_ident[8];\n      ehdr64.e_ident[9] = elf_header.e_ident[9];\n      ehdr64.e_ident[10] = elf_header.e_ident[10];\n      ehdr64.e_ident[0xb] = elf_header.e_ident[0xb];\n      ehdr64.e_ident[0xc] = elf_header.e_ident[0xc];\n      ehdr64.e_ident[0xd] = elf_header.e_ident[0xd];\n      ehdr64.e_ident[0xe] = elf_header.e_ident[0xe];\n      ehdr64.e_ident[0xf] = elf_header.e_ident[0xf];\n      goto LAB_00011fce;\n    }\n    pcVar4 = (char *)dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n    error(pcVar4,uVar14 & 0xff);\nLAB_00011c39:\n    pcVar12 = (char *)0x5;\n    pcVar4 = (char *)dcgettext(0,"%s: Failed to read ELF header\n",5);\n  }\nLAB_00011c4e:\n  error(pcVar4,file_name,pcVar12);\n  iVar5 = 1;\n  bVar1 = elf_header.e_entry;\n  bVar2 = elf_header.e_shoff;\nLAB_00011c60:\n  elf_header.e_shoff._4_4_ = (undefined4)(bVar2 >> 0x20);\n  elf_header.e_shoff._0_4_ = (undefined4)bVar2;\n  elf_header.e_entry._4_4_ = (undefined4)(bVar1 >> 0x20);\n  elf_header.e_entry._0_4_ = (undefined4)bVar1;\n  return iVar5;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "process_object(char *file_name,FILE *file)" identifier (parameter_list "(char *file_name,FILE *file)" ( (parameter_declaration "char *file_name" primitive_type (pointer_declarator "*file_name" * identifier)) , (parameter_declaration "FILE *file" type_identifier (pointer_declarator "*file" * identifier)) ))) (compound_statement "{\n  bfd_vma bVar1;\n  bfd_size_type bVar2;\n  long __off;\n  size_t sVar3;\n  char *pcVar4;\n  int iVar5;\n  Elf32_External_Ehdr *__ptr;\n  int *piVar6;\n  elfclass eVar7;\n  elfclass eVar8;\n  bool bVar9;\n  elf_vma eVar10;\n  elfclass eVar11;\n  char *pcVar12;\n  FILE *pFVar13;\n  uint uVar14;\n  uchar *puVar15;\n  \n  __off = ftell((FILE *)file);\n  sVar3 = fread(&elf_header,0x10,1,(FILE *)file);\n  if (sVar3 != 1) goto LAB_00011c39;\n  pFVar13 = file;\n  if (elf_header.e_ident[5] == '\x02') {\n    byte_get = byte_get_big_endian;\n    byte_put = byte_put_big_endian;\n    if (elf_header.e_ident[4] != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n    puVar15 = ehdr32.e_type;\n    sVar3 = fread(ehdr32.e_type,0x24,1,(FILE *)file);\n    if (sVar3 != 1) goto LAB_00011c39;\n    eVar10 = (*byte_get)(puVar15,2);\n    elf_header.e_type = (ushort)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_machine,2);\n    elf_header.e_machine = (ushort)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_version,4);\n    elf_header.e_version = (ulong)eVar10;\n    elf_header.e_entry = (*byte_get)(ehdr32.e_entry,4);\n    elf_header.e_phoff = (*byte_get)(ehdr32.e_phoff,4);\n    elf_header.e_shoff = (*byte_get)(ehdr32.e_shoff,4);\n    eVar10 = (*byte_get)(ehdr32.e_flags,4);\n    elf_header.e_flags = (ulong)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_ehsize,2);\n    elf_header.e_ehsize = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_phentsize,2);\n    elf_header.e_phentsize = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_phnum,2);\n    elf_header.e_phnum = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_shentsize,2);\n    elf_header.e_shentsize = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_shnum,2);\n    elf_header.e_shnum = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_shstrndx,2);\n    elf_header.e_shstrndx = (uint)eVar10;\n    ehdr32.e_ident[0] = elf_header.e_ident[0];\n    ehdr32.e_ident[1] = elf_header.e_ident[1];\n    ehdr32.e_ident[2] = elf_header.e_ident[2];\n    ehdr32.e_ident[3] = elf_header.e_ident[3];\n    ehdr32.e_ident[4] = elf_header.e_ident[4];\n    ehdr32.e_ident[5] = elf_header.e_ident[5];\n    ehdr32.e_ident[6] = elf_header.e_ident[6];\n    ehdr32.e_ident[7] = elf_header.e_ident[7];\n    ehdr32.e_ident[8] = elf_header.e_ident[8];\n    ehdr32.e_ident[9] = elf_header.e_ident[9];\n    ehdr32.e_ident[10] = elf_header.e_ident[10];\n    ehdr32.e_ident[0xb] = elf_header.e_ident[0xb];\n    ehdr32.e_ident[0xc] = elf_header.e_ident[0xc];\n    ehdr32.e_ident[0xd] = elf_header.e_ident[0xd];\n    ehdr32.e_ident[0xe] = elf_header.e_ident[0xe];\n    ehdr32.e_ident[0xf] = elf_header.e_ident[0xf];\nLAB_00011fce:\n    iVar5 = fseek((FILE *)file,__off,0);\n    if (iVar5 != 0) {\n      pcVar4 = (char *)dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n      error(pcVar4,file_name);\n    }\n    eVar11 = input_elf_machine;\n    if (elf_header.e_ident._0_4_ == 0x464c457f) {\n      if (elf_header.e_ident[6] != '\x01') {\n        eVar8 = (elfclass)elf_header.e_ident[6];\n        pcVar4 = (char *)dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar13,\n                                   file_name,eVar8);\n        eVar11 = ELF_CLASS_32;\n        eVar8 = eVar8 & 0xff;\n        goto LAB_0001223f;\n      }\n      eVar7 = (elfclass)elf_header.e_machine;\n      bVar1 = elf_header.e_entry;\n      bVar2 = elf_header.e_shoff;\n      if (eVar7 != output_elf_machine) {\n        eVar8 = elf_header.e_ident._4_4_ & 0xff;\n        if (input_elf_class == ELF_CLASS_UNKNOWN) {\n          if (elf_header.e_machine == 6) {\nLAB_00012338:\n            bVar9 = eVar8 != ELF_CLASS_32;\n            input_elf_class = ELF_CLASS_32;\n            goto LAB_00012050;\n          }\n          if (elf_header.e_machine < 7) {\n            if (elf_header.e_machine == 3) goto LAB_00012338;\n          }\n          else if ((ushort)(elf_header.e_machine - 0xb4) < 2) {\n            bVar9 = eVar8 != ELF_CLASS_64;\n            input_elf_class = ELF_CLASS_64;\n            goto LAB_00012050;\n          }\n          input_elf_class = ELF_CLASS_BOTH;\nLAB_00012058:\n          if ((output_elf_class == ELF_CLASS_BOTH) || (eVar8 == output_elf_class)) {\n            if ((input_elf_machine != -1) && (eVar7 != input_elf_machine)) {\n              eVar8 = eVar7;\n              pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7);\n              goto LAB_0001223f;\n            }\n            eVar8 = (elfclass)elf_header.e_type;\n            if ((input_elf_type == -1) || (eVar8 == input_elf_type)) {\n              eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;\n              if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }\n              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n              eVar11 = input_elf_osabi;\n            }\n            else {\n              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";\n              eVar11 = input_elf_type;\n            }\n          }\n          else {\n            pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n            eVar11 = output_elf_class;\n          }\n        }\n        else {\n          bVar9 = input_elf_class != ELF_CLASS_BOTH && eVar8 != input_elf_class;\nLAB_00012050:\n          if (!bVar9) goto LAB_00012058;\n          pcVar4 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n          eVar11 = input_elf_class;\n        }\n        pcVar4 = (char *)dcgettext(0,pcVar4,5);\nLAB_0001223f:\n        error(pcVar4,file_name,eVar8,eVar11);\n        return 1;\n      }\nLAB_00012260:\n      iVar5 = 0;\n      goto LAB_00011c60;\n    }\n    pcVar12 = (char *)0x5;\n    pcVar4 = (char *)dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n  }\n  else {\n    byte_get = byte_get_little_endian;\n    byte_put = byte_put_little_endian;\n    if (elf_header.e_ident[4] == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar14 = elf_header.e_ident._4_4_ & 0xff;\n    if (elf_header.e_ident[4] == '\x02') {\n      puVar15 = ehdr64.e_type;\n      sVar3 = fread(ehdr64.e_type,0x30,1,(FILE *)file);\n      if (sVar3 != 1) goto LAB_00011c39;\n      eVar10 = (*byte_get)(puVar15,2);\n      elf_header.e_type = (ushort)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_machine,2);\n      elf_header.e_machine = (ushort)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_version,4);\n      elf_header.e_version = (ulong)eVar10;\n      elf_header.e_entry = (*byte_get)(ehdr64.e_entry,8);\n      elf_header.e_phoff = (*byte_get)(ehdr64.e_phoff,8);\n      elf_header.e_shoff = (*byte_get)(ehdr64.e_shoff,8);\n      eVar10 = (*byte_get)(ehdr64.e_flags,4);\n      elf_header.e_flags = (ulong)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_ehsize,2);\n      elf_header.e_ehsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_phentsize,2);\n      elf_header.e_phentsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_phnum,2);\n      elf_header.e_phnum = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shentsize,2);\n      elf_header.e_shentsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shnum,2);\n      elf_header.e_shnum = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shstrndx,2);\n      elf_header.e_shstrndx = (uint)eVar10;\n      ehdr64.e_ident[0] = elf_header.e_ident[0];\n      ehdr64.e_ident[1] = elf_header.e_ident[1];\n      ehdr64.e_ident[2] = elf_header.e_ident[2];\n      ehdr64.e_ident[3] = elf_header.e_ident[3];\n      ehdr64.e_ident[4] = elf_header.e_ident[4];\n      ehdr64.e_ident[5] = elf_header.e_ident[5];\n      ehdr64.e_ident[6] = elf_header.e_ident[6];\n      ehdr64.e_ident[7] = elf_header.e_ident[7];\n      ehdr64.e_ident[8] = elf_header.e_ident[8];\n      ehdr64.e_ident[9] = elf_header.e_ident[9];\n      ehdr64.e_ident[10] = elf_header.e_ident[10];\n      ehdr64.e_ident[0xb] = elf_header.e_ident[0xb];\n      ehdr64.e_ident[0xc] = elf_header.e_ident[0xc];\n      ehdr64.e_ident[0xd] = elf_header.e_ident[0xd];\n      ehdr64.e_ident[0xe] = elf_header.e_ident[0xe];\n      ehdr64.e_ident[0xf] = elf_header.e_ident[0xf];\n      goto LAB_00011fce;\n    }\n    pcVar4 = (char *)dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n    error(pcVar4,uVar14 & 0xff);\nLAB_00011c39:\n    pcVar12 = (char *)0x5;\n    pcVar4 = (char *)dcgettext(0,"%s: Failed to read ELF header\n",5);\n  }\nLAB_00011c4e:\n  error(pcVar4,file_name,pcVar12);\n  iVar5 = 1;\n  bVar1 = elf_header.e_entry;\n  bVar2 = elf_header.e_shoff;\nLAB_00011c60:\n  elf_header.e_shoff._4_4_ = (undefined4)(bVar2 >> 0x20);\n  elf_header.e_shoff._0_4_ = (undefined4)bVar2;\n  elf_header.e_entry._4_4_ = (undefined4)(bVar1 >> 0x20);\n  elf_header.e_entry._0_4_ = (undefined4)bVar1;\n  return iVar5;\n}" { (declaration "bfd_vma bVar1;" type_identifier identifier ;) (declaration "bfd_size_type bVar2;" type_identifier identifier ;) (declaration "long __off;" (sized_type_specifier "long" long) identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "Elf32_External_Ehdr *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "elfclass eVar7;" type_identifier identifier ;) (declaration "elfclass eVar8;" type_identifier identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "elf_vma eVar10;" type_identifier identifier ;) (declaration "elfclass eVar11;" type_identifier identifier ;) (declaration "char *pcVar12;" primitive_type (pointer_declarator "*pcVar12" * identifier) ;) (declaration "FILE *pFVar13;" type_identifier (pointer_declarator "*pFVar13" * identifier) ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "uchar *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (expression_statement "__off = ftell((FILE *)file);" (assignment_expression "__off = ftell((FILE *)file)" identifier = (call_expression "ftell((FILE *)file)" identifier (argument_list "((FILE *)file)" ( (cast_expression "(FILE *)file" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "sVar3 = fread(&elf_header,0x10,1,(FILE *)file);" (assignment_expression "sVar3 = fread(&elf_header,0x10,1,(FILE *)file)" identifier = (call_expression "fread(&elf_header,0x10,1,(FILE *)file)" identifier (argument_list "(&elf_header,0x10,1,(FILE *)file)" ( (pointer_expression "&elf_header" & identifier) , number_literal , number_literal , (cast_expression "(FILE *)file" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (sVar3 != 1) goto LAB_00011c39;" if (parenthesized_expression "(sVar3 != 1)" ( (binary_expression "sVar3 != 1" identifier != number_literal) )) (goto_statement "goto LAB_00011c39;" goto statement_identifier ;)) (expression_statement "pFVar13 = file;" (assignment_expression "pFVar13 = file" identifier = identifier) ;) (if_statement "if (elf_header.e_ident[5] == '\x02') {\n    byte_get = byte_get_big_endian;\n    byte_put = byte_put_big_endian;\n    if (elf_header.e_ident[4] != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n    puVar15 = ehdr32.e_type;\n    sVar3 = fread(ehdr32.e_type,0x24,1,(FILE *)file);\n    if (sVar3 != 1) goto LAB_00011c39;\n    eVar10 = (*byte_get)(puVar15,2);\n    elf_header.e_type = (ushort)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_machine,2);\n    elf_header.e_machine = (ushort)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_version,4);\n    elf_header.e_version = (ulong)eVar10;\n    elf_header.e_entry = (*byte_get)(ehdr32.e_entry,4);\n    elf_header.e_phoff = (*byte_get)(ehdr32.e_phoff,4);\n    elf_header.e_shoff = (*byte_get)(ehdr32.e_shoff,4);\n    eVar10 = (*byte_get)(ehdr32.e_flags,4);\n    elf_header.e_flags = (ulong)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_ehsize,2);\n    elf_header.e_ehsize = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_phentsize,2);\n    elf_header.e_phentsize = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_phnum,2);\n    elf_header.e_phnum = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_shentsize,2);\n    elf_header.e_shentsize = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_shnum,2);\n    elf_header.e_shnum = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_shstrndx,2);\n    elf_header.e_shstrndx = (uint)eVar10;\n    ehdr32.e_ident[0] = elf_header.e_ident[0];\n    ehdr32.e_ident[1] = elf_header.e_ident[1];\n    ehdr32.e_ident[2] = elf_header.e_ident[2];\n    ehdr32.e_ident[3] = elf_header.e_ident[3];\n    ehdr32.e_ident[4] = elf_header.e_ident[4];\n    ehdr32.e_ident[5] = elf_header.e_ident[5];\n    ehdr32.e_ident[6] = elf_header.e_ident[6];\n    ehdr32.e_ident[7] = elf_header.e_ident[7];\n    ehdr32.e_ident[8] = elf_header.e_ident[8];\n    ehdr32.e_ident[9] = elf_header.e_ident[9];\n    ehdr32.e_ident[10] = elf_header.e_ident[10];\n    ehdr32.e_ident[0xb] = elf_header.e_ident[0xb];\n    ehdr32.e_ident[0xc] = elf_header.e_ident[0xc];\n    ehdr32.e_ident[0xd] = elf_header.e_ident[0xd];\n    ehdr32.e_ident[0xe] = elf_header.e_ident[0xe];\n    ehdr32.e_ident[0xf] = elf_header.e_ident[0xf];\nLAB_00011fce:\n    iVar5 = fseek((FILE *)file,__off,0);\n    if (iVar5 != 0) {\n      pcVar4 = (char *)dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n      error(pcVar4,file_name);\n    }\n    eVar11 = input_elf_machine;\n    if (elf_header.e_ident._0_4_ == 0x464c457f) {\n      if (elf_header.e_ident[6] != '\x01') {\n        eVar8 = (elfclass)elf_header.e_ident[6];\n        pcVar4 = (char *)dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar13,\n                                   file_name,eVar8);\n        eVar11 = ELF_CLASS_32;\n        eVar8 = eVar8 & 0xff;\n        goto LAB_0001223f;\n      }\n      eVar7 = (elfclass)elf_header.e_machine;\n      bVar1 = elf_header.e_entry;\n      bVar2 = elf_header.e_shoff;\n      if (eVar7 != output_elf_machine) {\n        eVar8 = elf_header.e_ident._4_4_ & 0xff;\n        if (input_elf_class == ELF_CLASS_UNKNOWN) {\n          if (elf_header.e_machine == 6) {\nLAB_00012338:\n            bVar9 = eVar8 != ELF_CLASS_32;\n            input_elf_class = ELF_CLASS_32;\n            goto LAB_00012050;\n          }\n          if (elf_header.e_machine < 7) {\n            if (elf_header.e_machine == 3) goto LAB_00012338;\n          }\n          else if ((ushort)(elf_header.e_machine - 0xb4) < 2) {\n            bVar9 = eVar8 != ELF_CLASS_64;\n            input_elf_class = ELF_CLASS_64;\n            goto LAB_00012050;\n          }\n          input_elf_class = ELF_CLASS_BOTH;\nLAB_00012058:\n          if ((output_elf_class == ELF_CLASS_BOTH) || (eVar8 == output_elf_class)) {\n            if ((input_elf_machine != -1) && (eVar7 != input_elf_machine)) {\n              eVar8 = eVar7;\n              pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7);\n              goto LAB_0001223f;\n            }\n            eVar8 = (elfclass)elf_header.e_type;\n            if ((input_elf_type == -1) || (eVar8 == input_elf_type)) {\n              eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;\n              if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }\n              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n              eVar11 = input_elf_osabi;\n            }\n            else {\n              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";\n              eVar11 = input_elf_type;\n            }\n          }\n          else {\n            pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n            eVar11 = output_elf_class;\n          }\n        }\n        else {\n          bVar9 = input_elf_class != ELF_CLASS_BOTH && eVar8 != input_elf_class;\nLAB_00012050:\n          if (!bVar9) goto LAB_00012058;\n          pcVar4 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n          eVar11 = input_elf_class;\n        }\n        pcVar4 = (char *)dcgettext(0,pcVar4,5);\nLAB_0001223f:\n        error(pcVar4,file_name,eVar8,eVar11);\n        return 1;\n      }\nLAB_00012260:\n      iVar5 = 0;\n      goto LAB_00011c60;\n    }\n    pcVar12 = (char *)0x5;\n    pcVar4 = (char *)dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n  }\n  else {\n    byte_get = byte_get_little_endian;\n    byte_put = byte_put_little_endian;\n    if (elf_header.e_ident[4] == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar14 = elf_header.e_ident._4_4_ & 0xff;\n    if (elf_header.e_ident[4] == '\x02') {\n      puVar15 = ehdr64.e_type;\n      sVar3 = fread(ehdr64.e_type,0x30,1,(FILE *)file);\n      if (sVar3 != 1) goto LAB_00011c39;\n      eVar10 = (*byte_get)(puVar15,2);\n      elf_header.e_type = (ushort)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_machine,2);\n      elf_header.e_machine = (ushort)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_version,4);\n      elf_header.e_version = (ulong)eVar10;\n      elf_header.e_entry = (*byte_get)(ehdr64.e_entry,8);\n      elf_header.e_phoff = (*byte_get)(ehdr64.e_phoff,8);\n      elf_header.e_shoff = (*byte_get)(ehdr64.e_shoff,8);\n      eVar10 = (*byte_get)(ehdr64.e_flags,4);\n      elf_header.e_flags = (ulong)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_ehsize,2);\n      elf_header.e_ehsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_phentsize,2);\n      elf_header.e_phentsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_phnum,2);\n      elf_header.e_phnum = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shentsize,2);\n      elf_header.e_shentsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shnum,2);\n      elf_header.e_shnum = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shstrndx,2);\n      elf_header.e_shstrndx = (uint)eVar10;\n      ehdr64.e_ident[0] = elf_header.e_ident[0];\n      ehdr64.e_ident[1] = elf_header.e_ident[1];\n      ehdr64.e_ident[2] = elf_header.e_ident[2];\n      ehdr64.e_ident[3] = elf_header.e_ident[3];\n      ehdr64.e_ident[4] = elf_header.e_ident[4];\n      ehdr64.e_ident[5] = elf_header.e_ident[5];\n      ehdr64.e_ident[6] = elf_header.e_ident[6];\n      ehdr64.e_ident[7] = elf_header.e_ident[7];\n      ehdr64.e_ident[8] = elf_header.e_ident[8];\n      ehdr64.e_ident[9] = elf_header.e_ident[9];\n      ehdr64.e_ident[10] = elf_header.e_ident[10];\n      ehdr64.e_ident[0xb] = elf_header.e_ident[0xb];\n      ehdr64.e_ident[0xc] = elf_header.e_ident[0xc];\n      ehdr64.e_ident[0xd] = elf_header.e_ident[0xd];\n      ehdr64.e_ident[0xe] = elf_header.e_ident[0xe];\n      ehdr64.e_ident[0xf] = elf_header.e_ident[0xf];\n      goto LAB_00011fce;\n    }\n    pcVar4 = (char *)dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n    error(pcVar4,uVar14 & 0xff);\nLAB_00011c39:\n    pcVar12 = (char *)0x5;\n    pcVar4 = (char *)dcgettext(0,"%s: Failed to read ELF header\n",5);\n  }" if (parenthesized_expression "(elf_header.e_ident[5] == '\x02')" ( (binary_expression "elf_header.e_ident[5] == '\x02'" (subscript_expression "elf_header.e_ident[5]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ]) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    byte_get = byte_get_big_endian;\n    byte_put = byte_put_big_endian;\n    if (elf_header.e_ident[4] != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n    puVar15 = ehdr32.e_type;\n    sVar3 = fread(ehdr32.e_type,0x24,1,(FILE *)file);\n    if (sVar3 != 1) goto LAB_00011c39;\n    eVar10 = (*byte_get)(puVar15,2);\n    elf_header.e_type = (ushort)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_machine,2);\n    elf_header.e_machine = (ushort)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_version,4);\n    elf_header.e_version = (ulong)eVar10;\n    elf_header.e_entry = (*byte_get)(ehdr32.e_entry,4);\n    elf_header.e_phoff = (*byte_get)(ehdr32.e_phoff,4);\n    elf_header.e_shoff = (*byte_get)(ehdr32.e_shoff,4);\n    eVar10 = (*byte_get)(ehdr32.e_flags,4);\n    elf_header.e_flags = (ulong)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_ehsize,2);\n    elf_header.e_ehsize = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_phentsize,2);\n    elf_header.e_phentsize = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_phnum,2);\n    elf_header.e_phnum = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_shentsize,2);\n    elf_header.e_shentsize = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_shnum,2);\n    elf_header.e_shnum = (uint)eVar10;\n    eVar10 = (*byte_get)(ehdr32.e_shstrndx,2);\n    elf_header.e_shstrndx = (uint)eVar10;\n    ehdr32.e_ident[0] = elf_header.e_ident[0];\n    ehdr32.e_ident[1] = elf_header.e_ident[1];\n    ehdr32.e_ident[2] = elf_header.e_ident[2];\n    ehdr32.e_ident[3] = elf_header.e_ident[3];\n    ehdr32.e_ident[4] = elf_header.e_ident[4];\n    ehdr32.e_ident[5] = elf_header.e_ident[5];\n    ehdr32.e_ident[6] = elf_header.e_ident[6];\n    ehdr32.e_ident[7] = elf_header.e_ident[7];\n    ehdr32.e_ident[8] = elf_header.e_ident[8];\n    ehdr32.e_ident[9] = elf_header.e_ident[9];\n    ehdr32.e_ident[10] = elf_header.e_ident[10];\n    ehdr32.e_ident[0xb] = elf_header.e_ident[0xb];\n    ehdr32.e_ident[0xc] = elf_header.e_ident[0xc];\n    ehdr32.e_ident[0xd] = elf_header.e_ident[0xd];\n    ehdr32.e_ident[0xe] = elf_header.e_ident[0xe];\n    ehdr32.e_ident[0xf] = elf_header.e_ident[0xf];\nLAB_00011fce:\n    iVar5 = fseek((FILE *)file,__off,0);\n    if (iVar5 != 0) {\n      pcVar4 = (char *)dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n      error(pcVar4,file_name);\n    }\n    eVar11 = input_elf_machine;\n    if (elf_header.e_ident._0_4_ == 0x464c457f) {\n      if (elf_header.e_ident[6] != '\x01') {\n        eVar8 = (elfclass)elf_header.e_ident[6];\n        pcVar4 = (char *)dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar13,\n                                   file_name,eVar8);\n        eVar11 = ELF_CLASS_32;\n        eVar8 = eVar8 & 0xff;\n        goto LAB_0001223f;\n      }\n      eVar7 = (elfclass)elf_header.e_machine;\n      bVar1 = elf_header.e_entry;\n      bVar2 = elf_header.e_shoff;\n      if (eVar7 != output_elf_machine) {\n        eVar8 = elf_header.e_ident._4_4_ & 0xff;\n        if (input_elf_class == ELF_CLASS_UNKNOWN) {\n          if (elf_header.e_machine == 6) {\nLAB_00012338:\n            bVar9 = eVar8 != ELF_CLASS_32;\n            input_elf_class = ELF_CLASS_32;\n            goto LAB_00012050;\n          }\n          if (elf_header.e_machine < 7) {\n            if (elf_header.e_machine == 3) goto LAB_00012338;\n          }\n          else if ((ushort)(elf_header.e_machine - 0xb4) < 2) {\n            bVar9 = eVar8 != ELF_CLASS_64;\n            input_elf_class = ELF_CLASS_64;\n            goto LAB_00012050;\n          }\n          input_elf_class = ELF_CLASS_BOTH;\nLAB_00012058:\n          if ((output_elf_class == ELF_CLASS_BOTH) || (eVar8 == output_elf_class)) {\n            if ((input_elf_machine != -1) && (eVar7 != input_elf_machine)) {\n              eVar8 = eVar7;\n              pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7);\n              goto LAB_0001223f;\n            }\n            eVar8 = (elfclass)elf_header.e_type;\n            if ((input_elf_type == -1) || (eVar8 == input_elf_type)) {\n              eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;\n              if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }\n              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n              eVar11 = input_elf_osabi;\n            }\n            else {\n              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";\n              eVar11 = input_elf_type;\n            }\n          }\n          else {\n            pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n            eVar11 = output_elf_class;\n          }\n        }\n        else {\n          bVar9 = input_elf_class != ELF_CLASS_BOTH && eVar8 != input_elf_class;\nLAB_00012050:\n          if (!bVar9) goto LAB_00012058;\n          pcVar4 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n          eVar11 = input_elf_class;\n        }\n        pcVar4 = (char *)dcgettext(0,pcVar4,5);\nLAB_0001223f:\n        error(pcVar4,file_name,eVar8,eVar11);\n        return 1;\n      }\nLAB_00012260:\n      iVar5 = 0;\n      goto LAB_00011c60;\n    }\n    pcVar12 = (char *)0x5;\n    pcVar4 = (char *)dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n  }" { (expression_statement "byte_get = byte_get_big_endian;" (assignment_expression "byte_get = byte_get_big_endian" identifier = identifier) ;) (expression_statement "byte_put = byte_put_big_endian;" (assignment_expression "byte_put = byte_put_big_endian" identifier = identifier) ;) (if_statement "if (elf_header.e_ident[4] != '\x01') goto LAB_00011ca7;" if (parenthesized_expression "(elf_header.e_ident[4] != '\x01')" ( (binary_expression "elf_header.e_ident[4] != '\x01'" (subscript_expression "elf_header.e_ident[4]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ]) != (char_literal "'\x01'" ' escape_sequence ')) )) (goto_statement "goto LAB_00011ca7;" goto statement_identifier ;)) (labeled_statement "LAB_00011d08:\n    puVar15 = ehdr32.e_type;" statement_identifier : (expression_statement "puVar15 = ehdr32.e_type;" (assignment_expression "puVar15 = ehdr32.e_type" identifier = (field_expression "ehdr32.e_type" identifier . field_identifier)) ;)) (expression_statement "sVar3 = fread(ehdr32.e_type,0x24,1,(FILE *)file);" (assignment_expression "sVar3 = fread(ehdr32.e_type,0x24,1,(FILE *)file)" identifier = (call_expression "fread(ehdr32.e_type,0x24,1,(FILE *)file)" identifier (argument_list "(ehdr32.e_type,0x24,1,(FILE *)file)" ( (field_expression "ehdr32.e_type" identifier . field_identifier) , number_literal , number_literal , (cast_expression "(FILE *)file" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (sVar3 != 1) goto LAB_00011c39;" if (parenthesized_expression "(sVar3 != 1)" ( (binary_expression "sVar3 != 1" identifier != number_literal) )) (goto_statement "goto LAB_00011c39;" goto statement_identifier ;)) (expression_statement "eVar10 = (*byte_get)(puVar15,2);" (assignment_expression "eVar10 = (*byte_get)(puVar15,2)" identifier = (call_expression "(*byte_get)(puVar15,2)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(puVar15,2)" ( identifier , number_literal )))) ;) (expression_statement "elf_header.e_type = (ushort)eVar10;" (assignment_expression "elf_header.e_type = (ushort)eVar10" (field_expression "elf_header.e_type" identifier . field_identifier) = (cast_expression "(ushort)eVar10" ( (type_descriptor "ushort" type_identifier) ) identifier)) ;) (expression_statement "eVar10 = (*byte_get)(ehdr32.e_machine,2);" (assignment_expression "eVar10 = (*byte_get)(ehdr32.e_machine,2)" identifier = (call_expression "(*byte_get)(ehdr32.e_machine,2)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr32.e_machine,2)" ( (field_expression "ehdr32.e_machine" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_machine = (ushort)eVar10;" (assignment_expression "elf_header.e_machine = (ushort)eVar10" (field_expression "elf_header.e_machine" identifier . field_identifier) = (cast_expression "(ushort)eVar10" ( (type_descriptor "ushort" type_identifier) ) identifier)) ;) (expression_statement "eVar10 = (*byte_get)(ehdr32.e_version,4);" (assignment_expression "eVar10 = (*byte_get)(ehdr32.e_version,4)" identifier = (call_expression "(*byte_get)(ehdr32.e_version,4)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr32.e_version,4)" ( (field_expression "ehdr32.e_version" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_version = (ulong)eVar10;" (assignment_expression "elf_header.e_version = (ulong)eVar10" (field_expression "elf_header.e_version" identifier . field_identifier) = (cast_expression "(ulong)eVar10" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "elf_header.e_entry = (*byte_get)(ehdr32.e_entry,4);" (assignment_expression "elf_header.e_entry = (*byte_get)(ehdr32.e_entry,4)" (field_expression "elf_header.e_entry" identifier . field_identifier) = (call_expression "(*byte_get)(ehdr32.e_entry,4)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr32.e_entry,4)" ( (field_expression "ehdr32.e_entry" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_phoff = (*byte_get)(ehdr32.e_phoff,4);" (assignment_expression "elf_header.e_phoff = (*byte_get)(ehdr32.e_phoff,4)" (field_expression "elf_header.e_phoff" identifier . field_identifier) = (call_expression "(*byte_get)(ehdr32.e_phoff,4)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr32.e_phoff,4)" ( (field_expression "ehdr32.e_phoff" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_shoff = (*byte_get)(ehdr32.e_shoff,4);" (assignment_expression "elf_header.e_shoff = (*byte_get)(ehdr32.e_shoff,4)" (field_expression "elf_header.e_shoff" identifier . field_identifier) = (call_expression "(*byte_get)(ehdr32.e_shoff,4)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr32.e_shoff,4)" ( (field_expression "ehdr32.e_shoff" identifier . field_identifier) , number_literal )))) ;) (expression_statement "eVar10 = (*byte_get)(ehdr32.e_flags,4);" (assignment_expression "eVar10 = (*byte_get)(ehdr32.e_flags,4)" identifier = (call_expression "(*byte_get)(ehdr32.e_flags,4)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr32.e_flags,4)" ( (field_expression "ehdr32.e_flags" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_flags = (ulong)eVar10;" (assignment_expression "elf_header.e_flags = (ulong)eVar10" (field_expression "elf_header.e_flags" identifier . field_identifier) = (cast_expression "(ulong)eVar10" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "eVar10 = (*byte_get)(ehdr32.e_ehsize,2);" (assignment_expression "eVar10 = (*byte_get)(ehdr32.e_ehsize,2)" identifier = (call_expression "(*byte_get)(ehdr32.e_ehsize,2)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr32.e_ehsize,2)" ( (field_expression "ehdr32.e_ehsize" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_ehsize = (uint)eVar10;" (assignment_expression "elf_header.e_ehsize = (uint)eVar10" (field_expression "elf_header.e_ehsize" identifier . field_identifier) = (cast_expression "(uint)eVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "eVar10 = (*byte_get)(ehdr32.e_phentsize,2);" (assignment_expression "eVar10 = (*byte_get)(ehdr32.e_phentsize,2)" identifier = (call_expression "(*byte_get)(ehdr32.e_phentsize,2)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr32.e_phentsize,2)" ( (field_expression "ehdr32.e_phentsize" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_phentsize = (uint)eVar10;" (assignment_expression "elf_header.e_phentsize = (uint)eVar10" (field_expression "elf_header.e_phentsize" identifier . field_identifier) = (cast_expression "(uint)eVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "eVar10 = (*byte_get)(ehdr32.e_phnum,2);" (assignment_expression "eVar10 = (*byte_get)(ehdr32.e_phnum,2)" identifier = (call_expression "(*byte_get)(ehdr32.e_phnum,2)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr32.e_phnum,2)" ( (field_expression "ehdr32.e_phnum" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_phnum = (uint)eVar10;" (assignment_expression "elf_header.e_phnum = (uint)eVar10" (field_expression "elf_header.e_phnum" identifier . field_identifier) = (cast_expression "(uint)eVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "eVar10 = (*byte_get)(ehdr32.e_shentsize,2);" (assignment_expression "eVar10 = (*byte_get)(ehdr32.e_shentsize,2)" identifier = (call_expression "(*byte_get)(ehdr32.e_shentsize,2)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr32.e_shentsize,2)" ( (field_expression "ehdr32.e_shentsize" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_shentsize = (uint)eVar10;" (assignment_expression "elf_header.e_shentsize = (uint)eVar10" (field_expression "elf_header.e_shentsize" identifier . field_identifier) = (cast_expression "(uint)eVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "eVar10 = (*byte_get)(ehdr32.e_shnum,2);" (assignment_expression "eVar10 = (*byte_get)(ehdr32.e_shnum,2)" identifier = (call_expression "(*byte_get)(ehdr32.e_shnum,2)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr32.e_shnum,2)" ( (field_expression "ehdr32.e_shnum" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_shnum = (uint)eVar10;" (assignment_expression "elf_header.e_shnum = (uint)eVar10" (field_expression "elf_header.e_shnum" identifier . field_identifier) = (cast_expression "(uint)eVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "eVar10 = (*byte_get)(ehdr32.e_shstrndx,2);" (assignment_expression "eVar10 = (*byte_get)(ehdr32.e_shstrndx,2)" identifier = (call_expression "(*byte_get)(ehdr32.e_shstrndx,2)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr32.e_shstrndx,2)" ( (field_expression "ehdr32.e_shstrndx" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_shstrndx = (uint)eVar10;" (assignment_expression "elf_header.e_shstrndx = (uint)eVar10" (field_expression "elf_header.e_shstrndx" identifier . field_identifier) = (cast_expression "(uint)eVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "ehdr32.e_ident[0] = elf_header.e_ident[0];" (assignment_expression "ehdr32.e_ident[0] = elf_header.e_ident[0]" (subscript_expression "ehdr32.e_ident[0]" (field_expression "ehdr32.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[0]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr32.e_ident[1] = elf_header.e_ident[1];" (assignment_expression "ehdr32.e_ident[1] = elf_header.e_ident[1]" (subscript_expression "ehdr32.e_ident[1]" (field_expression "ehdr32.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[1]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr32.e_ident[2] = elf_header.e_ident[2];" (assignment_expression "ehdr32.e_ident[2] = elf_header.e_ident[2]" (subscript_expression "ehdr32.e_ident[2]" (field_expression "ehdr32.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[2]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr32.e_ident[3] = elf_header.e_ident[3];" (assignment_expression "ehdr32.e_ident[3] = elf_header.e_ident[3]" (subscript_expression "ehdr32.e_ident[3]" (field_expression "ehdr32.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[3]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr32.e_ident[4] = elf_header.e_ident[4];" (assignment_expression "ehdr32.e_ident[4] = elf_header.e_ident[4]" (subscript_expression "ehdr32.e_ident[4]" (field_expression "ehdr32.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[4]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr32.e_ident[5] = elf_header.e_ident[5];" (assignment_expression "ehdr32.e_ident[5] = elf_header.e_ident[5]" (subscript_expression "ehdr32.e_ident[5]" (field_expression "ehdr32.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[5]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr32.e_ident[6] = elf_header.e_ident[6];" (assignment_expression "ehdr32.e_ident[6] = elf_header.e_ident[6]" (subscript_expression "ehdr32.e_ident[6]" (field_expression "ehdr32.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[6]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr32.e_ident[7] = elf_header.e_ident[7];" (assignment_expression "ehdr32.e_ident[7] = elf_header.e_ident[7]" (subscript_expression "ehdr32.e_ident[7]" (field_expression "ehdr32.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[7]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr32.e_ident[8] = elf_header.e_ident[8];" (assignment_expression "ehdr32.e_ident[8] = elf_header.e_ident[8]" (subscript_expression "ehdr32.e_ident[8]" (field_expression "ehdr32.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[8]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr32.e_ident[9] = elf_header.e_ident[9];" (assignment_expression "ehdr32.e_ident[9] = elf_header.e_ident[9]" (subscript_expression "ehdr32.e_ident[9]" (field_expression "ehdr32.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[9]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr32.e_ident[10] = elf_header.e_ident[10];" (assignment_expression "ehdr32.e_ident[10] = elf_header.e_ident[10]" (subscript_expression "ehdr32.e_ident[10]" (field_expression "ehdr32.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[10]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr32.e_ident[0xb] = elf_header.e_ident[0xb];" (assignment_expression "ehdr32.e_ident[0xb] = elf_header.e_ident[0xb]" (subscript_expression "ehdr32.e_ident[0xb]" (field_expression "ehdr32.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[0xb]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr32.e_ident[0xc] = elf_header.e_ident[0xc];" (assignment_expression "ehdr32.e_ident[0xc] = elf_header.e_ident[0xc]" (subscript_expression "ehdr32.e_ident[0xc]" (field_expression "ehdr32.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[0xc]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr32.e_ident[0xd] = elf_header.e_ident[0xd];" (assignment_expression "ehdr32.e_ident[0xd] = elf_header.e_ident[0xd]" (subscript_expression "ehdr32.e_ident[0xd]" (field_expression "ehdr32.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[0xd]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr32.e_ident[0xe] = elf_header.e_ident[0xe];" (assignment_expression "ehdr32.e_ident[0xe] = elf_header.e_ident[0xe]" (subscript_expression "ehdr32.e_ident[0xe]" (field_expression "ehdr32.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[0xe]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr32.e_ident[0xf] = elf_header.e_ident[0xf];" (assignment_expression "ehdr32.e_ident[0xf] = elf_header.e_ident[0xf]" (subscript_expression "ehdr32.e_ident[0xf]" (field_expression "ehdr32.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[0xf]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (labeled_statement "LAB_00011fce:\n    iVar5 = fseek((FILE *)file,__off,0);" statement_identifier : (expression_statement "iVar5 = fseek((FILE *)file,__off,0);" (assignment_expression "iVar5 = fseek((FILE *)file,__off,0)" identifier = (call_expression "fseek((FILE *)file,__off,0)" identifier (argument_list "((FILE *)file,__off,0)" ( (cast_expression "(FILE *)file" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , number_literal )))) ;)) (if_statement "if (iVar5 != 0) {\n      pcVar4 = (char *)dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n      error(pcVar4,file_name);\n    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar4 = (char *)dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n      error(pcVar4,file_name);\n    }" { (expression_statement "pcVar4 = (char *)dcgettext(0,"%s: Failed to seek to ELF header\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"%s: Failed to seek to ELF header\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%s: Failed to seek to ELF header\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%s: Failed to seek to ELF header\n",5)" identifier (argument_list "(0,"%s: Failed to seek to ELF header\n",5)" ( number_literal , (string_literal ""%s: Failed to seek to ELF header\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "error(pcVar4,file_name);" (call_expression "error(pcVar4,file_name)" identifier (argument_list "(pcVar4,file_name)" ( identifier , identifier ))) ;) })) (expression_statement "eVar11 = input_elf_machine;" (assignment_expression "eVar11 = input_elf_machine" identifier = identifier) ;) (if_statement "if (elf_header.e_ident._0_4_ == 0x464c457f) {\n      if (elf_header.e_ident[6] != '\x01') {\n        eVar8 = (elfclass)elf_header.e_ident[6];\n        pcVar4 = (char *)dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar13,\n                                   file_name,eVar8);\n        eVar11 = ELF_CLASS_32;\n        eVar8 = eVar8 & 0xff;\n        goto LAB_0001223f;\n      }\n      eVar7 = (elfclass)elf_header.e_machine;\n      bVar1 = elf_header.e_entry;\n      bVar2 = elf_header.e_shoff;\n      if (eVar7 != output_elf_machine) {\n        eVar8 = elf_header.e_ident._4_4_ & 0xff;\n        if (input_elf_class == ELF_CLASS_UNKNOWN) {\n          if (elf_header.e_machine == 6) {\nLAB_00012338:\n            bVar9 = eVar8 != ELF_CLASS_32;\n            input_elf_class = ELF_CLASS_32;\n            goto LAB_00012050;\n          }\n          if (elf_header.e_machine < 7) {\n            if (elf_header.e_machine == 3) goto LAB_00012338;\n          }\n          else if ((ushort)(elf_header.e_machine - 0xb4) < 2) {\n            bVar9 = eVar8 != ELF_CLASS_64;\n            input_elf_class = ELF_CLASS_64;\n            goto LAB_00012050;\n          }\n          input_elf_class = ELF_CLASS_BOTH;\nLAB_00012058:\n          if ((output_elf_class == ELF_CLASS_BOTH) || (eVar8 == output_elf_class)) {\n            if ((input_elf_machine != -1) && (eVar7 != input_elf_machine)) {\n              eVar8 = eVar7;\n              pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7);\n              goto LAB_0001223f;\n            }\n            eVar8 = (elfclass)elf_header.e_type;\n            if ((input_elf_type == -1) || (eVar8 == input_elf_type)) {\n              eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;\n              if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }\n              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n              eVar11 = input_elf_osabi;\n            }\n            else {\n              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";\n              eVar11 = input_elf_type;\n            }\n          }\n          else {\n            pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n            eVar11 = output_elf_class;\n          }\n        }\n        else {\n          bVar9 = input_elf_class != ELF_CLASS_BOTH && eVar8 != input_elf_class;\nLAB_00012050:\n          if (!bVar9) goto LAB_00012058;\n          pcVar4 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n          eVar11 = input_elf_class;\n        }\n        pcVar4 = (char *)dcgettext(0,pcVar4,5);\nLAB_0001223f:\n        error(pcVar4,file_name,eVar8,eVar11);\n        return 1;\n      }\nLAB_00012260:\n      iVar5 = 0;\n      goto LAB_00011c60;\n    }" if (parenthesized_expression "(elf_header.e_ident._0_4_ == 0x464c457f)" ( (binary_expression "elf_header.e_ident._0_4_ == 0x464c457f" (field_expression "elf_header.e_ident._0_4_" (field_expression "elf_header.e_ident" identifier . field_identifier) . field_identifier) == number_literal) )) (compound_statement "{\n      if (elf_header.e_ident[6] != '\x01') {\n        eVar8 = (elfclass)elf_header.e_ident[6];\n        pcVar4 = (char *)dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar13,\n                                   file_name,eVar8);\n        eVar11 = ELF_CLASS_32;\n        eVar8 = eVar8 & 0xff;\n        goto LAB_0001223f;\n      }\n      eVar7 = (elfclass)elf_header.e_machine;\n      bVar1 = elf_header.e_entry;\n      bVar2 = elf_header.e_shoff;\n      if (eVar7 != output_elf_machine) {\n        eVar8 = elf_header.e_ident._4_4_ & 0xff;\n        if (input_elf_class == ELF_CLASS_UNKNOWN) {\n          if (elf_header.e_machine == 6) {\nLAB_00012338:\n            bVar9 = eVar8 != ELF_CLASS_32;\n            input_elf_class = ELF_CLASS_32;\n            goto LAB_00012050;\n          }\n          if (elf_header.e_machine < 7) {\n            if (elf_header.e_machine == 3) goto LAB_00012338;\n          }\n          else if ((ushort)(elf_header.e_machine - 0xb4) < 2) {\n            bVar9 = eVar8 != ELF_CLASS_64;\n            input_elf_class = ELF_CLASS_64;\n            goto LAB_00012050;\n          }\n          input_elf_class = ELF_CLASS_BOTH;\nLAB_00012058:\n          if ((output_elf_class == ELF_CLASS_BOTH) || (eVar8 == output_elf_class)) {\n            if ((input_elf_machine != -1) && (eVar7 != input_elf_machine)) {\n              eVar8 = eVar7;\n              pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7);\n              goto LAB_0001223f;\n            }\n            eVar8 = (elfclass)elf_header.e_type;\n            if ((input_elf_type == -1) || (eVar8 == input_elf_type)) {\n              eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;\n              if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }\n              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n              eVar11 = input_elf_osabi;\n            }\n            else {\n              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";\n              eVar11 = input_elf_type;\n            }\n          }\n          else {\n            pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n            eVar11 = output_elf_class;\n          }\n        }\n        else {\n          bVar9 = input_elf_class != ELF_CLASS_BOTH && eVar8 != input_elf_class;\nLAB_00012050:\n          if (!bVar9) goto LAB_00012058;\n          pcVar4 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n          eVar11 = input_elf_class;\n        }\n        pcVar4 = (char *)dcgettext(0,pcVar4,5);\nLAB_0001223f:\n        error(pcVar4,file_name,eVar8,eVar11);\n        return 1;\n      }\nLAB_00012260:\n      iVar5 = 0;\n      goto LAB_00011c60;\n    }" { (if_statement "if (elf_header.e_ident[6] != '\x01') {\n        eVar8 = (elfclass)elf_header.e_ident[6];\n        pcVar4 = (char *)dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar13,\n                                   file_name,eVar8);\n        eVar11 = ELF_CLASS_32;\n        eVar8 = eVar8 & 0xff;\n        goto LAB_0001223f;\n      }" if (parenthesized_expression "(elf_header.e_ident[6] != '\x01')" ( (binary_expression "elf_header.e_ident[6] != '\x01'" (subscript_expression "elf_header.e_ident[6]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ]) != (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n        eVar8 = (elfclass)elf_header.e_ident[6];\n        pcVar4 = (char *)dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar13,\n                                   file_name,eVar8);\n        eVar11 = ELF_CLASS_32;\n        eVar8 = eVar8 & 0xff;\n        goto LAB_0001223f;\n      }" { (expression_statement "eVar8 = (elfclass)elf_header.e_ident[6];" (assignment_expression "eVar8 = (elfclass)elf_header.e_ident[6]" identifier = (cast_expression "(elfclass)elf_header.e_ident[6]" ( (type_descriptor "elfclass" type_identifier) ) (subscript_expression "elf_header.e_ident[6]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ]))) ;) (expression_statement "pcVar4 = (char *)dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar13,\n                                   file_name,eVar8);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar13,\n                                   file_name,eVar8)" identifier = (cast_expression "(char *)dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar13,\n                                   file_name,eVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar13,\n                                   file_name,eVar8)" identifier (argument_list "(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar13,\n                                   file_name,eVar8)" ( number_literal , (string_literal ""%s: Unsupported EI_VERSION: %d is not %d\n"" " string_content escape_sequence ") , number_literal , identifier , identifier , identifier ))))) ;) (expression_statement "eVar11 = ELF_CLASS_32;" (assignment_expression "eVar11 = ELF_CLASS_32" identifier = identifier) ;) (expression_statement "eVar8 = eVar8 & 0xff;" (assignment_expression "eVar8 = eVar8 & 0xff" identifier = (binary_expression "eVar8 & 0xff" identifier & number_literal)) ;) (goto_statement "goto LAB_0001223f;" goto statement_identifier ;) })) (expression_statement "eVar7 = (elfclass)elf_header.e_machine;" (assignment_expression "eVar7 = (elfclass)elf_header.e_machine" identifier = (cast_expression "(elfclass)elf_header.e_machine" ( (type_descriptor "elfclass" type_identifier) ) (field_expression "elf_header.e_machine" identifier . field_identifier))) ;) (expression_statement "bVar1 = elf_header.e_entry;" (assignment_expression "bVar1 = elf_header.e_entry" identifier = (field_expression "elf_header.e_entry" identifier . field_identifier)) ;) (expression_statement "bVar2 = elf_header.e_shoff;" (assignment_expression "bVar2 = elf_header.e_shoff" identifier = (field_expression "elf_header.e_shoff" identifier . field_identifier)) ;) (if_statement "if (eVar7 != output_elf_machine) {\n        eVar8 = elf_header.e_ident._4_4_ & 0xff;\n        if (input_elf_class == ELF_CLASS_UNKNOWN) {\n          if (elf_header.e_machine == 6) {\nLAB_00012338:\n            bVar9 = eVar8 != ELF_CLASS_32;\n            input_elf_class = ELF_CLASS_32;\n            goto LAB_00012050;\n          }\n          if (elf_header.e_machine < 7) {\n            if (elf_header.e_machine == 3) goto LAB_00012338;\n          }\n          else if ((ushort)(elf_header.e_machine - 0xb4) < 2) {\n            bVar9 = eVar8 != ELF_CLASS_64;\n            input_elf_class = ELF_CLASS_64;\n            goto LAB_00012050;\n          }\n          input_elf_class = ELF_CLASS_BOTH;\nLAB_00012058:\n          if ((output_elf_class == ELF_CLASS_BOTH) || (eVar8 == output_elf_class)) {\n            if ((input_elf_machine != -1) && (eVar7 != input_elf_machine)) {\n              eVar8 = eVar7;\n              pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7);\n              goto LAB_0001223f;\n            }\n            eVar8 = (elfclass)elf_header.e_type;\n            if ((input_elf_type == -1) || (eVar8 == input_elf_type)) {\n              eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;\n              if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }\n              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n              eVar11 = input_elf_osabi;\n            }\n            else {\n              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";\n              eVar11 = input_elf_type;\n            }\n          }\n          else {\n            pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n            eVar11 = output_elf_class;\n          }\n        }\n        else {\n          bVar9 = input_elf_class != ELF_CLASS_BOTH && eVar8 != input_elf_class;\nLAB_00012050:\n          if (!bVar9) goto LAB_00012058;\n          pcVar4 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n          eVar11 = input_elf_class;\n        }\n        pcVar4 = (char *)dcgettext(0,pcVar4,5);\nLAB_0001223f:\n        error(pcVar4,file_name,eVar8,eVar11);\n        return 1;\n      }" if (parenthesized_expression "(eVar7 != output_elf_machine)" ( (binary_expression "eVar7 != output_elf_machine" identifier != identifier) )) (compound_statement "{\n        eVar8 = elf_header.e_ident._4_4_ & 0xff;\n        if (input_elf_class == ELF_CLASS_UNKNOWN) {\n          if (elf_header.e_machine == 6) {\nLAB_00012338:\n            bVar9 = eVar8 != ELF_CLASS_32;\n            input_elf_class = ELF_CLASS_32;\n            goto LAB_00012050;\n          }\n          if (elf_header.e_machine < 7) {\n            if (elf_header.e_machine == 3) goto LAB_00012338;\n          }\n          else if ((ushort)(elf_header.e_machine - 0xb4) < 2) {\n            bVar9 = eVar8 != ELF_CLASS_64;\n            input_elf_class = ELF_CLASS_64;\n            goto LAB_00012050;\n          }\n          input_elf_class = ELF_CLASS_BOTH;\nLAB_00012058:\n          if ((output_elf_class == ELF_CLASS_BOTH) || (eVar8 == output_elf_class)) {\n            if ((input_elf_machine != -1) && (eVar7 != input_elf_machine)) {\n              eVar8 = eVar7;\n              pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7);\n              goto LAB_0001223f;\n            }\n            eVar8 = (elfclass)elf_header.e_type;\n            if ((input_elf_type == -1) || (eVar8 == input_elf_type)) {\n              eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;\n              if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }\n              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n              eVar11 = input_elf_osabi;\n            }\n            else {\n              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";\n              eVar11 = input_elf_type;\n            }\n          }\n          else {\n            pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n            eVar11 = output_elf_class;\n          }\n        }\n        else {\n          bVar9 = input_elf_class != ELF_CLASS_BOTH && eVar8 != input_elf_class;\nLAB_00012050:\n          if (!bVar9) goto LAB_00012058;\n          pcVar4 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n          eVar11 = input_elf_class;\n        }\n        pcVar4 = (char *)dcgettext(0,pcVar4,5);\nLAB_0001223f:\n        error(pcVar4,file_name,eVar8,eVar11);\n        return 1;\n      }" { (expression_statement "eVar8 = elf_header.e_ident._4_4_ & 0xff;" (assignment_expression "eVar8 = elf_header.e_ident._4_4_ & 0xff" identifier = (binary_expression "elf_header.e_ident._4_4_ & 0xff" (field_expression "elf_header.e_ident._4_4_" (field_expression "elf_header.e_ident" identifier . field_identifier) . field_identifier) & number_literal)) ;) (if_statement "if (input_elf_class == ELF_CLASS_UNKNOWN) {\n          if (elf_header.e_machine == 6) {\nLAB_00012338:\n            bVar9 = eVar8 != ELF_CLASS_32;\n            input_elf_class = ELF_CLASS_32;\n            goto LAB_00012050;\n          }\n          if (elf_header.e_machine < 7) {\n            if (elf_header.e_machine == 3) goto LAB_00012338;\n          }\n          else if ((ushort)(elf_header.e_machine - 0xb4) < 2) {\n            bVar9 = eVar8 != ELF_CLASS_64;\n            input_elf_class = ELF_CLASS_64;\n            goto LAB_00012050;\n          }\n          input_elf_class = ELF_CLASS_BOTH;\nLAB_00012058:\n          if ((output_elf_class == ELF_CLASS_BOTH) || (eVar8 == output_elf_class)) {\n            if ((input_elf_machine != -1) && (eVar7 != input_elf_machine)) {\n              eVar8 = eVar7;\n              pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7);\n              goto LAB_0001223f;\n            }\n            eVar8 = (elfclass)elf_header.e_type;\n            if ((input_elf_type == -1) || (eVar8 == input_elf_type)) {\n              eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;\n              if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }\n              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n              eVar11 = input_elf_osabi;\n            }\n            else {\n              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";\n              eVar11 = input_elf_type;\n            }\n          }\n          else {\n            pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n            eVar11 = output_elf_class;\n          }\n        }\n        else {\n          bVar9 = input_elf_class != ELF_CLASS_BOTH && eVar8 != input_elf_class;\nLAB_00012050:\n          if (!bVar9) goto LAB_00012058;\n          pcVar4 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n          eVar11 = input_elf_class;\n        }" if (parenthesized_expression "(input_elf_class == ELF_CLASS_UNKNOWN)" ( (binary_expression "input_elf_class == ELF_CLASS_UNKNOWN" identifier == identifier) )) (compound_statement "{\n          if (elf_header.e_machine == 6) {\nLAB_00012338:\n            bVar9 = eVar8 != ELF_CLASS_32;\n            input_elf_class = ELF_CLASS_32;\n            goto LAB_00012050;\n          }\n          if (elf_header.e_machine < 7) {\n            if (elf_header.e_machine == 3) goto LAB_00012338;\n          }\n          else if ((ushort)(elf_header.e_machine - 0xb4) < 2) {\n            bVar9 = eVar8 != ELF_CLASS_64;\n            input_elf_class = ELF_CLASS_64;\n            goto LAB_00012050;\n          }\n          input_elf_class = ELF_CLASS_BOTH;\nLAB_00012058:\n          if ((output_elf_class == ELF_CLASS_BOTH) || (eVar8 == output_elf_class)) {\n            if ((input_elf_machine != -1) && (eVar7 != input_elf_machine)) {\n              eVar8 = eVar7;\n              pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7);\n              goto LAB_0001223f;\n            }\n            eVar8 = (elfclass)elf_header.e_type;\n            if ((input_elf_type == -1) || (eVar8 == input_elf_type)) {\n              eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;\n              if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }\n              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n              eVar11 = input_elf_osabi;\n            }\n            else {\n              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";\n              eVar11 = input_elf_type;\n            }\n          }\n          else {\n            pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n            eVar11 = output_elf_class;\n          }\n        }" { (if_statement "if (elf_header.e_machine == 6) {\nLAB_00012338:\n            bVar9 = eVar8 != ELF_CLASS_32;\n            input_elf_class = ELF_CLASS_32;\n            goto LAB_00012050;\n          }" if (parenthesized_expression "(elf_header.e_machine == 6)" ( (binary_expression "elf_header.e_machine == 6" (field_expression "elf_header.e_machine" identifier . field_identifier) == number_literal) )) (compound_statement "{\nLAB_00012338:\n            bVar9 = eVar8 != ELF_CLASS_32;\n            input_elf_class = ELF_CLASS_32;\n            goto LAB_00012050;\n          }" { (labeled_statement "LAB_00012338:\n            bVar9 = eVar8 != ELF_CLASS_32;" statement_identifier : (expression_statement "bVar9 = eVar8 != ELF_CLASS_32;" (assignment_expression "bVar9 = eVar8 != ELF_CLASS_32" identifier = (binary_expression "eVar8 != ELF_CLASS_32" identifier != identifier)) ;)) (expression_statement "input_elf_class = ELF_CLASS_32;" (assignment_expression "input_elf_class = ELF_CLASS_32" identifier = identifier) ;) (goto_statement "goto LAB_00012050;" goto statement_identifier ;) })) (if_statement "if (elf_header.e_machine < 7) {\n            if (elf_header.e_machine == 3) goto LAB_00012338;\n          }\n          else if ((ushort)(elf_header.e_machine - 0xb4) < 2) {\n            bVar9 = eVar8 != ELF_CLASS_64;\n            input_elf_class = ELF_CLASS_64;\n            goto LAB_00012050;\n          }" if (parenthesized_expression "(elf_header.e_machine < 7)" ( (binary_expression "elf_header.e_machine < 7" (field_expression "elf_header.e_machine" identifier . field_identifier) < number_literal) )) (compound_statement "{\n            if (elf_header.e_machine == 3) goto LAB_00012338;\n          }" { (if_statement "if (elf_header.e_machine == 3) goto LAB_00012338;" if (parenthesized_expression "(elf_header.e_machine == 3)" ( (binary_expression "elf_header.e_machine == 3" (field_expression "elf_header.e_machine" identifier . field_identifier) == number_literal) )) (goto_statement "goto LAB_00012338;" goto statement_identifier ;)) }) (else_clause "else if ((ushort)(elf_header.e_machine - 0xb4) < 2) {\n            bVar9 = eVar8 != ELF_CLASS_64;\n            input_elf_class = ELF_CLASS_64;\n            goto LAB_00012050;\n          }" else (if_statement "if ((ushort)(elf_header.e_machine - 0xb4) < 2) {\n            bVar9 = eVar8 != ELF_CLASS_64;\n            input_elf_class = ELF_CLASS_64;\n            goto LAB_00012050;\n          }" if (parenthesized_expression "((ushort)(elf_header.e_machine - 0xb4) < 2)" ( (binary_expression "(ushort)(elf_header.e_machine - 0xb4) < 2" (call_expression "(ushort)(elf_header.e_machine - 0xb4)" (parenthesized_expression "(ushort)" ( identifier )) (argument_list "(elf_header.e_machine - 0xb4)" ( (binary_expression "elf_header.e_machine - 0xb4" (field_expression "elf_header.e_machine" identifier . field_identifier) - number_literal) ))) < number_literal) )) (compound_statement "{\n            bVar9 = eVar8 != ELF_CLASS_64;\n            input_elf_class = ELF_CLASS_64;\n            goto LAB_00012050;\n          }" { (expression_statement "bVar9 = eVar8 != ELF_CLASS_64;" (assignment_expression "bVar9 = eVar8 != ELF_CLASS_64" identifier = (binary_expression "eVar8 != ELF_CLASS_64" identifier != identifier)) ;) (expression_statement "input_elf_class = ELF_CLASS_64;" (assignment_expression "input_elf_class = ELF_CLASS_64" identifier = identifier) ;) (goto_statement "goto LAB_00012050;" goto statement_identifier ;) })))) (expression_statement "input_elf_class = ELF_CLASS_BOTH;" (assignment_expression "input_elf_class = ELF_CLASS_BOTH" identifier = identifier) ;) (labeled_statement "LAB_00012058:\n          if ((output_elf_class == ELF_CLASS_BOTH) || (eVar8 == output_elf_class)) {\n            if ((input_elf_machine != -1) && (eVar7 != input_elf_machine)) {\n              eVar8 = eVar7;\n              pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7);\n              goto LAB_0001223f;\n            }\n            eVar8 = (elfclass)elf_header.e_type;\n            if ((input_elf_type == -1) || (eVar8 == input_elf_type)) {\n              eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;\n              if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }\n              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n              eVar11 = input_elf_osabi;\n            }\n            else {\n              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";\n              eVar11 = input_elf_type;\n            }\n          }\n          else {\n            pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n            eVar11 = output_elf_class;\n          }" statement_identifier : (if_statement "if ((output_elf_class == ELF_CLASS_BOTH) || (eVar8 == output_elf_class)) {\n            if ((input_elf_machine != -1) && (eVar7 != input_elf_machine)) {\n              eVar8 = eVar7;\n              pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7);\n              goto LAB_0001223f;\n            }\n            eVar8 = (elfclass)elf_header.e_type;\n            if ((input_elf_type == -1) || (eVar8 == input_elf_type)) {\n              eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;\n              if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }\n              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n              eVar11 = input_elf_osabi;\n            }\n            else {\n              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";\n              eVar11 = input_elf_type;\n            }\n          }\n          else {\n            pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n            eVar11 = output_elf_class;\n          }" if (parenthesized_expression "((output_elf_class == ELF_CLASS_BOTH) || (eVar8 == output_elf_class))" ( (binary_expression "(output_elf_class == ELF_CLASS_BOTH) || (eVar8 == output_elf_class)" (parenthesized_expression "(output_elf_class == ELF_CLASS_BOTH)" ( (binary_expression "output_elf_class == ELF_CLASS_BOTH" identifier == identifier) )) || (parenthesized_expression "(eVar8 == output_elf_class)" ( (binary_expression "eVar8 == output_elf_class" identifier == identifier) ))) )) (compound_statement "{\n            if ((input_elf_machine != -1) && (eVar7 != input_elf_machine)) {\n              eVar8 = eVar7;\n              pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7);\n              goto LAB_0001223f;\n            }\n            eVar8 = (elfclass)elf_header.e_type;\n            if ((input_elf_type == -1) || (eVar8 == input_elf_type)) {\n              eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;\n              if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }\n              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n              eVar11 = input_elf_osabi;\n            }\n            else {\n              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";\n              eVar11 = input_elf_type;\n            }\n          }" { (if_statement "if ((input_elf_machine != -1) && (eVar7 != input_elf_machine)) {\n              eVar8 = eVar7;\n              pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7);\n              goto LAB_0001223f;\n            }" if (parenthesized_expression "((input_elf_machine != -1) && (eVar7 != input_elf_machine))" ( (binary_expression "(input_elf_machine != -1) && (eVar7 != input_elf_machine)" (parenthesized_expression "(input_elf_machine != -1)" ( (binary_expression "input_elf_machine != -1" identifier != number_literal) )) && (parenthesized_expression "(eVar7 != input_elf_machine)" ( (binary_expression "eVar7 != input_elf_machine" identifier != identifier) ))) )) (compound_statement "{\n              eVar8 = eVar7;\n              pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7);\n              goto LAB_0001223f;\n            }" { (expression_statement "eVar8 = eVar7;" (assignment_expression "eVar8 = eVar7" identifier = identifier) ;) (expression_statement "pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7)" identifier = (cast_expression "(char *)dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7)" identifier (argument_list "(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,\n                                         file_name,eVar7)" ( number_literal , (string_literal ""%s: Unmatched e_machine: %d is not %d\n"" " string_content escape_sequence ") , number_literal , identifier , identifier , identifier ))))) ;) (goto_statement "goto LAB_0001223f;" goto statement_identifier ;) })) (expression_statement "eVar8 = (elfclass)elf_header.e_type;" (assignment_expression "eVar8 = (elfclass)elf_header.e_type" identifier = (cast_expression "(elfclass)elf_header.e_type" ( (type_descriptor "elfclass" type_identifier) ) (field_expression "elf_header.e_type" identifier . field_identifier))) ;) (if_statement "if ((input_elf_type == -1) || (eVar8 == input_elf_type)) {\n              eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;\n              if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }\n              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n              eVar11 = input_elf_osabi;\n            }\n            else {\n              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";\n              eVar11 = input_elf_type;\n            }" if (parenthesized_expression "((input_elf_type == -1) || (eVar8 == input_elf_type))" ( (binary_expression "(input_elf_type == -1) || (eVar8 == input_elf_type)" (parenthesized_expression "(input_elf_type == -1)" ( (binary_expression "input_elf_type == -1" identifier == number_literal) )) || (parenthesized_expression "(eVar8 == input_elf_type)" ( (binary_expression "eVar8 == input_elf_type" identifier == identifier) ))) )) (compound_statement "{\n              eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;\n              if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }\n              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n              eVar11 = input_elf_osabi;\n            }" { (expression_statement "eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18;" (assignment_expression "eVar8 = (uint)elf_header.e_ident._4_4_ >> 0x18" identifier = (binary_expression "(uint)elf_header.e_ident._4_4_ >> 0x18" (cast_expression "(uint)elf_header.e_ident._4_4_" ( (type_descriptor "uint" type_identifier) ) (field_expression "elf_header.e_ident._4_4_" (field_expression "elf_header.e_ident" identifier . field_identifier) . field_identifier)) >> number_literal)) ;) (if_statement "if ((input_elf_osabi == -1) || (eVar8 == input_elf_osabi)) {\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }" if (parenthesized_expression "((input_elf_osabi == -1) || (eVar8 == input_elf_osabi))" ( (binary_expression "(input_elf_osabi == -1) || (eVar8 == input_elf_osabi)" (parenthesized_expression "(input_elf_osabi == -1)" ( (binary_expression "input_elf_osabi == -1" identifier == number_literal) )) || (parenthesized_expression "(eVar8 == input_elf_osabi)" ( (binary_expression "eVar8 == input_elf_osabi" identifier == identifier) ))) )) (compound_statement "{\n                if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }\n                sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);\n                bVar1 = elf_header.e_entry;\n                bVar2 = elf_header.e_shoff;\n                if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }\n                goto LAB_00012260;\n              }" { (if_statement "if (elf_header.e_ident[4] == '\x01') {\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }\n                else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }" if (parenthesized_expression "(elf_header.e_ident[4] == '\x01')" ( (binary_expression "elf_header.e_ident[4] == '\x01'" (subscript_expression "elf_header.e_ident[4]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  __ptr = &ehdr32;\n                  sVar3 = 0x34;\n                }" { (if_statement "if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }" if (parenthesized_expression "(output_elf_machine != -1)" ( (binary_expression "output_elf_machine != -1" identifier != number_literal) )) (compound_statement "{\n                    (*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);\n                  }" { (expression_statement "(*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2);" (call_expression "(*byte_put)(ehdr32.e_machine,(longlong)output_elf_machine,2)" (parenthesized_expression "(*byte_put)" ( (pointer_expression "*byte_put" * identifier) )) (argument_list "(ehdr32.e_machine,(longlong)output_elf_machine,2)" ( (field_expression "ehdr32.e_machine" identifier . field_identifier) , (cast_expression "(longlong)output_elf_machine" ( (type_descriptor "longlong" type_identifier) ) identifier) , number_literal ))) ;) })) (if_statement "if (output_elf_type != -1) {\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }" if (parenthesized_expression "(output_elf_type != -1)" ( (binary_expression "output_elf_type != -1" identifier != number_literal) )) (compound_statement "{\n                    (*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);\n                  }" { (expression_statement "(*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2);" (call_expression "(*byte_put)(ehdr32.e_type,(longlong)output_elf_type,2)" (parenthesized_expression "(*byte_put)" ( (pointer_expression "*byte_put" * identifier) )) (argument_list "(ehdr32.e_type,(longlong)output_elf_type,2)" ( (field_expression "ehdr32.e_type" identifier . field_identifier) , (cast_expression "(longlong)output_elf_type" ( (type_descriptor "longlong" type_identifier) ) identifier) , number_literal ))) ;) })) (if_statement "if (output_elf_osabi != -1) {\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }" if (parenthesized_expression "(output_elf_osabi != -1)" ( (binary_expression "output_elf_osabi != -1" identifier != number_literal) )) (compound_statement "{\n                    ehdr32.e_ident[7] = (uchar)output_elf_osabi;\n                  }" { (expression_statement "ehdr32.e_ident[7] = (uchar)output_elf_osabi;" (assignment_expression "ehdr32.e_ident[7] = (uchar)output_elf_osabi" (subscript_expression "ehdr32.e_ident[7]" (field_expression "ehdr32.e_ident" identifier . field_identifier) [ number_literal ]) = (cast_expression "(uchar)output_elf_osabi" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) })) (expression_statement "__ptr = &ehdr32;" (assignment_expression "__ptr = &ehdr32" identifier = (pointer_expression "&ehdr32" & identifier)) ;) (expression_statement "sVar3 = 0x34;" (assignment_expression "sVar3 = 0x34" identifier = number_literal) ;) }) (else_clause "else {\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }" else (compound_statement "{\n                  if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }\n                  if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }\n                  if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }\n                  if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }\n                  sVar3 = 0x40;\n                  __ptr = (Elf32_External_Ehdr *)&ehdr64;\n                }" { (if_statement "if (elf_header.e_ident[4] != '\x02') {\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }" if (parenthesized_expression "(elf_header.e_ident[4] != '\x02')" ( (binary_expression "elf_header.e_ident[4] != '\x02'" (subscript_expression "elf_header.e_ident[4]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ]) != (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    abort();\n                  }" { comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (output_elf_machine != -1) {\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }" if (parenthesized_expression "(output_elf_machine != -1)" ( (binary_expression "output_elf_machine != -1" identifier != number_literal) )) (compound_statement "{\n                    (*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);\n                  }" { (expression_statement "(*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2);" (call_expression "(*byte_put)(ehdr64.e_machine,(longlong)output_elf_machine,2)" (parenthesized_expression "(*byte_put)" ( (pointer_expression "*byte_put" * identifier) )) (argument_list "(ehdr64.e_machine,(longlong)output_elf_machine,2)" ( (field_expression "ehdr64.e_machine" identifier . field_identifier) , (cast_expression "(longlong)output_elf_machine" ( (type_descriptor "longlong" type_identifier) ) identifier) , number_literal ))) ;) })) (if_statement "if (output_elf_type != -1) {\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }" if (parenthesized_expression "(output_elf_type != -1)" ( (binary_expression "output_elf_type != -1" identifier != number_literal) )) (compound_statement "{\n                    (*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);\n                  }" { (expression_statement "(*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2);" (call_expression "(*byte_put)(ehdr64.e_type,(longlong)output_elf_type,2)" (parenthesized_expression "(*byte_put)" ( (pointer_expression "*byte_put" * identifier) )) (argument_list "(ehdr64.e_type,(longlong)output_elf_type,2)" ( (field_expression "ehdr64.e_type" identifier . field_identifier) , (cast_expression "(longlong)output_elf_type" ( (type_descriptor "longlong" type_identifier) ) identifier) , number_literal ))) ;) })) (if_statement "if (output_elf_osabi != -1) {\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }" if (parenthesized_expression "(output_elf_osabi != -1)" ( (binary_expression "output_elf_osabi != -1" identifier != number_literal) )) (compound_statement "{\n                    ehdr64.e_ident[7] = (uchar)output_elf_osabi;\n                  }" { (expression_statement "ehdr64.e_ident[7] = (uchar)output_elf_osabi;" (assignment_expression "ehdr64.e_ident[7] = (uchar)output_elf_osabi" (subscript_expression "ehdr64.e_ident[7]" (field_expression "ehdr64.e_ident" identifier . field_identifier) [ number_literal ]) = (cast_expression "(uchar)output_elf_osabi" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) })) (expression_statement "sVar3 = 0x40;" (assignment_expression "sVar3 = 0x40" identifier = number_literal) ;) (expression_statement "__ptr = (Elf32_External_Ehdr *)&ehdr64;" (assignment_expression "__ptr = (Elf32_External_Ehdr *)&ehdr64" identifier = (cast_expression "(Elf32_External_Ehdr *)&ehdr64" ( (type_descriptor "Elf32_External_Ehdr *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&ehdr64" & identifier))) ;) }))) (expression_statement "sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file);" (assignment_expression "sVar3 = fwrite(__ptr,sVar3,1,(FILE *)file)" identifier = (call_expression "fwrite(__ptr,sVar3,1,(FILE *)file)" identifier (argument_list "(__ptr,sVar3,1,(FILE *)file)" ( identifier , identifier , number_literal , (cast_expression "(FILE *)file" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "bVar1 = elf_header.e_entry;" (assignment_expression "bVar1 = elf_header.e_entry" identifier = (field_expression "elf_header.e_entry" identifier . field_identifier)) ;) (expression_statement "bVar2 = elf_header.e_shoff;" (assignment_expression "bVar2 = elf_header.e_shoff" identifier = (field_expression "elf_header.e_shoff" identifier . field_identifier)) ;) (if_statement "if (sVar3 != 1) {\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }" if (parenthesized_expression "(sVar3 != 1)" ( (binary_expression "sVar3 != 1" identifier != number_literal) )) (compound_statement "{\n                  piVar6 = __errno_location();\n                  pcVar12 = strerror(*piVar6);\n                  pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n                  goto LAB_00011c4e;\n                }" { (expression_statement "piVar6 = __errno_location();" (assignment_expression "piVar6 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar12 = strerror(*piVar6);" (assignment_expression "pcVar12 = strerror(*piVar6)" identifier = (call_expression "strerror(*piVar6)" identifier (argument_list "(*piVar6)" ( (pointer_expression "*piVar6" * identifier) )))) ;) (expression_statement "pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%s: Failed to update ELF header: %s\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%s: Failed to update ELF header: %s\n",5)" identifier (argument_list "(0,"%s: Failed to update ELF header: %s\n",5)" ( number_literal , (string_literal ""%s: Failed to update ELF header: %s\n"" " string_content escape_sequence ") , number_literal ))))) ;) (goto_statement "goto LAB_00011c4e;" goto statement_identifier ;) })) (goto_statement "goto LAB_00012260;" goto statement_identifier ;) })) (expression_statement "pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";" (assignment_expression "pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n"" identifier = (string_literal ""%s: Unmatched EI_OSABI: %d is not %d\n"" " string_content escape_sequence ")) ;) (expression_statement "eVar11 = input_elf_osabi;" (assignment_expression "eVar11 = input_elf_osabi" identifier = identifier) ;) }) (else_clause "else {\n              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";\n              eVar11 = input_elf_type;\n            }" else (compound_statement "{\n              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";\n              eVar11 = input_elf_type;\n            }" { (expression_statement "pcVar4 = "%s: Unmatched e_type: %d is not %d\n";" (assignment_expression "pcVar4 = "%s: Unmatched e_type: %d is not %d\n"" identifier = (string_literal ""%s: Unmatched e_type: %d is not %d\n"" " string_content escape_sequence ")) ;) (expression_statement "eVar11 = input_elf_type;" (assignment_expression "eVar11 = input_elf_type" identifier = identifier) ;) }))) }) (else_clause "else {\n            pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n            eVar11 = output_elf_class;\n          }" else (compound_statement "{\n            pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n            eVar11 = output_elf_class;\n          }" { (expression_statement "pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";" (assignment_expression "pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n"" identifier = (string_literal ""%s: Unmatched output EI_CLASS: %d is not %d\n"" " string_content escape_sequence ")) ;) (expression_statement "eVar11 = output_elf_class;" (assignment_expression "eVar11 = output_elf_class" identifier = identifier) ;) })))) }) (else_clause "else {\n          bVar9 = input_elf_class != ELF_CLASS_BOTH && eVar8 != input_elf_class;\nLAB_00012050:\n          if (!bVar9) goto LAB_00012058;\n          pcVar4 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n          eVar11 = input_elf_class;\n        }" else (compound_statement "{\n          bVar9 = input_elf_class != ELF_CLASS_BOTH && eVar8 != input_elf_class;\nLAB_00012050:\n          if (!bVar9) goto LAB_00012058;\n          pcVar4 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n          eVar11 = input_elf_class;\n        }" { (expression_statement "bVar9 = input_elf_class != ELF_CLASS_BOTH && eVar8 != input_elf_class;" (assignment_expression "bVar9 = input_elf_class != ELF_CLASS_BOTH && eVar8 != input_elf_class" identifier = (binary_expression "input_elf_class != ELF_CLASS_BOTH && eVar8 != input_elf_class" (binary_expression "input_elf_class != ELF_CLASS_BOTH" identifier != identifier) && (binary_expression "eVar8 != input_elf_class" identifier != identifier))) ;) (labeled_statement "LAB_00012050:\n          if (!bVar9) goto LAB_00012058;" statement_identifier : (if_statement "if (!bVar9) goto LAB_00012058;" if (parenthesized_expression "(!bVar9)" ( (unary_expression "!bVar9" ! identifier) )) (goto_statement "goto LAB_00012058;" goto statement_identifier ;))) (expression_statement "pcVar4 = "%s: Unmatched input EI_CLASS: %d is not %d\n";" (assignment_expression "pcVar4 = "%s: Unmatched input EI_CLASS: %d is not %d\n"" identifier = (string_literal ""%s: Unmatched input EI_CLASS: %d is not %d\n"" " string_content escape_sequence ")) ;) (expression_statement "eVar11 = input_elf_class;" (assignment_expression "eVar11 = input_elf_class" identifier = identifier) ;) }))) (expression_statement "pcVar4 = (char *)dcgettext(0,pcVar4,5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,pcVar4,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar4,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar4,5)" identifier (argument_list "(0,pcVar4,5)" ( number_literal , identifier , number_literal ))))) ;) (labeled_statement "LAB_0001223f:\n        error(pcVar4,file_name,eVar8,eVar11);" statement_identifier : (expression_statement "error(pcVar4,file_name,eVar8,eVar11);" (call_expression "error(pcVar4,file_name,eVar8,eVar11)" identifier (argument_list "(pcVar4,file_name,eVar8,eVar11)" ( identifier , identifier , identifier , identifier ))) ;)) (return_statement "return 1;" return number_literal ;) })) (labeled_statement "LAB_00012260:\n      iVar5 = 0;" statement_identifier : (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;)) (goto_statement "goto LAB_00011c60;" goto statement_identifier ;) })) (expression_statement "pcVar12 = (char *)0x5;" (assignment_expression "pcVar12 = (char *)0x5" identifier = (cast_expression "(char *)0x5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar4 = (char *)dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5)" identifier (argument_list "(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5)" ( number_literal , (string_literal ""%s: Not an ELF file - wrong magic bytes at the start\n"" " string_content escape_sequence ") , number_literal ))))) ;) }) (else_clause "else {\n    byte_get = byte_get_little_endian;\n    byte_put = byte_put_little_endian;\n    if (elf_header.e_ident[4] == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar14 = elf_header.e_ident._4_4_ & 0xff;\n    if (elf_header.e_ident[4] == '\x02') {\n      puVar15 = ehdr64.e_type;\n      sVar3 = fread(ehdr64.e_type,0x30,1,(FILE *)file);\n      if (sVar3 != 1) goto LAB_00011c39;\n      eVar10 = (*byte_get)(puVar15,2);\n      elf_header.e_type = (ushort)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_machine,2);\n      elf_header.e_machine = (ushort)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_version,4);\n      elf_header.e_version = (ulong)eVar10;\n      elf_header.e_entry = (*byte_get)(ehdr64.e_entry,8);\n      elf_header.e_phoff = (*byte_get)(ehdr64.e_phoff,8);\n      elf_header.e_shoff = (*byte_get)(ehdr64.e_shoff,8);\n      eVar10 = (*byte_get)(ehdr64.e_flags,4);\n      elf_header.e_flags = (ulong)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_ehsize,2);\n      elf_header.e_ehsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_phentsize,2);\n      elf_header.e_phentsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_phnum,2);\n      elf_header.e_phnum = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shentsize,2);\n      elf_header.e_shentsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shnum,2);\n      elf_header.e_shnum = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shstrndx,2);\n      elf_header.e_shstrndx = (uint)eVar10;\n      ehdr64.e_ident[0] = elf_header.e_ident[0];\n      ehdr64.e_ident[1] = elf_header.e_ident[1];\n      ehdr64.e_ident[2] = elf_header.e_ident[2];\n      ehdr64.e_ident[3] = elf_header.e_ident[3];\n      ehdr64.e_ident[4] = elf_header.e_ident[4];\n      ehdr64.e_ident[5] = elf_header.e_ident[5];\n      ehdr64.e_ident[6] = elf_header.e_ident[6];\n      ehdr64.e_ident[7] = elf_header.e_ident[7];\n      ehdr64.e_ident[8] = elf_header.e_ident[8];\n      ehdr64.e_ident[9] = elf_header.e_ident[9];\n      ehdr64.e_ident[10] = elf_header.e_ident[10];\n      ehdr64.e_ident[0xb] = elf_header.e_ident[0xb];\n      ehdr64.e_ident[0xc] = elf_header.e_ident[0xc];\n      ehdr64.e_ident[0xd] = elf_header.e_ident[0xd];\n      ehdr64.e_ident[0xe] = elf_header.e_ident[0xe];\n      ehdr64.e_ident[0xf] = elf_header.e_ident[0xf];\n      goto LAB_00011fce;\n    }\n    pcVar4 = (char *)dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n    error(pcVar4,uVar14 & 0xff);\nLAB_00011c39:\n    pcVar12 = (char *)0x5;\n    pcVar4 = (char *)dcgettext(0,"%s: Failed to read ELF header\n",5);\n  }" else (compound_statement "{\n    byte_get = byte_get_little_endian;\n    byte_put = byte_put_little_endian;\n    if (elf_header.e_ident[4] == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar14 = elf_header.e_ident._4_4_ & 0xff;\n    if (elf_header.e_ident[4] == '\x02') {\n      puVar15 = ehdr64.e_type;\n      sVar3 = fread(ehdr64.e_type,0x30,1,(FILE *)file);\n      if (sVar3 != 1) goto LAB_00011c39;\n      eVar10 = (*byte_get)(puVar15,2);\n      elf_header.e_type = (ushort)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_machine,2);\n      elf_header.e_machine = (ushort)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_version,4);\n      elf_header.e_version = (ulong)eVar10;\n      elf_header.e_entry = (*byte_get)(ehdr64.e_entry,8);\n      elf_header.e_phoff = (*byte_get)(ehdr64.e_phoff,8);\n      elf_header.e_shoff = (*byte_get)(ehdr64.e_shoff,8);\n      eVar10 = (*byte_get)(ehdr64.e_flags,4);\n      elf_header.e_flags = (ulong)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_ehsize,2);\n      elf_header.e_ehsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_phentsize,2);\n      elf_header.e_phentsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_phnum,2);\n      elf_header.e_phnum = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shentsize,2);\n      elf_header.e_shentsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shnum,2);\n      elf_header.e_shnum = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shstrndx,2);\n      elf_header.e_shstrndx = (uint)eVar10;\n      ehdr64.e_ident[0] = elf_header.e_ident[0];\n      ehdr64.e_ident[1] = elf_header.e_ident[1];\n      ehdr64.e_ident[2] = elf_header.e_ident[2];\n      ehdr64.e_ident[3] = elf_header.e_ident[3];\n      ehdr64.e_ident[4] = elf_header.e_ident[4];\n      ehdr64.e_ident[5] = elf_header.e_ident[5];\n      ehdr64.e_ident[6] = elf_header.e_ident[6];\n      ehdr64.e_ident[7] = elf_header.e_ident[7];\n      ehdr64.e_ident[8] = elf_header.e_ident[8];\n      ehdr64.e_ident[9] = elf_header.e_ident[9];\n      ehdr64.e_ident[10] = elf_header.e_ident[10];\n      ehdr64.e_ident[0xb] = elf_header.e_ident[0xb];\n      ehdr64.e_ident[0xc] = elf_header.e_ident[0xc];\n      ehdr64.e_ident[0xd] = elf_header.e_ident[0xd];\n      ehdr64.e_ident[0xe] = elf_header.e_ident[0xe];\n      ehdr64.e_ident[0xf] = elf_header.e_ident[0xf];\n      goto LAB_00011fce;\n    }\n    pcVar4 = (char *)dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n    error(pcVar4,uVar14 & 0xff);\nLAB_00011c39:\n    pcVar12 = (char *)0x5;\n    pcVar4 = (char *)dcgettext(0,"%s: Failed to read ELF header\n",5);\n  }" { (expression_statement "byte_get = byte_get_little_endian;" (assignment_expression "byte_get = byte_get_little_endian" identifier = identifier) ;) (expression_statement "byte_put = byte_put_little_endian;" (assignment_expression "byte_put = byte_put_little_endian" identifier = identifier) ;) (if_statement "if (elf_header.e_ident[4] == '\x01') goto LAB_00011d08;" if (parenthesized_expression "(elf_header.e_ident[4] == '\x01')" ( (binary_expression "elf_header.e_ident[4] == '\x01'" (subscript_expression "elf_header.e_ident[4]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) )) (goto_statement "goto LAB_00011d08;" goto statement_identifier ;)) (labeled_statement "LAB_00011ca7:\n    uVar14 = elf_header.e_ident._4_4_ & 0xff;" statement_identifier : (expression_statement "uVar14 = elf_header.e_ident._4_4_ & 0xff;" (assignment_expression "uVar14 = elf_header.e_ident._4_4_ & 0xff" identifier = (binary_expression "elf_header.e_ident._4_4_ & 0xff" (field_expression "elf_header.e_ident._4_4_" (field_expression "elf_header.e_ident" identifier . field_identifier) . field_identifier) & number_literal)) ;)) (if_statement "if (elf_header.e_ident[4] == '\x02') {\n      puVar15 = ehdr64.e_type;\n      sVar3 = fread(ehdr64.e_type,0x30,1,(FILE *)file);\n      if (sVar3 != 1) goto LAB_00011c39;\n      eVar10 = (*byte_get)(puVar15,2);\n      elf_header.e_type = (ushort)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_machine,2);\n      elf_header.e_machine = (ushort)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_version,4);\n      elf_header.e_version = (ulong)eVar10;\n      elf_header.e_entry = (*byte_get)(ehdr64.e_entry,8);\n      elf_header.e_phoff = (*byte_get)(ehdr64.e_phoff,8);\n      elf_header.e_shoff = (*byte_get)(ehdr64.e_shoff,8);\n      eVar10 = (*byte_get)(ehdr64.e_flags,4);\n      elf_header.e_flags = (ulong)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_ehsize,2);\n      elf_header.e_ehsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_phentsize,2);\n      elf_header.e_phentsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_phnum,2);\n      elf_header.e_phnum = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shentsize,2);\n      elf_header.e_shentsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shnum,2);\n      elf_header.e_shnum = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shstrndx,2);\n      elf_header.e_shstrndx = (uint)eVar10;\n      ehdr64.e_ident[0] = elf_header.e_ident[0];\n      ehdr64.e_ident[1] = elf_header.e_ident[1];\n      ehdr64.e_ident[2] = elf_header.e_ident[2];\n      ehdr64.e_ident[3] = elf_header.e_ident[3];\n      ehdr64.e_ident[4] = elf_header.e_ident[4];\n      ehdr64.e_ident[5] = elf_header.e_ident[5];\n      ehdr64.e_ident[6] = elf_header.e_ident[6];\n      ehdr64.e_ident[7] = elf_header.e_ident[7];\n      ehdr64.e_ident[8] = elf_header.e_ident[8];\n      ehdr64.e_ident[9] = elf_header.e_ident[9];\n      ehdr64.e_ident[10] = elf_header.e_ident[10];\n      ehdr64.e_ident[0xb] = elf_header.e_ident[0xb];\n      ehdr64.e_ident[0xc] = elf_header.e_ident[0xc];\n      ehdr64.e_ident[0xd] = elf_header.e_ident[0xd];\n      ehdr64.e_ident[0xe] = elf_header.e_ident[0xe];\n      ehdr64.e_ident[0xf] = elf_header.e_ident[0xf];\n      goto LAB_00011fce;\n    }" if (parenthesized_expression "(elf_header.e_ident[4] == '\x02')" ( (binary_expression "elf_header.e_ident[4] == '\x02'" (subscript_expression "elf_header.e_ident[4]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ]) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n      puVar15 = ehdr64.e_type;\n      sVar3 = fread(ehdr64.e_type,0x30,1,(FILE *)file);\n      if (sVar3 != 1) goto LAB_00011c39;\n      eVar10 = (*byte_get)(puVar15,2);\n      elf_header.e_type = (ushort)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_machine,2);\n      elf_header.e_machine = (ushort)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_version,4);\n      elf_header.e_version = (ulong)eVar10;\n      elf_header.e_entry = (*byte_get)(ehdr64.e_entry,8);\n      elf_header.e_phoff = (*byte_get)(ehdr64.e_phoff,8);\n      elf_header.e_shoff = (*byte_get)(ehdr64.e_shoff,8);\n      eVar10 = (*byte_get)(ehdr64.e_flags,4);\n      elf_header.e_flags = (ulong)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_ehsize,2);\n      elf_header.e_ehsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_phentsize,2);\n      elf_header.e_phentsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_phnum,2);\n      elf_header.e_phnum = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shentsize,2);\n      elf_header.e_shentsize = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shnum,2);\n      elf_header.e_shnum = (uint)eVar10;\n      eVar10 = (*byte_get)(ehdr64.e_shstrndx,2);\n      elf_header.e_shstrndx = (uint)eVar10;\n      ehdr64.e_ident[0] = elf_header.e_ident[0];\n      ehdr64.e_ident[1] = elf_header.e_ident[1];\n      ehdr64.e_ident[2] = elf_header.e_ident[2];\n      ehdr64.e_ident[3] = elf_header.e_ident[3];\n      ehdr64.e_ident[4] = elf_header.e_ident[4];\n      ehdr64.e_ident[5] = elf_header.e_ident[5];\n      ehdr64.e_ident[6] = elf_header.e_ident[6];\n      ehdr64.e_ident[7] = elf_header.e_ident[7];\n      ehdr64.e_ident[8] = elf_header.e_ident[8];\n      ehdr64.e_ident[9] = elf_header.e_ident[9];\n      ehdr64.e_ident[10] = elf_header.e_ident[10];\n      ehdr64.e_ident[0xb] = elf_header.e_ident[0xb];\n      ehdr64.e_ident[0xc] = elf_header.e_ident[0xc];\n      ehdr64.e_ident[0xd] = elf_header.e_ident[0xd];\n      ehdr64.e_ident[0xe] = elf_header.e_ident[0xe];\n      ehdr64.e_ident[0xf] = elf_header.e_ident[0xf];\n      goto LAB_00011fce;\n    }" { (expression_statement "puVar15 = ehdr64.e_type;" (assignment_expression "puVar15 = ehdr64.e_type" identifier = (field_expression "ehdr64.e_type" identifier . field_identifier)) ;) (expression_statement "sVar3 = fread(ehdr64.e_type,0x30,1,(FILE *)file);" (assignment_expression "sVar3 = fread(ehdr64.e_type,0x30,1,(FILE *)file)" identifier = (call_expression "fread(ehdr64.e_type,0x30,1,(FILE *)file)" identifier (argument_list "(ehdr64.e_type,0x30,1,(FILE *)file)" ( (field_expression "ehdr64.e_type" identifier . field_identifier) , number_literal , number_literal , (cast_expression "(FILE *)file" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (sVar3 != 1) goto LAB_00011c39;" if (parenthesized_expression "(sVar3 != 1)" ( (binary_expression "sVar3 != 1" identifier != number_literal) )) (goto_statement "goto LAB_00011c39;" goto statement_identifier ;)) (expression_statement "eVar10 = (*byte_get)(puVar15,2);" (assignment_expression "eVar10 = (*byte_get)(puVar15,2)" identifier = (call_expression "(*byte_get)(puVar15,2)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(puVar15,2)" ( identifier , number_literal )))) ;) (expression_statement "elf_header.e_type = (ushort)eVar10;" (assignment_expression "elf_header.e_type = (ushort)eVar10" (field_expression "elf_header.e_type" identifier . field_identifier) = (cast_expression "(ushort)eVar10" ( (type_descriptor "ushort" type_identifier) ) identifier)) ;) (expression_statement "eVar10 = (*byte_get)(ehdr64.e_machine,2);" (assignment_expression "eVar10 = (*byte_get)(ehdr64.e_machine,2)" identifier = (call_expression "(*byte_get)(ehdr64.e_machine,2)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr64.e_machine,2)" ( (field_expression "ehdr64.e_machine" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_machine = (ushort)eVar10;" (assignment_expression "elf_header.e_machine = (ushort)eVar10" (field_expression "elf_header.e_machine" identifier . field_identifier) = (cast_expression "(ushort)eVar10" ( (type_descriptor "ushort" type_identifier) ) identifier)) ;) (expression_statement "eVar10 = (*byte_get)(ehdr64.e_version,4);" (assignment_expression "eVar10 = (*byte_get)(ehdr64.e_version,4)" identifier = (call_expression "(*byte_get)(ehdr64.e_version,4)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr64.e_version,4)" ( (field_expression "ehdr64.e_version" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_version = (ulong)eVar10;" (assignment_expression "elf_header.e_version = (ulong)eVar10" (field_expression "elf_header.e_version" identifier . field_identifier) = (cast_expression "(ulong)eVar10" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "elf_header.e_entry = (*byte_get)(ehdr64.e_entry,8);" (assignment_expression "elf_header.e_entry = (*byte_get)(ehdr64.e_entry,8)" (field_expression "elf_header.e_entry" identifier . field_identifier) = (call_expression "(*byte_get)(ehdr64.e_entry,8)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr64.e_entry,8)" ( (field_expression "ehdr64.e_entry" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_phoff = (*byte_get)(ehdr64.e_phoff,8);" (assignment_expression "elf_header.e_phoff = (*byte_get)(ehdr64.e_phoff,8)" (field_expression "elf_header.e_phoff" identifier . field_identifier) = (call_expression "(*byte_get)(ehdr64.e_phoff,8)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr64.e_phoff,8)" ( (field_expression "ehdr64.e_phoff" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_shoff = (*byte_get)(ehdr64.e_shoff,8);" (assignment_expression "elf_header.e_shoff = (*byte_get)(ehdr64.e_shoff,8)" (field_expression "elf_header.e_shoff" identifier . field_identifier) = (call_expression "(*byte_get)(ehdr64.e_shoff,8)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr64.e_shoff,8)" ( (field_expression "ehdr64.e_shoff" identifier . field_identifier) , number_literal )))) ;) (expression_statement "eVar10 = (*byte_get)(ehdr64.e_flags,4);" (assignment_expression "eVar10 = (*byte_get)(ehdr64.e_flags,4)" identifier = (call_expression "(*byte_get)(ehdr64.e_flags,4)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr64.e_flags,4)" ( (field_expression "ehdr64.e_flags" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_flags = (ulong)eVar10;" (assignment_expression "elf_header.e_flags = (ulong)eVar10" (field_expression "elf_header.e_flags" identifier . field_identifier) = (cast_expression "(ulong)eVar10" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "eVar10 = (*byte_get)(ehdr64.e_ehsize,2);" (assignment_expression "eVar10 = (*byte_get)(ehdr64.e_ehsize,2)" identifier = (call_expression "(*byte_get)(ehdr64.e_ehsize,2)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr64.e_ehsize,2)" ( (field_expression "ehdr64.e_ehsize" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_ehsize = (uint)eVar10;" (assignment_expression "elf_header.e_ehsize = (uint)eVar10" (field_expression "elf_header.e_ehsize" identifier . field_identifier) = (cast_expression "(uint)eVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "eVar10 = (*byte_get)(ehdr64.e_phentsize,2);" (assignment_expression "eVar10 = (*byte_get)(ehdr64.e_phentsize,2)" identifier = (call_expression "(*byte_get)(ehdr64.e_phentsize,2)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr64.e_phentsize,2)" ( (field_expression "ehdr64.e_phentsize" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_phentsize = (uint)eVar10;" (assignment_expression "elf_header.e_phentsize = (uint)eVar10" (field_expression "elf_header.e_phentsize" identifier . field_identifier) = (cast_expression "(uint)eVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "eVar10 = (*byte_get)(ehdr64.e_phnum,2);" (assignment_expression "eVar10 = (*byte_get)(ehdr64.e_phnum,2)" identifier = (call_expression "(*byte_get)(ehdr64.e_phnum,2)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr64.e_phnum,2)" ( (field_expression "ehdr64.e_phnum" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_phnum = (uint)eVar10;" (assignment_expression "elf_header.e_phnum = (uint)eVar10" (field_expression "elf_header.e_phnum" identifier . field_identifier) = (cast_expression "(uint)eVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "eVar10 = (*byte_get)(ehdr64.e_shentsize,2);" (assignment_expression "eVar10 = (*byte_get)(ehdr64.e_shentsize,2)" identifier = (call_expression "(*byte_get)(ehdr64.e_shentsize,2)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr64.e_shentsize,2)" ( (field_expression "ehdr64.e_shentsize" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_shentsize = (uint)eVar10;" (assignment_expression "elf_header.e_shentsize = (uint)eVar10" (field_expression "elf_header.e_shentsize" identifier . field_identifier) = (cast_expression "(uint)eVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "eVar10 = (*byte_get)(ehdr64.e_shnum,2);" (assignment_expression "eVar10 = (*byte_get)(ehdr64.e_shnum,2)" identifier = (call_expression "(*byte_get)(ehdr64.e_shnum,2)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr64.e_shnum,2)" ( (field_expression "ehdr64.e_shnum" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_shnum = (uint)eVar10;" (assignment_expression "elf_header.e_shnum = (uint)eVar10" (field_expression "elf_header.e_shnum" identifier . field_identifier) = (cast_expression "(uint)eVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "eVar10 = (*byte_get)(ehdr64.e_shstrndx,2);" (assignment_expression "eVar10 = (*byte_get)(ehdr64.e_shstrndx,2)" identifier = (call_expression "(*byte_get)(ehdr64.e_shstrndx,2)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(ehdr64.e_shstrndx,2)" ( (field_expression "ehdr64.e_shstrndx" identifier . field_identifier) , number_literal )))) ;) (expression_statement "elf_header.e_shstrndx = (uint)eVar10;" (assignment_expression "elf_header.e_shstrndx = (uint)eVar10" (field_expression "elf_header.e_shstrndx" identifier . field_identifier) = (cast_expression "(uint)eVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "ehdr64.e_ident[0] = elf_header.e_ident[0];" (assignment_expression "ehdr64.e_ident[0] = elf_header.e_ident[0]" (subscript_expression "ehdr64.e_ident[0]" (field_expression "ehdr64.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[0]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr64.e_ident[1] = elf_header.e_ident[1];" (assignment_expression "ehdr64.e_ident[1] = elf_header.e_ident[1]" (subscript_expression "ehdr64.e_ident[1]" (field_expression "ehdr64.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[1]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr64.e_ident[2] = elf_header.e_ident[2];" (assignment_expression "ehdr64.e_ident[2] = elf_header.e_ident[2]" (subscript_expression "ehdr64.e_ident[2]" (field_expression "ehdr64.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[2]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr64.e_ident[3] = elf_header.e_ident[3];" (assignment_expression "ehdr64.e_ident[3] = elf_header.e_ident[3]" (subscript_expression "ehdr64.e_ident[3]" (field_expression "ehdr64.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[3]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr64.e_ident[4] = elf_header.e_ident[4];" (assignment_expression "ehdr64.e_ident[4] = elf_header.e_ident[4]" (subscript_expression "ehdr64.e_ident[4]" (field_expression "ehdr64.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[4]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr64.e_ident[5] = elf_header.e_ident[5];" (assignment_expression "ehdr64.e_ident[5] = elf_header.e_ident[5]" (subscript_expression "ehdr64.e_ident[5]" (field_expression "ehdr64.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[5]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr64.e_ident[6] = elf_header.e_ident[6];" (assignment_expression "ehdr64.e_ident[6] = elf_header.e_ident[6]" (subscript_expression "ehdr64.e_ident[6]" (field_expression "ehdr64.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[6]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr64.e_ident[7] = elf_header.e_ident[7];" (assignment_expression "ehdr64.e_ident[7] = elf_header.e_ident[7]" (subscript_expression "ehdr64.e_ident[7]" (field_expression "ehdr64.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[7]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr64.e_ident[8] = elf_header.e_ident[8];" (assignment_expression "ehdr64.e_ident[8] = elf_header.e_ident[8]" (subscript_expression "ehdr64.e_ident[8]" (field_expression "ehdr64.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[8]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr64.e_ident[9] = elf_header.e_ident[9];" (assignment_expression "ehdr64.e_ident[9] = elf_header.e_ident[9]" (subscript_expression "ehdr64.e_ident[9]" (field_expression "ehdr64.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[9]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr64.e_ident[10] = elf_header.e_ident[10];" (assignment_expression "ehdr64.e_ident[10] = elf_header.e_ident[10]" (subscript_expression "ehdr64.e_ident[10]" (field_expression "ehdr64.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[10]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr64.e_ident[0xb] = elf_header.e_ident[0xb];" (assignment_expression "ehdr64.e_ident[0xb] = elf_header.e_ident[0xb]" (subscript_expression "ehdr64.e_ident[0xb]" (field_expression "ehdr64.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[0xb]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr64.e_ident[0xc] = elf_header.e_ident[0xc];" (assignment_expression "ehdr64.e_ident[0xc] = elf_header.e_ident[0xc]" (subscript_expression "ehdr64.e_ident[0xc]" (field_expression "ehdr64.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[0xc]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr64.e_ident[0xd] = elf_header.e_ident[0xd];" (assignment_expression "ehdr64.e_ident[0xd] = elf_header.e_ident[0xd]" (subscript_expression "ehdr64.e_ident[0xd]" (field_expression "ehdr64.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[0xd]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr64.e_ident[0xe] = elf_header.e_ident[0xe];" (assignment_expression "ehdr64.e_ident[0xe] = elf_header.e_ident[0xe]" (subscript_expression "ehdr64.e_ident[0xe]" (field_expression "ehdr64.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[0xe]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (expression_statement "ehdr64.e_ident[0xf] = elf_header.e_ident[0xf];" (assignment_expression "ehdr64.e_ident[0xf] = elf_header.e_ident[0xf]" (subscript_expression "ehdr64.e_ident[0xf]" (field_expression "ehdr64.e_ident" identifier . field_identifier) [ number_literal ]) = (subscript_expression "elf_header.e_ident[0xf]" (field_expression "elf_header.e_ident" identifier . field_identifier) [ number_literal ])) ;) (goto_statement "goto LAB_00011fce;" goto statement_identifier ;) })) (expression_statement "pcVar4 = (char *)dcgettext(0,"Unsupported EI_CLASS: %d\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"Unsupported EI_CLASS: %d\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"Unsupported EI_CLASS: %d\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Unsupported EI_CLASS: %d\n",5)" identifier (argument_list "(0,"Unsupported EI_CLASS: %d\n",5)" ( number_literal , (string_literal ""Unsupported EI_CLASS: %d\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "error(pcVar4,uVar14 & 0xff);" (call_expression "error(pcVar4,uVar14 & 0xff)" identifier (argument_list "(pcVar4,uVar14 & 0xff)" ( identifier , (binary_expression "uVar14 & 0xff" identifier & number_literal) ))) ;) (labeled_statement "LAB_00011c39:\n    pcVar12 = (char *)0x5;" statement_identifier : (expression_statement "pcVar12 = (char *)0x5;" (assignment_expression "pcVar12 = (char *)0x5" identifier = (cast_expression "(char *)0x5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "pcVar4 = (char *)dcgettext(0,"%s: Failed to read ELF header\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"%s: Failed to read ELF header\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%s: Failed to read ELF header\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%s: Failed to read ELF header\n",5)" identifier (argument_list "(0,"%s: Failed to read ELF header\n",5)" ( number_literal , (string_literal ""%s: Failed to read ELF header\n"" " string_content escape_sequence ") , number_literal ))))) ;) }))) (labeled_statement "LAB_00011c4e:\n  error(pcVar4,file_name,pcVar12);" statement_identifier : (expression_statement "error(pcVar4,file_name,pcVar12);" (call_expression "error(pcVar4,file_name,pcVar12)" identifier (argument_list "(pcVar4,file_name,pcVar12)" ( identifier , identifier , identifier ))) ;)) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) (expression_statement "bVar1 = elf_header.e_entry;" (assignment_expression "bVar1 = elf_header.e_entry" identifier = (field_expression "elf_header.e_entry" identifier . field_identifier)) ;) (expression_statement "bVar2 = elf_header.e_shoff;" (assignment_expression "bVar2 = elf_header.e_shoff" identifier = (field_expression "elf_header.e_shoff" identifier . field_identifier)) ;) (labeled_statement "LAB_00011c60:\n  elf_header.e_shoff._4_4_ = (undefined4)(bVar2 >> 0x20);" statement_identifier : (expression_statement "elf_header.e_shoff._4_4_ = (undefined4)(bVar2 >> 0x20);" (assignment_expression "elf_header.e_shoff._4_4_ = (undefined4)(bVar2 >> 0x20)" (field_expression "elf_header.e_shoff._4_4_" (field_expression "elf_header.e_shoff" identifier . field_identifier) . field_identifier) = (call_expression "(undefined4)(bVar2 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "(bVar2 >> 0x20)" ( (binary_expression "bVar2 >> 0x20" identifier >> number_literal) )))) ;)) (expression_statement "elf_header.e_shoff._0_4_ = (undefined4)bVar2;" (assignment_expression "elf_header.e_shoff._0_4_ = (undefined4)bVar2" (field_expression "elf_header.e_shoff._0_4_" (field_expression "elf_header.e_shoff" identifier . field_identifier) . field_identifier) = (cast_expression "(undefined4)bVar2" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "elf_header.e_entry._4_4_ = (undefined4)(bVar1 >> 0x20);" (assignment_expression "elf_header.e_entry._4_4_ = (undefined4)(bVar1 >> 0x20)" (field_expression "elf_header.e_entry._4_4_" (field_expression "elf_header.e_entry" identifier . field_identifier) . field_identifier) = (call_expression "(undefined4)(bVar1 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "(bVar1 >> 0x20)" ( (binary_expression "bVar1 >> 0x20" identifier >> number_literal) )))) ;) (expression_statement "elf_header.e_entry._0_4_ = (undefined4)bVar1;" (assignment_expression "elf_header.e_entry._0_4_ = (undefined4)bVar1" (field_expression "elf_header.e_entry._0_4_" (field_expression "elf_header.e_entry" identifier . field_identifier) . field_identifier) = (cast_expression "(undefined4)bVar1" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (return_statement "return iVar5;" return identifier ;) })))
(translation_unit "undefined4 __regparm3 FUN_00011c00(undefined4 param_1,FILE *param_2)\n\n{\n  long __off;\n  size_t sVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *__ptr;\n  int *piVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  undefined8 uVar8;\n  uint uVar9;\n  char *pcVar10;\n  FILE *pFVar11;\n  undefined4 extraout_var;\n  undefined4 uVar12;\n  undefined *puVar13;\n  \n  __off = ftell(param_2);\n  uVar12 = extraout_var;\n  sVar1 = fread(&DAT_00019240,0x10,1,param_2);\n  if (sVar1 == 1) {\n    pFVar11 = param_2;\n    if (DAT_00019245 == '\x02') {\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }\n    DAT_00019294 = FUN_00012e50;\n    DAT_00019298 = FUN_00012d40;\n    if (DAT_00019244 == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar9 = _DAT_00019244 & 0xff;\n    if (DAT_00019244 == '\x02') {\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }\n  }\nLAB_00011c39:\n  pcVar10 = (char *)0x5;\n  uVar2 = dcgettext(0,"%s: Failed to read ELF header\n",5);\nLAB_00011c4e:\n  error(uVar2,uVar12,pcVar10);\n  return 1;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00011c00(undefined4 param_1,FILE *param_2)\n\n{\n  long __off;\n  size_t sVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *__ptr;\n  int *piVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  undefined8 uVar8;\n  uint uVar9;\n  char *pcVar10;\n  FILE *pFVar11;\n  undefined4 extraout_var;\n  undefined4 uVar12;\n  undefined *puVar13;\n  \n  __off = ftell(param_2);\n  uVar12 = extraout_var;\n  sVar1 = fread(&DAT_00019240,0x10,1,param_2);\n  if (sVar1 == 1) {\n    pFVar11 = param_2;\n    if (DAT_00019245 == '\x02') {\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }\n    DAT_00019294 = FUN_00012e50;\n    DAT_00019298 = FUN_00012d40;\n    if (DAT_00019244 == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar9 = _DAT_00019244 & 0xff;\n    if (DAT_00019244 == '\x02') {\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }\n  }\nLAB_00011c39:\n  pcVar10 = (char *)0x5;\n  uVar2 = dcgettext(0,"%s: Failed to read ELF header\n",5);\nLAB_00011c4e:\n  error(uVar2,uVar12,pcVar10);\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00011c00(undefined4 param_1,FILE *param_2)" identifier (parameter_list "(undefined4 param_1,FILE *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "FILE *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long __off;\n  size_t sVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *__ptr;\n  int *piVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  undefined8 uVar8;\n  uint uVar9;\n  char *pcVar10;\n  FILE *pFVar11;\n  undefined4 extraout_var;\n  undefined4 uVar12;\n  undefined *puVar13;\n  \n  __off = ftell(param_2);\n  uVar12 = extraout_var;\n  sVar1 = fread(&DAT_00019240,0x10,1,param_2);\n  if (sVar1 == 1) {\n    pFVar11 = param_2;\n    if (DAT_00019245 == '\x02') {\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }\n    DAT_00019294 = FUN_00012e50;\n    DAT_00019298 = FUN_00012d40;\n    if (DAT_00019244 == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar9 = _DAT_00019244 & 0xff;\n    if (DAT_00019244 == '\x02') {\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }\n  }\nLAB_00011c39:\n  pcVar10 = (char *)0x5;\n  uVar2 = dcgettext(0,"%s: Failed to read ELF header\n",5);\nLAB_00011c4e:\n  error(uVar2,uVar12,pcVar10);\n  return 1;\n}" { (declaration "long __off;" (sized_type_specifier "long" long) identifier ;) (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "FILE *pFVar11;" type_identifier (pointer_declarator "*pFVar11" * identifier) ;) (declaration "undefined4 extraout_var;" type_identifier identifier ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (expression_statement "__off = ftell(param_2);" (assignment_expression "__off = ftell(param_2)" identifier = (call_expression "ftell(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar12 = extraout_var;" (assignment_expression "uVar12 = extraout_var" identifier = identifier) ;) (expression_statement "sVar1 = fread(&DAT_00019240,0x10,1,param_2);" (assignment_expression "sVar1 = fread(&DAT_00019240,0x10,1,param_2)" identifier = (call_expression "fread(&DAT_00019240,0x10,1,param_2)" identifier (argument_list "(&DAT_00019240,0x10,1,param_2)" ( (pointer_expression "&DAT_00019240" & identifier) , number_literal , number_literal , identifier )))) ;) (if_statement "if (sVar1 == 1) {\n    pFVar11 = param_2;\n    if (DAT_00019245 == '\x02') {\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }\n    DAT_00019294 = FUN_00012e50;\n    DAT_00019298 = FUN_00012d40;\n    if (DAT_00019244 == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar9 = _DAT_00019244 & 0xff;\n    if (DAT_00019244 == '\x02') {\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }\n  }" if (parenthesized_expression "(sVar1 == 1)" ( (binary_expression "sVar1 == 1" identifier == number_literal) )) (compound_statement "{\n    pFVar11 = param_2;\n    if (DAT_00019245 == '\x02') {\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }\n    DAT_00019294 = FUN_00012e50;\n    DAT_00019298 = FUN_00012d40;\n    if (DAT_00019244 == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar9 = _DAT_00019244 & 0xff;\n    if (DAT_00019244 == '\x02') {\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }\n  }" { (expression_statement "pFVar11 = param_2;" (assignment_expression "pFVar11 = param_2" identifier = identifier) ;) (if_statement "if (DAT_00019245 == '\x02') {\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }" if (parenthesized_expression "(DAT_00019245 == '\x02')" ( (binary_expression "DAT_00019245 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }" { (expression_statement "DAT_00019294 = FUN_00012800;" (assignment_expression "DAT_00019294 = FUN_00012800" identifier = identifier) ;) (expression_statement "DAT_00019298 = FUN_00012dd0;" (assignment_expression "DAT_00019298 = FUN_00012dd0" identifier = identifier) ;) (if_statement "if (DAT_00019244 != '\x01') goto LAB_00011ca7;" if (parenthesized_expression "(DAT_00019244 != '\x01')" ( (binary_expression "DAT_00019244 != '\x01'" identifier != (char_literal "'\x01'" ' escape_sequence ')) )) (goto_statement "goto LAB_00011ca7;" goto statement_identifier ;)) (labeled_statement "LAB_00011d08:\n      puVar13 = &DAT_00019210;" statement_identifier : (expression_statement "puVar13 = &DAT_00019210;" (assignment_expression "puVar13 = &DAT_00019210" identifier = (pointer_expression "&DAT_00019210" & identifier)) ;)) (expression_statement "sVar1 = fread(&DAT_00019210,0x24,1,param_2);" (assignment_expression "sVar1 = fread(&DAT_00019210,0x24,1,param_2)" identifier = (call_expression "fread(&DAT_00019210,0x24,1,param_2)" identifier (argument_list "(&DAT_00019210,0x24,1,param_2)" ( (pointer_expression "&DAT_00019210" & identifier) , number_literal , number_literal , identifier )))) ;) (if_statement "if (sVar1 != 1) goto LAB_00011c39;" if (parenthesized_expression "(sVar1 != 1)" ( (binary_expression "sVar1 != 1" identifier != number_literal) )) (goto_statement "goto LAB_00011c39;" goto statement_identifier ;)) (expression_statement "DAT_00019270 = (*DAT_00019294)(puVar13,2);" (assignment_expression "DAT_00019270 = (*DAT_00019294)(puVar13,2)" identifier = (call_expression "(*DAT_00019294)(puVar13,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(puVar13,2)" ( identifier , number_literal )))) ;) (expression_statement "DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);" (assignment_expression "DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_00019212,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_00019212,2)" ( (pointer_expression "&DAT_00019212" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);" (assignment_expression "DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4)" identifier = (call_expression "(*DAT_00019294)(&DAT_00019214,4)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_00019214,4)" ( (pointer_expression "&DAT_00019214" & identifier) , number_literal )))) ;) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_00019218,4);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_00019218,4)" identifier = (call_expression "(*DAT_00019294)(&DAT_00019218,4)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_00019218,4)" ( (pointer_expression "&DAT_00019218" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "DAT_00019250 = (undefined4)uVar8;" (assignment_expression "DAT_00019250 = (undefined4)uVar8" identifier = (cast_expression "(undefined4)uVar8" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_0001921c,4);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_0001921c,4)" identifier = (call_expression "(*DAT_00019294)(&DAT_0001921c,4)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_0001921c,4)" ( (pointer_expression "&DAT_0001921c" & identifier) , number_literal )))) ;) (expression_statement "DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "DAT_00019258 = (undefined4)uVar8;" (assignment_expression "DAT_00019258 = (undefined4)uVar8" identifier = (cast_expression "(undefined4)uVar8" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_00019220,4);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_00019220,4)" identifier = (call_expression "(*DAT_00019294)(&DAT_00019220,4)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_00019220,4)" ( (pointer_expression "&DAT_00019220" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "DAT_00019260 = (undefined4)uVar8;" (assignment_expression "DAT_00019260 = (undefined4)uVar8" identifier = (cast_expression "(undefined4)uVar8" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);" (assignment_expression "DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4)" identifier = (call_expression "(*DAT_00019294)(&DAT_00019224,4)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_00019224,4)" ( (pointer_expression "&DAT_00019224" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);" (assignment_expression "DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_00019228,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_00019228,2)" ( (pointer_expression "&DAT_00019228" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);" (assignment_expression "DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_0001922a,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_0001922a,2)" ( (pointer_expression "&DAT_0001922a" & identifier) , number_literal )))) ;) (expression_statement "DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);" (assignment_expression "DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_0001922c,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_0001922c,2)" ( (pointer_expression "&DAT_0001922c" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);" (assignment_expression "DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_0001922e,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_0001922e,2)" ( (pointer_expression "&DAT_0001922e" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);" (assignment_expression "DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_00019230,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_00019230,2)" ( (pointer_expression "&DAT_00019230" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);" (assignment_expression "DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_00019232,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_00019232,2)" ( (pointer_expression "&DAT_00019232" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019200 = DAT_00019240;" (assignment_expression "DAT_00019200 = DAT_00019240" identifier = identifier) ;) (expression_statement "DAT_00019204 = _DAT_00019244;" (assignment_expression "DAT_00019204 = _DAT_00019244" identifier = identifier) ;) (expression_statement "DAT_00019208 = DAT_00019248;" (assignment_expression "DAT_00019208 = DAT_00019248" identifier = identifier) ;) (expression_statement "DAT_0001920c = DAT_0001924c;" (assignment_expression "DAT_0001920c = DAT_0001924c" identifier = identifier) ;) (labeled_statement "LAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);" statement_identifier : (expression_statement "iVar3 = fseek(param_2,__off,0);" (assignment_expression "iVar3 = fseek(param_2,__off,0)" identifier = (call_expression "fseek(param_2,__off,0)" identifier (argument_list "(param_2,__off,0)" ( identifier , identifier , number_literal )))) ;)) (if_statement "if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }" { (expression_statement "uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5)" identifier = (call_expression "dcgettext(0,"%s: Failed to seek to ELF header\n",5)" identifier (argument_list "(0,"%s: Failed to seek to ELF header\n",5)" ( number_literal , (string_literal ""%s: Failed to seek to ELF header\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "error(uVar2,uVar12);" (call_expression "error(uVar2,uVar12)" identifier (argument_list "(uVar2,uVar12)" ( identifier , identifier ))) ;) })) (expression_statement "uVar9 = DAT_000190e4;" (assignment_expression "uVar9 = DAT_000190e4" identifier = identifier) ;) (if_statement "if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }" if (parenthesized_expression "(DAT_00019240 != 0x464c457f)" ( (binary_expression "DAT_00019240 != 0x464c457f" identifier != number_literal) )) (compound_statement "{\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }" { (expression_statement "pcVar10 = (char *)0x5;" (assignment_expression "pcVar10 = (char *)0x5" identifier = (cast_expression "(char *)0x5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5)" identifier = (call_expression "dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5)" identifier (argument_list "(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5)" ( number_literal , (string_literal ""%s: Not an ELF file - wrong magic bytes at the start\n"" " string_content escape_sequence ") , number_literal )))) ;) (goto_statement "goto LAB_00011c4e;" goto statement_identifier ;) })) (if_statement "if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }" if (parenthesized_expression "(DAT_00019246 != 1)" ( (binary_expression "DAT_00019246 != 1" identifier != number_literal) )) (compound_statement "{\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }" { (expression_statement "uVar6 = (uint)DAT_00019246;" (assignment_expression "uVar6 = (uint)DAT_00019246" identifier = (cast_expression "(uint)DAT_00019246" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);" (assignment_expression "uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6)" identifier = (call_expression "dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6)" identifier (argument_list "(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6)" ( number_literal , (string_literal ""%s: Unsupported EI_VERSION: %d is not %d\n"" " string_content escape_sequence ") , number_literal , identifier , identifier , identifier )))) ;) (expression_statement "uVar9 = 1;" (assignment_expression "uVar9 = 1" identifier = number_literal) ;) (expression_statement "uVar6 = uVar6 & 0xff;" (assignment_expression "uVar6 = uVar6 & 0xff" identifier = (binary_expression "uVar6 & 0xff" identifier & number_literal)) ;) (goto_statement "goto LAB_0001223f;" goto statement_identifier ;) })) (expression_statement "uVar5 = (uint)DAT_00019272;" (assignment_expression "uVar5 = (uint)DAT_00019272" identifier = (cast_expression "(uint)DAT_00019272" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (uVar5 == DAT_000190e0) {\n        return 0;\n      }" if (parenthesized_expression "(uVar5 == DAT_000190e0)" ( (binary_expression "uVar5 == DAT_000190e0" identifier == identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar6 = _DAT_00019244 & 0xff;" (assignment_expression "uVar6 = _DAT_00019244 & 0xff" identifier = (binary_expression "_DAT_00019244 & 0xff" identifier & number_literal)) ;) (if_statement "if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }" if (parenthesized_expression "(DAT_000190cc == 0xffffffff)" ( (binary_expression "DAT_000190cc == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }" { (if_statement "if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }" if (parenthesized_expression "(DAT_00019272 == 6)" ( (binary_expression "DAT_00019272 == 6" identifier == number_literal) )) (compound_statement "{\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }" { (labeled_statement "LAB_00012338:\n          bVar7 = uVar6 != 1;" statement_identifier : (expression_statement "bVar7 = uVar6 != 1;" (assignment_expression "bVar7 = uVar6 != 1" identifier = (binary_expression "uVar6 != 1" identifier != number_literal)) ;)) (expression_statement "DAT_000190cc = 1;" (assignment_expression "DAT_000190cc = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00012050;" goto statement_identifier ;) })) (if_statement "if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }" if (parenthesized_expression "(DAT_00019272 < 7)" ( (binary_expression "DAT_00019272 < 7" identifier < number_literal) )) (compound_statement "{\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }" { (if_statement "if (DAT_00019272 == 3) goto LAB_00012338;" if (parenthesized_expression "(DAT_00019272 == 3)" ( (binary_expression "DAT_00019272 == 3" identifier == number_literal) )) (goto_statement "goto LAB_00012338;" goto statement_identifier ;)) }) (else_clause "else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }" else (if_statement "if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }" if (parenthesized_expression "((ushort)(DAT_00019272 - 0xb4) < 2)" ( (binary_expression "(ushort)(DAT_00019272 - 0xb4) < 2" (call_expression "(ushort)(DAT_00019272 - 0xb4)" (parenthesized_expression "(ushort)" ( identifier )) (argument_list "(DAT_00019272 - 0xb4)" ( (binary_expression "DAT_00019272 - 0xb4" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }" { (expression_statement "bVar7 = uVar6 != 2;" (assignment_expression "bVar7 = uVar6 != 2" identifier = (binary_expression "uVar6 != 2" identifier != number_literal)) ;) (expression_statement "DAT_000190cc = 2;" (assignment_expression "DAT_000190cc = 2" identifier = number_literal) ;) (goto_statement "goto LAB_00012050;" goto statement_identifier ;) })))) (expression_statement "DAT_000190cc = 3;" (assignment_expression "DAT_000190cc = 3" identifier = number_literal) ;) (labeled_statement "LAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }" statement_identifier : (if_statement "if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }" if (parenthesized_expression "((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8))" ( (binary_expression "(DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)" (parenthesized_expression "(DAT_000190c8 == 3)" ( (binary_expression "DAT_000190c8 == 3" identifier == number_literal) )) || (parenthesized_expression "(uVar6 == DAT_000190c8)" ( (binary_expression "uVar6 == DAT_000190c8" identifier == identifier) ))) )) (compound_statement "{\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }" { (if_statement "if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }" if (parenthesized_expression "((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4))" ( (binary_expression "(DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)" (parenthesized_expression "(DAT_000190e4 != 0xffffffff)" ( (binary_expression "DAT_000190e4 != 0xffffffff" identifier != number_literal) )) && (parenthesized_expression "(uVar5 != DAT_000190e4)" ( (binary_expression "uVar5 != DAT_000190e4" identifier != identifier) ))) )) (compound_statement "{\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }" { (expression_statement "uVar6 = uVar5;" (assignment_expression "uVar6 = uVar5" identifier = identifier) ;) (expression_statement "uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);" (assignment_expression "uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5)" identifier = (call_expression "dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5)" identifier (argument_list "(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5)" ( number_literal , (string_literal ""%s: Unmatched e_machine: %d is not %d\n"" " string_content escape_sequence ") , number_literal , identifier , identifier , identifier )))) ;) (goto_statement "goto LAB_0001223f;" goto statement_identifier ;) })) (expression_statement "uVar6 = (uint)DAT_00019270;" (assignment_expression "uVar6 = (uint)DAT_00019270" identifier = (cast_expression "(uint)DAT_00019270" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }" if (parenthesized_expression "((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc))" ( (binary_expression "(DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)" (parenthesized_expression "(DAT_000190dc == 0xffffffff)" ( (binary_expression "DAT_000190dc == 0xffffffff" identifier == number_literal) )) || (parenthesized_expression "(uVar6 == DAT_000190dc)" ( (binary_expression "uVar6 == DAT_000190dc" identifier == identifier) ))) )) (compound_statement "{\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }" { (expression_statement "uVar6 = _DAT_00019244 >> 0x18;" (assignment_expression "uVar6 = _DAT_00019244 >> 0x18" identifier = (binary_expression "_DAT_00019244 >> 0x18" identifier >> number_literal)) ;) (if_statement "if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }" if (parenthesized_expression "((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4))" ( (binary_expression "(DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)" (parenthesized_expression "(DAT_000190d4 == 0xffffffff)" ( (binary_expression "DAT_000190d4 == 0xffffffff" identifier == number_literal) )) || (parenthesized_expression "(uVar6 == DAT_000190d4)" ( (binary_expression "uVar6 == DAT_000190d4" identifier == identifier) ))) )) (compound_statement "{\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }" { (if_statement "if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }" if (parenthesized_expression "(DAT_00019244 == '\x01')" ( (binary_expression "DAT_00019244 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }" { (if_statement "if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }" if (parenthesized_expression "(DAT_000190e0 != 0xffffffff)" ( (binary_expression "DAT_000190e0 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }" { (expression_statement "(*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);" (call_expression "(*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2)" (parenthesized_expression "(*DAT_00019298)" ( (pointer_expression "*DAT_00019298" * identifier) )) (argument_list "(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2)" ( (pointer_expression "&DAT_00019212" & identifier) , identifier , (binary_expression "(int)DAT_000190e0 >> 0x1f" (cast_expression "(int)DAT_000190e0" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) , number_literal ))) ;) })) (if_statement "if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }" if (parenthesized_expression "(DAT_000190d8 != -1)" ( (binary_expression "DAT_000190d8 != -1" identifier != number_literal) )) (compound_statement "{\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }" { (expression_statement "(*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);" (call_expression "(*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2)" (parenthesized_expression "(*DAT_00019298)" ( (pointer_expression "*DAT_00019298" * identifier) )) (argument_list "(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2)" ( (pointer_expression "&DAT_00019210" & identifier) , identifier , (binary_expression "DAT_000190d8 >> 0x1f" identifier >> number_literal) , number_literal ))) ;) })) (if_statement "if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }" if (parenthesized_expression "(DAT_000190d0 != -1)" ( (binary_expression "DAT_000190d0 != -1" identifier != number_literal) )) (compound_statement "{\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }" { (expression_statement "DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);" (assignment_expression "DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204)" identifier = (call_expression "CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204)" identifier (argument_list "((char)DAT_000190d0,(undefined3)DAT_00019204)" ( (cast_expression "(char)DAT_000190d0" ( (type_descriptor "char" primitive_type) ) identifier) , (cast_expression "(undefined3)DAT_00019204" ( (type_descriptor "undefined3" type_identifier) ) identifier) )))) ;) })) (expression_statement "__ptr = &DAT_00019200;" (assignment_expression "__ptr = &DAT_00019200" identifier = (pointer_expression "&DAT_00019200" & identifier)) ;) (expression_statement "sVar1 = 0x34;" (assignment_expression "sVar1 = 0x34" identifier = number_literal) ;) }) (else_clause "else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }" else (compound_statement "{\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }" { (if_statement "if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }" if (parenthesized_expression "(DAT_00019244 != '\x02')" ( (binary_expression "DAT_00019244 != '\x02'" identifier != (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n                    \n                  abort();\n                }" { (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }" if (parenthesized_expression "(DAT_000190e0 != 0xffffffff)" ( (binary_expression "DAT_000190e0 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }" { (expression_statement "(*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);" (call_expression "(*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2)" (parenthesized_expression "(*DAT_00019298)" ( (pointer_expression "*DAT_00019298" * identifier) )) (argument_list "(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2)" ( (pointer_expression "&DAT_000191d2" & identifier) , identifier , (binary_expression "(int)DAT_000190e0 >> 0x1f" (cast_expression "(int)DAT_000190e0" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) , number_literal ))) ;) })) (if_statement "if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }" if (parenthesized_expression "(DAT_000190d8 != -1)" ( (binary_expression "DAT_000190d8 != -1" identifier != number_literal) )) (compound_statement "{\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }" { (expression_statement "(*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);" (call_expression "(*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2)" (parenthesized_expression "(*DAT_00019298)" ( (pointer_expression "*DAT_00019298" * identifier) )) (argument_list "(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2)" ( (pointer_expression "&DAT_000191d0" & identifier) , identifier , (binary_expression "DAT_000190d8 >> 0x1f" identifier >> number_literal) , number_literal ))) ;) })) (if_statement "if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }" if (parenthesized_expression "(DAT_000190d0 != -1)" ( (binary_expression "DAT_000190d0 != -1" identifier != number_literal) )) (compound_statement "{\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }" { (expression_statement "DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);" (assignment_expression "DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4)" identifier = (call_expression "CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4)" identifier (argument_list "((char)DAT_000190d0,(undefined3)DAT_000191c4)" ( (cast_expression "(char)DAT_000190d0" ( (type_descriptor "char" primitive_type) ) identifier) , (cast_expression "(undefined3)DAT_000191c4" ( (type_descriptor "undefined3" type_identifier) ) identifier) )))) ;) })) (expression_statement "__ptr = &DAT_000191c0;" (assignment_expression "__ptr = &DAT_000191c0" identifier = (pointer_expression "&DAT_000191c0" & identifier)) ;) (expression_statement "sVar1 = 0x40;" (assignment_expression "sVar1 = 0x40" identifier = number_literal) ;) }))) (expression_statement "sVar1 = fwrite(__ptr,sVar1,1,param_2);" (assignment_expression "sVar1 = fwrite(__ptr,sVar1,1,param_2)" identifier = (call_expression "fwrite(__ptr,sVar1,1,param_2)" identifier (argument_list "(__ptr,sVar1,1,param_2)" ( identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (sVar1 == 1) {\n                return 0;\n              }" if (parenthesized_expression "(sVar1 == 1)" ( (binary_expression "sVar1 == 1" identifier == number_literal) )) (compound_statement "{\n                return 0;\n              }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "piVar4 = __errno_location();" (assignment_expression "piVar4 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar10 = strerror(*piVar4);" (assignment_expression "pcVar10 = strerror(*piVar4)" identifier = (call_expression "strerror(*piVar4)" identifier (argument_list "(*piVar4)" ( (pointer_expression "*piVar4" * identifier) )))) ;) (expression_statement "uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5)" identifier = (call_expression "dcgettext(0,"%s: Failed to update ELF header: %s\n",5)" identifier (argument_list "(0,"%s: Failed to update ELF header: %s\n",5)" ( number_literal , (string_literal ""%s: Failed to update ELF header: %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (goto_statement "goto LAB_00011c4e;" goto statement_identifier ;) })) (expression_statement "pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";" (assignment_expression "pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n"" identifier = (string_literal ""%s: Unmatched EI_OSABI: %d is not %d\n"" " string_content escape_sequence ")) ;) (expression_statement "uVar9 = DAT_000190d4;" (assignment_expression "uVar9 = DAT_000190d4" identifier = identifier) ;) }) (else_clause "else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }" else (compound_statement "{\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }" { (expression_statement "pcVar10 = "%s: Unmatched e_type: %d is not %d\n";" (assignment_expression "pcVar10 = "%s: Unmatched e_type: %d is not %d\n"" identifier = (string_literal ""%s: Unmatched e_type: %d is not %d\n"" " string_content escape_sequence ")) ;) (expression_statement "uVar9 = DAT_000190dc;" (assignment_expression "uVar9 = DAT_000190dc" identifier = identifier) ;) }))) }) (else_clause "else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }" else (compound_statement "{\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }" { (expression_statement "pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";" (assignment_expression "pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n"" identifier = (string_literal ""%s: Unmatched output EI_CLASS: %d is not %d\n"" " string_content escape_sequence ")) ;) (expression_statement "uVar9 = DAT_000190c8;" (assignment_expression "uVar9 = DAT_000190c8" identifier = identifier) ;) })))) }) (else_clause "else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }" else (compound_statement "{\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }" { (expression_statement "bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;" (assignment_expression "bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc" identifier = (binary_expression "DAT_000190cc != 3 && uVar6 != DAT_000190cc" (binary_expression "DAT_000190cc != 3" identifier != number_literal) && (binary_expression "uVar6 != DAT_000190cc" identifier != identifier))) ;) (labeled_statement "LAB_00012050:\n        if (!bVar7) goto LAB_00012058;" statement_identifier : (if_statement "if (!bVar7) goto LAB_00012058;" if (parenthesized_expression "(!bVar7)" ( (unary_expression "!bVar7" ! identifier) )) (goto_statement "goto LAB_00012058;" goto statement_identifier ;))) (expression_statement "pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";" (assignment_expression "pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n"" identifier = (string_literal ""%s: Unmatched input EI_CLASS: %d is not %d\n"" " string_content escape_sequence ")) ;) (expression_statement "uVar9 = DAT_000190cc;" (assignment_expression "uVar9 = DAT_000190cc" identifier = identifier) ;) }))) (expression_statement "uVar2 = dcgettext(0,pcVar10,5);" (assignment_expression "uVar2 = dcgettext(0,pcVar10,5)" identifier = (call_expression "dcgettext(0,pcVar10,5)" identifier (argument_list "(0,pcVar10,5)" ( number_literal , identifier , number_literal )))) ;) (labeled_statement "LAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);" statement_identifier : (expression_statement "error(uVar2,uVar12,uVar6,uVar9);" (call_expression "error(uVar2,uVar12,uVar6,uVar9)" identifier (argument_list "(uVar2,uVar12,uVar6,uVar9)" ( identifier , identifier , identifier , identifier ))) ;)) (return_statement "return 1;" return number_literal ;) })) (expression_statement "DAT_00019294 = FUN_00012e50;" (assignment_expression "DAT_00019294 = FUN_00012e50" identifier = identifier) ;) (expression_statement "DAT_00019298 = FUN_00012d40;" (assignment_expression "DAT_00019298 = FUN_00012d40" identifier = identifier) ;) (if_statement "if (DAT_00019244 == '\x01') goto LAB_00011d08;" if (parenthesized_expression "(DAT_00019244 == '\x01')" ( (binary_expression "DAT_00019244 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) )) (goto_statement "goto LAB_00011d08;" goto statement_identifier ;)) (labeled_statement "LAB_00011ca7:\n    uVar9 = _DAT_00019244 & 0xff;" statement_identifier : (expression_statement "uVar9 = _DAT_00019244 & 0xff;" (assignment_expression "uVar9 = _DAT_00019244 & 0xff" identifier = (binary_expression "_DAT_00019244 & 0xff" identifier & number_literal)) ;)) (if_statement "if (DAT_00019244 == '\x02') {\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }" if (parenthesized_expression "(DAT_00019244 == '\x02')" ( (binary_expression "DAT_00019244 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }" { (expression_statement "puVar13 = &DAT_000191d0;" (assignment_expression "puVar13 = &DAT_000191d0" identifier = (pointer_expression "&DAT_000191d0" & identifier)) ;) (expression_statement "sVar1 = fread(&DAT_000191d0,0x30,1,param_2);" (assignment_expression "sVar1 = fread(&DAT_000191d0,0x30,1,param_2)" identifier = (call_expression "fread(&DAT_000191d0,0x30,1,param_2)" identifier (argument_list "(&DAT_000191d0,0x30,1,param_2)" ( (pointer_expression "&DAT_000191d0" & identifier) , number_literal , number_literal , identifier )))) ;) (if_statement "if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }" if (parenthesized_expression "(sVar1 == 1)" ( (binary_expression "sVar1 == 1" identifier == number_literal) )) (compound_statement "{\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }" { (expression_statement "DAT_00019270 = (*DAT_00019294)(puVar13,2);" (assignment_expression "DAT_00019270 = (*DAT_00019294)(puVar13,2)" identifier = (call_expression "(*DAT_00019294)(puVar13,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(puVar13,2)" ( identifier , number_literal )))) ;) (expression_statement "DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);" (assignment_expression "DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191d2,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191d2,2)" ( (pointer_expression "&DAT_000191d2" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);" (assignment_expression "DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191d4,4)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191d4,4)" ( (pointer_expression "&DAT_000191d4" & identifier) , number_literal )))) ;) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_000191d8,8);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_000191d8,8)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191d8,8)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191d8,8)" ( (pointer_expression "&DAT_000191d8" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "DAT_00019250 = (undefined4)uVar8;" (assignment_expression "DAT_00019250 = (undefined4)uVar8" identifier = (cast_expression "(undefined4)uVar8" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_000191e0,8);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_000191e0,8)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191e0,8)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191e0,8)" ( (pointer_expression "&DAT_000191e0" & identifier) , number_literal )))) ;) (expression_statement "DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "DAT_00019258 = (undefined4)uVar8;" (assignment_expression "DAT_00019258 = (undefined4)uVar8" identifier = (cast_expression "(undefined4)uVar8" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_000191e8,8);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_000191e8,8)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191e8,8)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191e8,8)" ( (pointer_expression "&DAT_000191e8" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "DAT_00019260 = (undefined4)uVar8;" (assignment_expression "DAT_00019260 = (undefined4)uVar8" identifier = (cast_expression "(undefined4)uVar8" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);" (assignment_expression "DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191f0,4)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191f0,4)" ( (pointer_expression "&DAT_000191f0" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);" (assignment_expression "DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191f4,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191f4,2)" ( (pointer_expression "&DAT_000191f4" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);" (assignment_expression "DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191f6,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191f6,2)" ( (pointer_expression "&DAT_000191f6" & identifier) , number_literal )))) ;) (expression_statement "DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);" (assignment_expression "DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191f8,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191f8,2)" ( (pointer_expression "&DAT_000191f8" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);" (assignment_expression "DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191fa,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191fa,2)" ( (pointer_expression "&DAT_000191fa" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);" (assignment_expression "DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191fc,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191fc,2)" ( (pointer_expression "&DAT_000191fc" & identifier) , number_literal )))) ;) (expression_statement "DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);" (assignment_expression "DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2)" identifier = (call_expression "(*DAT_00019294)(&DAT_000191fe,2)" (parenthesized_expression "(*DAT_00019294)" ( (pointer_expression "*DAT_00019294" * identifier) )) (argument_list "(&DAT_000191fe,2)" ( (pointer_expression "&DAT_000191fe" & identifier) , number_literal )))) ;) (expression_statement "DAT_000191c0 = DAT_00019240;" (assignment_expression "DAT_000191c0 = DAT_00019240" identifier = identifier) ;) (expression_statement "DAT_000191c4 = _DAT_00019244;" (assignment_expression "DAT_000191c4 = _DAT_00019244" identifier = identifier) ;) (expression_statement "DAT_000191c8 = DAT_00019248;" (assignment_expression "DAT_000191c8 = DAT_00019248" identifier = identifier) ;) (expression_statement "DAT_000191cc = DAT_0001924c;" (assignment_expression "DAT_000191cc = DAT_0001924c" identifier = identifier) ;) (goto_statement "goto LAB_00011fce;" goto statement_identifier ;) })) }) (else_clause "else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }" else (compound_statement "{\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }" { (expression_statement "uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);" (assignment_expression "uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5)" identifier = (call_expression "dcgettext(0,"Unsupported EI_CLASS: %d\n",5)" identifier (argument_list "(0,"Unsupported EI_CLASS: %d\n",5)" ( number_literal , (string_literal ""Unsupported EI_CLASS: %d\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "error(uVar2,uVar9 & 0xff);" (call_expression "error(uVar2,uVar9 & 0xff)" identifier (argument_list "(uVar2,uVar9 & 0xff)" ( identifier , (binary_expression "uVar9 & 0xff" identifier & number_literal) ))) ;) }))) })) (labeled_statement "LAB_00011c39:\n  pcVar10 = (char *)0x5;" statement_identifier : (expression_statement "pcVar10 = (char *)0x5;" (assignment_expression "pcVar10 = (char *)0x5" identifier = (cast_expression "(char *)0x5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "uVar2 = dcgettext(0,"%s: Failed to read ELF header\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%s: Failed to read ELF header\n",5)" identifier = (call_expression "dcgettext(0,"%s: Failed to read ELF header\n",5)" identifier (argument_list "(0,"%s: Failed to read ELF header\n",5)" ( number_literal , (string_literal ""%s: Failed to read ELF header\n"" " string_content escape_sequence ") , number_literal )))) ;) (labeled_statement "LAB_00011c4e:\n  error(uVar2,uVar12,pcVar10);" statement_identifier : (expression_statement "error(uVar2,uVar12,pcVar10);" (call_expression "error(uVar2,uVar12,pcVar10)" identifier (argument_list "(uVar2,uVar12,pcVar10)" ( identifier , identifier , identifier ))) ;)) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT != LIT)) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT != LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })))) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == IDENT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT , IDENT , IDENT , IDENT )))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == IDENT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , IDENT , (binary_expression IDENT >> LIT) , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) , (cast_expression ( (type_descriptor TYPE) ) IDENT) )))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , IDENT , (binary_expression IDENT >> LIT) , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) , (cast_expression ( (type_descriptor TYPE) ) IDENT) )))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence ")) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence ")) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence ")) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT != LIT) && (binary_expression IDENT != IDENT))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence ")) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , LIT )))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;)) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT & LIT) ))) ;) }))) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;)) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_00011c00(undefined4 param_1,FILE *param_2)\n\n{\n  long __off;\n  size_t sVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *__ptr;\n  int *piVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  undefined8 uVar8;\n  uint uVar9;\n  char *pcVar10;\n  FILE *pFVar11;\n  undefined4 extraout_var;\n  undefined4 uVar12;\n  undefined *puVar13;\n  \n  __off = ftell(param_2);\n  uVar12 = extraout_var;\n  sVar1 = fread(&DAT_00019240,0x10,1,param_2);\n  if (sVar1 == 1) {\n    pFVar11 = param_2;\n    if (DAT_00019245 == '\x02') {\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }\n    DAT_00019294 = FUN_00012e50;\n    DAT_00019298 = FUN_00012d40;\n    if (DAT_00019244 == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar9 = _DAT_00019244 & 0xff;\n    if (DAT_00019244 == '\x02') {\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }\n  }\nLAB_00011c39:\n  pcVar10 = (char *)0x5;\n  uVar2 = dcgettext(0,"%s: Failed to read ELF header\n",5);\nLAB_00011c4e:\n  error(uVar2,uVar12,pcVar10);\n  return 1;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00011c00(undefined4 param_1,FILE *param_2)" (identifier "FUN_00011c00") (parameter_list "(undefined4 param_1,FILE *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "FILE *param_2" (type_identifier "FILE") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  long __off;\n  size_t sVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *__ptr;\n  int *piVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  undefined8 uVar8;\n  uint uVar9;\n  char *pcVar10;\n  FILE *pFVar11;\n  undefined4 extraout_var;\n  undefined4 uVar12;\n  undefined *puVar13;\n  \n  __off = ftell(param_2);\n  uVar12 = extraout_var;\n  sVar1 = fread(&DAT_00019240,0x10,1,param_2);\n  if (sVar1 == 1) {\n    pFVar11 = param_2;\n    if (DAT_00019245 == '\x02') {\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }\n    DAT_00019294 = FUN_00012e50;\n    DAT_00019298 = FUN_00012d40;\n    if (DAT_00019244 == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar9 = _DAT_00019244 & 0xff;\n    if (DAT_00019244 == '\x02') {\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }\n  }\nLAB_00011c39:\n  pcVar10 = (char *)0x5;\n  uVar2 = dcgettext(0,"%s: Failed to read ELF header\n",5);\nLAB_00011c4e:\n  error(uVar2,uVar12,pcVar10);\n  return 1;\n}" ({ "{") (declaration "long __off;" (sized_type_specifier "long" (long "long")) (identifier "__off") (; ";")) (declaration "size_t sVar1;" (primitive_type "size_t") (identifier "sVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *__ptr;" (type_identifier "undefined4") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (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 "undefined8 uVar8;" (type_identifier "undefined8") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "char *pcVar10;" (primitive_type "char") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "FILE *pFVar11;" (type_identifier "FILE") (pointer_declarator "*pFVar11" (* "*") (identifier "pFVar11")) (; ";")) (declaration "undefined4 extraout_var;" (type_identifier "undefined4") (identifier "extraout_var") (; ";")) (declaration "undefined4 uVar12;" (type_identifier "undefined4") (identifier "uVar12") (; ";")) (declaration "undefined *puVar13;" (type_identifier "undefined") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (expression_statement "__off = ftell(param_2);" (assignment_expression "__off = ftell(param_2)" (identifier "__off") (= "=") (call_expression "ftell(param_2)" (identifier "ftell") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "uVar12 = extraout_var;" (assignment_expression "uVar12 = extraout_var" (identifier "uVar12") (= "=") (identifier "extraout_var")) (; ";")) (expression_statement "sVar1 = fread(&DAT_00019240,0x10,1,param_2);" (assignment_expression "sVar1 = fread(&DAT_00019240,0x10,1,param_2)" (identifier "sVar1") (= "=") (call_expression "fread(&DAT_00019240,0x10,1,param_2)" (identifier "fread") (argument_list "(&DAT_00019240,0x10,1,param_2)" (( "(") (pointer_expression "&DAT_00019240" (& "&") (identifier "DAT_00019240")) (, ",") (number_literal "0x10") (, ",") (number_literal "1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (sVar1 == 1) {\n    pFVar11 = param_2;\n    if (DAT_00019245 == '\x02') {\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }\n    DAT_00019294 = FUN_00012e50;\n    DAT_00019298 = FUN_00012d40;\n    if (DAT_00019244 == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar9 = _DAT_00019244 & 0xff;\n    if (DAT_00019244 == '\x02') {\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }\n  }" (if "if") (parenthesized_expression "(sVar1 == 1)" (( "(") (binary_expression "sVar1 == 1" (identifier "sVar1") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    pFVar11 = param_2;\n    if (DAT_00019245 == '\x02') {\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }\n    DAT_00019294 = FUN_00012e50;\n    DAT_00019298 = FUN_00012d40;\n    if (DAT_00019244 == '\x01') goto LAB_00011d08;\nLAB_00011ca7:\n    uVar9 = _DAT_00019244 & 0xff;\n    if (DAT_00019244 == '\x02') {\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }\n  }" ({ "{") (expression_statement "pFVar11 = param_2;" (assignment_expression "pFVar11 = param_2" (identifier "pFVar11") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (DAT_00019245 == '\x02') {\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }" (if "if") (parenthesized_expression "(DAT_00019245 == '\x02')" (( "(") (binary_expression "DAT_00019245 == '\x02'" (identifier "DAT_00019245") (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (compound_statement "{\n      DAT_00019294 = FUN_00012800;\n      DAT_00019298 = FUN_00012dd0;\n      if (DAT_00019244 != '\x01') goto LAB_00011ca7;\nLAB_00011d08:\n      puVar13 = &DAT_00019210;\n      sVar1 = fread(&DAT_00019210,0x24,1,param_2);\n      if (sVar1 != 1) goto LAB_00011c39;\n      DAT_00019270 = (*DAT_00019294)(puVar13,2);\n      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);\n      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);\n      uVar8 = (*DAT_00019294)(&DAT_00019218,4);\n      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019250 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);\n      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019258 = (undefined4)uVar8;\n      uVar8 = (*DAT_00019294)(&DAT_00019220,4);\n      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n      DAT_00019260 = (undefined4)uVar8;\n      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);\n      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);\n      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);\n      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);\n      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);\n      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);\n      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);\n      DAT_00019200 = DAT_00019240;\n      DAT_00019204 = _DAT_00019244;\n      DAT_00019208 = DAT_00019248;\n      DAT_0001920c = DAT_0001924c;\nLAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);\n      if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }\n      uVar9 = DAT_000190e4;\n      if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }\n      if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }\n      uVar5 = (uint)DAT_00019272;\n      if (uVar5 == DAT_000190e0) {\n        return 0;\n      }\n      uVar6 = _DAT_00019244 & 0xff;\n      if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }\n      uVar2 = dcgettext(0,pcVar10,5);\nLAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);\n      return 1;\n    }" ({ "{") (expression_statement "DAT_00019294 = FUN_00012800;" (assignment_expression "DAT_00019294 = FUN_00012800" (identifier "DAT_00019294") (= "=") (identifier "FUN_00012800")) (; ";")) (expression_statement "DAT_00019298 = FUN_00012dd0;" (assignment_expression "DAT_00019298 = FUN_00012dd0" (identifier "DAT_00019298") (= "=") (identifier "FUN_00012dd0")) (; ";")) (if_statement "if (DAT_00019244 != '\x01') goto LAB_00011ca7;" (if "if") (parenthesized_expression "(DAT_00019244 != '\x01')" (( "(") (binary_expression "DAT_00019244 != '\x01'" (identifier "DAT_00019244") (!= "!=") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (goto_statement "goto LAB_00011ca7;" (goto "goto") (statement_identifier "LAB_00011ca7") (; ";"))) (labeled_statement "LAB_00011d08:\n      puVar13 = &DAT_00019210;" (statement_identifier "LAB_00011d08") (: ":") (expression_statement "puVar13 = &DAT_00019210;" (assignment_expression "puVar13 = &DAT_00019210" (identifier "puVar13") (= "=") (pointer_expression "&DAT_00019210" (& "&") (identifier "DAT_00019210"))) (; ";"))) (expression_statement "sVar1 = fread(&DAT_00019210,0x24,1,param_2);" (assignment_expression "sVar1 = fread(&DAT_00019210,0x24,1,param_2)" (identifier "sVar1") (= "=") (call_expression "fread(&DAT_00019210,0x24,1,param_2)" (identifier "fread") (argument_list "(&DAT_00019210,0x24,1,param_2)" (( "(") (pointer_expression "&DAT_00019210" (& "&") (identifier "DAT_00019210")) (, ",") (number_literal "0x24") (, ",") (number_literal "1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (sVar1 != 1) goto LAB_00011c39;" (if "if") (parenthesized_expression "(sVar1 != 1)" (( "(") (binary_expression "sVar1 != 1" (identifier "sVar1") (!= "!=") (number_literal "1")) () ")")) (goto_statement "goto LAB_00011c39;" (goto "goto") (statement_identifier "LAB_00011c39") (; ";"))) (expression_statement "DAT_00019270 = (*DAT_00019294)(puVar13,2);" (assignment_expression "DAT_00019270 = (*DAT_00019294)(puVar13,2)" (identifier "DAT_00019270") (= "=") (call_expression "(*DAT_00019294)(puVar13,2)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(puVar13,2)" (( "(") (identifier "puVar13") (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);" (assignment_expression "DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2)" (identifier "DAT_00019272") (= "=") (call_expression "(*DAT_00019294)(&DAT_00019212,2)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_00019212,2)" (( "(") (pointer_expression "&DAT_00019212" (& "&") (identifier "DAT_00019212")) (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);" (assignment_expression "DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4)" (identifier "DAT_00019268") (= "=") (call_expression "(*DAT_00019294)(&DAT_00019214,4)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_00019214,4)" (( "(") (pointer_expression "&DAT_00019214" (& "&") (identifier "DAT_00019214")) (, ",") (number_literal "4") () ")")))) (; ";")) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_00019218,4);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_00019218,4)" (identifier "uVar8") (= "=") (call_expression "(*DAT_00019294)(&DAT_00019218,4)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_00019218,4)" (( "(") (pointer_expression "&DAT_00019218" (& "&") (identifier "DAT_00019218")) (, ",") (number_literal "4") () ")")))) (; ";")) (expression_statement "DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20)" (identifier "DAT_00019254") (= "=") (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulonglong)uVar8 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar8")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "DAT_00019250 = (undefined4)uVar8;" (assignment_expression "DAT_00019250 = (undefined4)uVar8" (identifier "DAT_00019250") (= "=") (cast_expression "(undefined4)uVar8" (( "(") (type_descriptor "undefined4" (type_identifier "undefined4")) () ")") (identifier "uVar8"))) (; ";")) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_0001921c,4);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_0001921c,4)" (identifier "uVar8") (= "=") (call_expression "(*DAT_00019294)(&DAT_0001921c,4)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_0001921c,4)" (( "(") (pointer_expression "&DAT_0001921c" (& "&") (identifier "DAT_0001921c")) (, ",") (number_literal "4") () ")")))) (; ";")) (expression_statement "DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20)" (identifier "DAT_0001925c") (= "=") (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulonglong)uVar8 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar8")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "DAT_00019258 = (undefined4)uVar8;" (assignment_expression "DAT_00019258 = (undefined4)uVar8" (identifier "DAT_00019258") (= "=") (cast_expression "(undefined4)uVar8" (( "(") (type_descriptor "undefined4" (type_identifier "undefined4")) () ")") (identifier "uVar8"))) (; ";")) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_00019220,4);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_00019220,4)" (identifier "uVar8") (= "=") (call_expression "(*DAT_00019294)(&DAT_00019220,4)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_00019220,4)" (( "(") (pointer_expression "&DAT_00019220" (& "&") (identifier "DAT_00019220")) (, ",") (number_literal "4") () ")")))) (; ";")) (expression_statement "DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20)" (identifier "DAT_00019264") (= "=") (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulonglong)uVar8 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar8")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "DAT_00019260 = (undefined4)uVar8;" (assignment_expression "DAT_00019260 = (undefined4)uVar8" (identifier "DAT_00019260") (= "=") (cast_expression "(undefined4)uVar8" (( "(") (type_descriptor "undefined4" (type_identifier "undefined4")) () ")") (identifier "uVar8"))) (; ";")) (expression_statement "DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);" (assignment_expression "DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4)" (identifier "DAT_0001926c") (= "=") (call_expression "(*DAT_00019294)(&DAT_00019224,4)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_00019224,4)" (( "(") (pointer_expression "&DAT_00019224" (& "&") (identifier "DAT_00019224")) (, ",") (number_literal "4") () ")")))) (; ";")) (expression_statement "DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);" (assignment_expression "DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2)" (identifier "DAT_00019274") (= "=") (call_expression "(*DAT_00019294)(&DAT_00019228,2)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_00019228,2)" (( "(") (pointer_expression "&DAT_00019228" (& "&") (identifier "DAT_00019228")) (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);" (assignment_expression "DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2)" (identifier "DAT_00019278") (= "=") (call_expression "(*DAT_00019294)(&DAT_0001922a,2)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_0001922a,2)" (( "(") (pointer_expression "&DAT_0001922a" (& "&") (identifier "DAT_0001922a")) (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);" (assignment_expression "DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2)" (identifier "DAT_0001927c") (= "=") (call_expression "(*DAT_00019294)(&DAT_0001922c,2)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_0001922c,2)" (( "(") (pointer_expression "&DAT_0001922c" (& "&") (identifier "DAT_0001922c")) (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);" (assignment_expression "DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2)" (identifier "DAT_00019280") (= "=") (call_expression "(*DAT_00019294)(&DAT_0001922e,2)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_0001922e,2)" (( "(") (pointer_expression "&DAT_0001922e" (& "&") (identifier "DAT_0001922e")) (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);" (assignment_expression "DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2)" (identifier "DAT_00019284") (= "=") (call_expression "(*DAT_00019294)(&DAT_00019230,2)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_00019230,2)" (( "(") (pointer_expression "&DAT_00019230" (& "&") (identifier "DAT_00019230")) (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);" (assignment_expression "DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2)" (identifier "DAT_00019288") (= "=") (call_expression "(*DAT_00019294)(&DAT_00019232,2)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_00019232,2)" (( "(") (pointer_expression "&DAT_00019232" (& "&") (identifier "DAT_00019232")) (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "DAT_00019200 = DAT_00019240;" (assignment_expression "DAT_00019200 = DAT_00019240" (identifier "DAT_00019200") (= "=") (identifier "DAT_00019240")) (; ";")) (expression_statement "DAT_00019204 = _DAT_00019244;" (assignment_expression "DAT_00019204 = _DAT_00019244" (identifier "DAT_00019204") (= "=") (identifier "_DAT_00019244")) (; ";")) (expression_statement "DAT_00019208 = DAT_00019248;" (assignment_expression "DAT_00019208 = DAT_00019248" (identifier "DAT_00019208") (= "=") (identifier "DAT_00019248")) (; ";")) (expression_statement "DAT_0001920c = DAT_0001924c;" (assignment_expression "DAT_0001920c = DAT_0001924c" (identifier "DAT_0001920c") (= "=") (identifier "DAT_0001924c")) (; ";")) (labeled_statement "LAB_00011fce:\n      iVar3 = fseek(param_2,__off,0);" (statement_identifier "LAB_00011fce") (: ":") (expression_statement "iVar3 = fseek(param_2,__off,0);" (assignment_expression "iVar3 = fseek(param_2,__off,0)" (identifier "iVar3") (= "=") (call_expression "fseek(param_2,__off,0)" (identifier "fseek") (argument_list "(param_2,__off,0)" (( "(") (identifier "param_2") (, ",") (identifier "__off") (, ",") (number_literal "0") () ")")))) (; ";"))) (if_statement "if (iVar3 != 0) {\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);\n        error(uVar2,uVar12);\n      }" ({ "{") (expression_statement "uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"%s: Failed to seek to ELF header\n",5)" (identifier "dcgettext") (argument_list "(0,"%s: Failed to seek to ELF header\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: Failed to seek to ELF header\n"" (" """) (string_content "%s: Failed to seek to ELF header") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "error(uVar2,uVar12);" (call_expression "error(uVar2,uVar12)" (identifier "error") (argument_list "(uVar2,uVar12)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar12") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar9 = DAT_000190e4;" (assignment_expression "uVar9 = DAT_000190e4" (identifier "uVar9") (= "=") (identifier "DAT_000190e4")) (; ";")) (if_statement "if (DAT_00019240 != 0x464c457f) {\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }" (if "if") (parenthesized_expression "(DAT_00019240 != 0x464c457f)" (( "(") (binary_expression "DAT_00019240 != 0x464c457f" (identifier "DAT_00019240") (!= "!=") (number_literal "0x464c457f")) () ")")) (compound_statement "{\n        pcVar10 = (char *)0x5;\n        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);\n        goto LAB_00011c4e;\n      }" ({ "{") (expression_statement "pcVar10 = (char *)0x5;" (assignment_expression "pcVar10 = (char *)0x5" (identifier "pcVar10") (= "=") (cast_expression "(char *)0x5" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x5"))) (; ";")) (expression_statement "uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5)" (identifier "dcgettext") (argument_list "(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: Not an ELF file - wrong magic bytes at the start\n"" (" """) (string_content "%s: Not an ELF file - wrong magic bytes at the start") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (goto_statement "goto LAB_00011c4e;" (goto "goto") (statement_identifier "LAB_00011c4e") (; ";")) (} "}"))) (if_statement "if (DAT_00019246 != 1) {\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }" (if "if") (parenthesized_expression "(DAT_00019246 != 1)" (( "(") (binary_expression "DAT_00019246 != 1" (identifier "DAT_00019246") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n        uVar6 = (uint)DAT_00019246;\n        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);\n        uVar9 = 1;\n        uVar6 = uVar6 & 0xff;\n        goto LAB_0001223f;\n      }" ({ "{") (expression_statement "uVar6 = (uint)DAT_00019246;" (assignment_expression "uVar6 = (uint)DAT_00019246" (identifier "uVar6") (= "=") (cast_expression "(uint)DAT_00019246" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "DAT_00019246"))) (; ";")) (expression_statement "uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);" (assignment_expression "uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6)" (identifier "dcgettext") (argument_list "(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: Unsupported EI_VERSION: %d is not %d\n"" (" """) (string_content "%s: Unsupported EI_VERSION: %d is not %d") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") (, ",") (identifier "pFVar11") (, ",") (identifier "uVar12") (, ",") (identifier "uVar6") () ")")))) (; ";")) (expression_statement "uVar9 = 1;" (assignment_expression "uVar9 = 1" (identifier "uVar9") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar6 = uVar6 & 0xff;" (assignment_expression "uVar6 = uVar6 & 0xff" (identifier "uVar6") (= "=") (binary_expression "uVar6 & 0xff" (identifier "uVar6") (& "&") (number_literal "0xff"))) (; ";")) (goto_statement "goto LAB_0001223f;" (goto "goto") (statement_identifier "LAB_0001223f") (; ";")) (} "}"))) (expression_statement "uVar5 = (uint)DAT_00019272;" (assignment_expression "uVar5 = (uint)DAT_00019272" (identifier "uVar5") (= "=") (cast_expression "(uint)DAT_00019272" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "DAT_00019272"))) (; ";")) (if_statement "if (uVar5 == DAT_000190e0) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(uVar5 == DAT_000190e0)" (( "(") (binary_expression "uVar5 == DAT_000190e0" (identifier "uVar5") (== "==") (identifier "DAT_000190e0")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar6 = _DAT_00019244 & 0xff;" (assignment_expression "uVar6 = _DAT_00019244 & 0xff" (identifier "uVar6") (= "=") (binary_expression "_DAT_00019244 & 0xff" (identifier "_DAT_00019244") (& "&") (number_literal "0xff"))) (; ";")) (if_statement "if (DAT_000190cc == 0xffffffff) {\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }\n      else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }" (if "if") (parenthesized_expression "(DAT_000190cc == 0xffffffff)" (( "(") (binary_expression "DAT_000190cc == 0xffffffff" (identifier "DAT_000190cc") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n        if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }\n        if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }\n        DAT_000190cc = 3;\nLAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }\n      }" ({ "{") (if_statement "if (DAT_00019272 == 6) {\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }" (if "if") (parenthesized_expression "(DAT_00019272 == 6)" (( "(") (binary_expression "DAT_00019272 == 6" (identifier "DAT_00019272") (== "==") (number_literal "6")) () ")")) (compound_statement "{\nLAB_00012338:\n          bVar7 = uVar6 != 1;\n          DAT_000190cc = 1;\n          goto LAB_00012050;\n        }" ({ "{") (labeled_statement "LAB_00012338:\n          bVar7 = uVar6 != 1;" (statement_identifier "LAB_00012338") (: ":") (expression_statement "bVar7 = uVar6 != 1;" (assignment_expression "bVar7 = uVar6 != 1" (identifier "bVar7") (= "=") (binary_expression "uVar6 != 1" (identifier "uVar6") (!= "!=") (number_literal "1"))) (; ";"))) (expression_statement "DAT_000190cc = 1;" (assignment_expression "DAT_000190cc = 1" (identifier "DAT_000190cc") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_00012050;" (goto "goto") (statement_identifier "LAB_00012050") (; ";")) (} "}"))) (if_statement "if (DAT_00019272 < 7) {\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }\n        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }" (if "if") (parenthesized_expression "(DAT_00019272 < 7)" (( "(") (binary_expression "DAT_00019272 < 7" (identifier "DAT_00019272") (< "<") (number_literal "7")) () ")")) (compound_statement "{\n          if (DAT_00019272 == 3) goto LAB_00012338;\n        }" ({ "{") (if_statement "if (DAT_00019272 == 3) goto LAB_00012338;" (if "if") (parenthesized_expression "(DAT_00019272 == 3)" (( "(") (binary_expression "DAT_00019272 == 3" (identifier "DAT_00019272") (== "==") (number_literal "3")) () ")")) (goto_statement "goto LAB_00012338;" (goto "goto") (statement_identifier "LAB_00012338") (; ";"))) (} "}")) (else_clause "else if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }" (else "else") (if_statement "if ((ushort)(DAT_00019272 - 0xb4) < 2) {\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }" (if "if") (parenthesized_expression "((ushort)(DAT_00019272 - 0xb4) < 2)" (( "(") (binary_expression "(ushort)(DAT_00019272 - 0xb4) < 2" (call_expression "(ushort)(DAT_00019272 - 0xb4)" (parenthesized_expression "(ushort)" (( "(") (identifier "ushort") () ")")) (argument_list "(DAT_00019272 - 0xb4)" (( "(") (binary_expression "DAT_00019272 - 0xb4" (identifier "DAT_00019272") (- "-") (number_literal "0xb4")) () ")"))) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n          bVar7 = uVar6 != 2;\n          DAT_000190cc = 2;\n          goto LAB_00012050;\n        }" ({ "{") (expression_statement "bVar7 = uVar6 != 2;" (assignment_expression "bVar7 = uVar6 != 2" (identifier "bVar7") (= "=") (binary_expression "uVar6 != 2" (identifier "uVar6") (!= "!=") (number_literal "2"))) (; ";")) (expression_statement "DAT_000190cc = 2;" (assignment_expression "DAT_000190cc = 2" (identifier "DAT_000190cc") (= "=") (number_literal "2")) (; ";")) (goto_statement "goto LAB_00012050;" (goto "goto") (statement_identifier "LAB_00012050") (; ";")) (} "}"))))) (expression_statement "DAT_000190cc = 3;" (assignment_expression "DAT_000190cc = 3" (identifier "DAT_000190cc") (= "=") (number_literal "3")) (; ";")) (labeled_statement "LAB_00012058:\n        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }" (statement_identifier "LAB_00012058") (: ":") (if_statement "if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }\n        else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }" (if "if") (parenthesized_expression "((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8))" (( "(") (binary_expression "(DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)" (parenthesized_expression "(DAT_000190c8 == 3)" (( "(") (binary_expression "DAT_000190c8 == 3" (identifier "DAT_000190c8") (== "==") (number_literal "3")) () ")")) (|| "||") (parenthesized_expression "(uVar6 == DAT_000190c8)" (( "(") (binary_expression "uVar6 == DAT_000190c8" (identifier "uVar6") (== "==") (identifier "DAT_000190c8")) () ")"))) () ")")) (compound_statement "{\n          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }\n          uVar6 = (uint)DAT_00019270;\n          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }\n        }" ({ "{") (if_statement "if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }" (if "if") (parenthesized_expression "((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4))" (( "(") (binary_expression "(DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)" (parenthesized_expression "(DAT_000190e4 != 0xffffffff)" (( "(") (binary_expression "DAT_000190e4 != 0xffffffff" (identifier "DAT_000190e4") (!= "!=") (number_literal "0xffffffff")) () ")")) (&& "&&") (parenthesized_expression "(uVar5 != DAT_000190e4)" (( "(") (binary_expression "uVar5 != DAT_000190e4" (identifier "uVar5") (!= "!=") (identifier "DAT_000190e4")) () ")"))) () ")")) (compound_statement "{\n            uVar6 = uVar5;\n            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);\n            goto LAB_0001223f;\n          }" ({ "{") (expression_statement "uVar6 = uVar5;" (assignment_expression "uVar6 = uVar5" (identifier "uVar6") (= "=") (identifier "uVar5")) (; ";")) (expression_statement "uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);" (assignment_expression "uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5)" (identifier "dcgettext") (argument_list "(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: Unmatched e_machine: %d is not %d\n"" (" """) (string_content "%s: Unmatched e_machine: %d is not %d") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") (, ",") (identifier "pFVar11") (, ",") (identifier "uVar12") (, ",") (identifier "uVar5") () ")")))) (; ";")) (goto_statement "goto LAB_0001223f;" (goto "goto") (statement_identifier "LAB_0001223f") (; ";")) (} "}"))) (expression_statement "uVar6 = (uint)DAT_00019270;" (assignment_expression "uVar6 = (uint)DAT_00019270" (identifier "uVar6") (= "=") (cast_expression "(uint)DAT_00019270" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "DAT_00019270"))) (; ";")) (if_statement "if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }\n          else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }" (if "if") (parenthesized_expression "((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc))" (( "(") (binary_expression "(DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)" (parenthesized_expression "(DAT_000190dc == 0xffffffff)" (( "(") (binary_expression "DAT_000190dc == 0xffffffff" (identifier "DAT_000190dc") (== "==") (number_literal "0xffffffff")) () ")")) (|| "||") (parenthesized_expression "(uVar6 == DAT_000190dc)" (( "(") (binary_expression "uVar6 == DAT_000190dc" (identifier "uVar6") (== "==") (identifier "DAT_000190dc")) () ")"))) () ")")) (compound_statement "{\n            uVar6 = _DAT_00019244 >> 0x18;\n            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }\n            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";\n            uVar9 = DAT_000190d4;\n          }" ({ "{") (expression_statement "uVar6 = _DAT_00019244 >> 0x18;" (assignment_expression "uVar6 = _DAT_00019244 >> 0x18" (identifier "uVar6") (= "=") (binary_expression "_DAT_00019244 >> 0x18" (identifier "_DAT_00019244") (>> ">>") (number_literal "0x18"))) (; ";")) (if_statement "if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }" (if "if") (parenthesized_expression "((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4))" (( "(") (binary_expression "(DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)" (parenthesized_expression "(DAT_000190d4 == 0xffffffff)" (( "(") (binary_expression "DAT_000190d4 == 0xffffffff" (identifier "DAT_000190d4") (== "==") (number_literal "0xffffffff")) () ")")) (|| "||") (parenthesized_expression "(uVar6 == DAT_000190d4)" (( "(") (binary_expression "uVar6 == DAT_000190d4" (identifier "uVar6") (== "==") (identifier "DAT_000190d4")) () ")"))) () ")")) (compound_statement "{\n              if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }\n              sVar1 = fwrite(__ptr,sVar1,1,param_2);\n              if (sVar1 == 1) {\n                return 0;\n              }\n              piVar4 = __errno_location();\n              pcVar10 = strerror(*piVar4);\n              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);\n              goto LAB_00011c4e;\n            }" ({ "{") (if_statement "if (DAT_00019244 == '\x01') {\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }\n              else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }" (if "if") (parenthesized_expression "(DAT_00019244 == '\x01')" (( "(") (binary_expression "DAT_00019244 == '\x01'" (identifier "DAT_00019244") (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (compound_statement "{\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }\n                __ptr = &DAT_00019200;\n                sVar1 = 0x34;\n              }" ({ "{") (if_statement "if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }" (if "if") (parenthesized_expression "(DAT_000190e0 != 0xffffffff)" (( "(") (binary_expression "DAT_000190e0 != 0xffffffff" (identifier "DAT_000190e0") (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }" ({ "{") (expression_statement "(*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);" (call_expression "(*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2)" (parenthesized_expression "(*DAT_00019298)" (( "(") (pointer_expression "*DAT_00019298" (* "*") (identifier "DAT_00019298")) () ")")) (argument_list "(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2)" (( "(") (pointer_expression "&DAT_00019212" (& "&") (identifier "DAT_00019212")) (, ",") (identifier "DAT_000190e0") (, ",") (binary_expression "(int)DAT_000190e0 >> 0x1f" (cast_expression "(int)DAT_000190e0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_000190e0")) (>> ">>") (number_literal "0x1f")) (, ",") (number_literal "2") () ")"))) (; ";")) (} "}"))) (if_statement "if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }" (if "if") (parenthesized_expression "(DAT_000190d8 != -1)" (( "(") (binary_expression "DAT_000190d8 != -1" (identifier "DAT_000190d8") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }" ({ "{") (expression_statement "(*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);" (call_expression "(*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2)" (parenthesized_expression "(*DAT_00019298)" (( "(") (pointer_expression "*DAT_00019298" (* "*") (identifier "DAT_00019298")) () ")")) (argument_list "(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2)" (( "(") (pointer_expression "&DAT_00019210" (& "&") (identifier "DAT_00019210")) (, ",") (identifier "DAT_000190d8") (, ",") (binary_expression "DAT_000190d8 >> 0x1f" (identifier "DAT_000190d8") (>> ">>") (number_literal "0x1f")) (, ",") (number_literal "2") () ")"))) (; ";")) (} "}"))) (if_statement "if (DAT_000190d0 != -1) {\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }" (if "if") (parenthesized_expression "(DAT_000190d0 != -1)" (( "(") (binary_expression "DAT_000190d0 != -1" (identifier "DAT_000190d0") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);\n                }" ({ "{") (expression_statement "DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);" (assignment_expression "DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204)" (identifier "DAT_00019204") (= "=") (call_expression "CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204)" (identifier "CONCAT13") (argument_list "((char)DAT_000190d0,(undefined3)DAT_00019204)" (( "(") (cast_expression "(char)DAT_000190d0" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "DAT_000190d0")) (, ",") (cast_expression "(undefined3)DAT_00019204" (( "(") (type_descriptor "undefined3" (type_identifier "undefined3")) () ")") (identifier "DAT_00019204")) () ")")))) (; ";")) (} "}"))) (expression_statement "__ptr = &DAT_00019200;" (assignment_expression "__ptr = &DAT_00019200" (identifier "__ptr") (= "=") (pointer_expression "&DAT_00019200" (& "&") (identifier "DAT_00019200"))) (; ";")) (expression_statement "sVar1 = 0x34;" (assignment_expression "sVar1 = 0x34" (identifier "sVar1") (= "=") (number_literal "0x34")) (; ";")) (} "}")) (else_clause "else {\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }" (else "else") (compound_statement "{\n                if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }\n                if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }\n                if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }\n                if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }\n                __ptr = &DAT_000191c0;\n                sVar1 = 0x40;\n              }" ({ "{") (if_statement "if (DAT_00019244 != '\x02') {\n                    \n                  abort();\n                }" (if "if") (parenthesized_expression "(DAT_00019244 != '\x02')" (( "(") (binary_expression "DAT_00019244 != '\x02'" (identifier "DAT_00019244") (!= "!=") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (compound_statement "{\n                    \n                  abort();\n                }" ({ "{") (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (DAT_000190e0 != 0xffffffff) {\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }" (if "if") (parenthesized_expression "(DAT_000190e0 != 0xffffffff)" (( "(") (binary_expression "DAT_000190e0 != 0xffffffff" (identifier "DAT_000190e0") (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);\n                }" ({ "{") (expression_statement "(*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);" (call_expression "(*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2)" (parenthesized_expression "(*DAT_00019298)" (( "(") (pointer_expression "*DAT_00019298" (* "*") (identifier "DAT_00019298")) () ")")) (argument_list "(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2)" (( "(") (pointer_expression "&DAT_000191d2" (& "&") (identifier "DAT_000191d2")) (, ",") (identifier "DAT_000190e0") (, ",") (binary_expression "(int)DAT_000190e0 >> 0x1f" (cast_expression "(int)DAT_000190e0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_000190e0")) (>> ">>") (number_literal "0x1f")) (, ",") (number_literal "2") () ")"))) (; ";")) (} "}"))) (if_statement "if (DAT_000190d8 != -1) {\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }" (if "if") (parenthesized_expression "(DAT_000190d8 != -1)" (( "(") (binary_expression "DAT_000190d8 != -1" (identifier "DAT_000190d8") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);\n                }" ({ "{") (expression_statement "(*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);" (call_expression "(*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2)" (parenthesized_expression "(*DAT_00019298)" (( "(") (pointer_expression "*DAT_00019298" (* "*") (identifier "DAT_00019298")) () ")")) (argument_list "(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2)" (( "(") (pointer_expression "&DAT_000191d0" (& "&") (identifier "DAT_000191d0")) (, ",") (identifier "DAT_000190d8") (, ",") (binary_expression "DAT_000190d8 >> 0x1f" (identifier "DAT_000190d8") (>> ">>") (number_literal "0x1f")) (, ",") (number_literal "2") () ")"))) (; ";")) (} "}"))) (if_statement "if (DAT_000190d0 != -1) {\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }" (if "if") (parenthesized_expression "(DAT_000190d0 != -1)" (( "(") (binary_expression "DAT_000190d0 != -1" (identifier "DAT_000190d0") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);\n                }" ({ "{") (expression_statement "DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);" (assignment_expression "DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4)" (identifier "DAT_000191c4") (= "=") (call_expression "CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4)" (identifier "CONCAT13") (argument_list "((char)DAT_000190d0,(undefined3)DAT_000191c4)" (( "(") (cast_expression "(char)DAT_000190d0" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "DAT_000190d0")) (, ",") (cast_expression "(undefined3)DAT_000191c4" (( "(") (type_descriptor "undefined3" (type_identifier "undefined3")) () ")") (identifier "DAT_000191c4")) () ")")))) (; ";")) (} "}"))) (expression_statement "__ptr = &DAT_000191c0;" (assignment_expression "__ptr = &DAT_000191c0" (identifier "__ptr") (= "=") (pointer_expression "&DAT_000191c0" (& "&") (identifier "DAT_000191c0"))) (; ";")) (expression_statement "sVar1 = 0x40;" (assignment_expression "sVar1 = 0x40" (identifier "sVar1") (= "=") (number_literal "0x40")) (; ";")) (} "}")))) (expression_statement "sVar1 = fwrite(__ptr,sVar1,1,param_2);" (assignment_expression "sVar1 = fwrite(__ptr,sVar1,1,param_2)" (identifier "sVar1") (= "=") (call_expression "fwrite(__ptr,sVar1,1,param_2)" (identifier "fwrite") (argument_list "(__ptr,sVar1,1,param_2)" (( "(") (identifier "__ptr") (, ",") (identifier "sVar1") (, ",") (number_literal "1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (sVar1 == 1) {\n                return 0;\n              }" (if "if") (parenthesized_expression "(sVar1 == 1)" (( "(") (binary_expression "sVar1 == 1" (identifier "sVar1") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n                return 0;\n              }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "piVar4 = __errno_location();" (assignment_expression "piVar4 = __errno_location()" (identifier "piVar4") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pcVar10 = strerror(*piVar4);" (assignment_expression "pcVar10 = strerror(*piVar4)" (identifier "pcVar10") (= "=") (call_expression "strerror(*piVar4)" (identifier "strerror") (argument_list "(*piVar4)" (( "(") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) () ")")))) (; ";")) (expression_statement "uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"%s: Failed to update ELF header: %s\n",5)" (identifier "dcgettext") (argument_list "(0,"%s: Failed to update ELF header: %s\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: Failed to update ELF header: %s\n"" (" """) (string_content "%s: Failed to update ELF header: %s") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (goto_statement "goto LAB_00011c4e;" (goto "goto") (statement_identifier "LAB_00011c4e") (; ";")) (} "}"))) (expression_statement "pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";" (assignment_expression "pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n"" (identifier "pcVar10") (= "=") (string_literal ""%s: Unmatched EI_OSABI: %d is not %d\n"" (" """) (string_content "%s: Unmatched EI_OSABI: %d is not %d") (escape_sequence "\n") (" """))) (; ";")) (expression_statement "uVar9 = DAT_000190d4;" (assignment_expression "uVar9 = DAT_000190d4" (identifier "uVar9") (= "=") (identifier "DAT_000190d4")) (; ";")) (} "}")) (else_clause "else {\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }" (else "else") (compound_statement "{\n            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";\n            uVar9 = DAT_000190dc;\n          }" ({ "{") (expression_statement "pcVar10 = "%s: Unmatched e_type: %d is not %d\n";" (assignment_expression "pcVar10 = "%s: Unmatched e_type: %d is not %d\n"" (identifier "pcVar10") (= "=") (string_literal ""%s: Unmatched e_type: %d is not %d\n"" (" """) (string_content "%s: Unmatched e_type: %d is not %d") (escape_sequence "\n") (" """))) (; ";")) (expression_statement "uVar9 = DAT_000190dc;" (assignment_expression "uVar9 = DAT_000190dc" (identifier "uVar9") (= "=") (identifier "DAT_000190dc")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }" (else "else") (compound_statement "{\n          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";\n          uVar9 = DAT_000190c8;\n        }" ({ "{") (expression_statement "pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";" (assignment_expression "pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n"" (identifier "pcVar10") (= "=") (string_literal ""%s: Unmatched output EI_CLASS: %d is not %d\n"" (" """) (string_content "%s: Unmatched output EI_CLASS: %d is not %d") (escape_sequence "\n") (" """))) (; ";")) (expression_statement "uVar9 = DAT_000190c8;" (assignment_expression "uVar9 = DAT_000190c8" (identifier "uVar9") (= "=") (identifier "DAT_000190c8")) (; ";")) (} "}"))))) (} "}")) (else_clause "else {\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }" (else "else") (compound_statement "{\n        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;\nLAB_00012050:\n        if (!bVar7) goto LAB_00012058;\n        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";\n        uVar9 = DAT_000190cc;\n      }" ({ "{") (expression_statement "bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;" (assignment_expression "bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc" (identifier "bVar7") (= "=") (binary_expression "DAT_000190cc != 3 && uVar6 != DAT_000190cc" (binary_expression "DAT_000190cc != 3" (identifier "DAT_000190cc") (!= "!=") (number_literal "3")) (&& "&&") (binary_expression "uVar6 != DAT_000190cc" (identifier "uVar6") (!= "!=") (identifier "DAT_000190cc")))) (; ";")) (labeled_statement "LAB_00012050:\n        if (!bVar7) goto LAB_00012058;" (statement_identifier "LAB_00012050") (: ":") (if_statement "if (!bVar7) goto LAB_00012058;" (if "if") (parenthesized_expression "(!bVar7)" (( "(") (unary_expression "!bVar7" (! "!") (identifier "bVar7")) () ")")) (goto_statement "goto LAB_00012058;" (goto "goto") (statement_identifier "LAB_00012058") (; ";")))) (expression_statement "pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";" (assignment_expression "pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n"" (identifier "pcVar10") (= "=") (string_literal ""%s: Unmatched input EI_CLASS: %d is not %d\n"" (" """) (string_content "%s: Unmatched input EI_CLASS: %d is not %d") (escape_sequence "\n") (" """))) (; ";")) (expression_statement "uVar9 = DAT_000190cc;" (assignment_expression "uVar9 = DAT_000190cc" (identifier "uVar9") (= "=") (identifier "DAT_000190cc")) (; ";")) (} "}")))) (expression_statement "uVar2 = dcgettext(0,pcVar10,5);" (assignment_expression "uVar2 = dcgettext(0,pcVar10,5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,pcVar10,5)" (identifier "dcgettext") (argument_list "(0,pcVar10,5)" (( "(") (number_literal "0") (, ",") (identifier "pcVar10") (, ",") (number_literal "5") () ")")))) (; ";")) (labeled_statement "LAB_0001223f:\n      error(uVar2,uVar12,uVar6,uVar9);" (statement_identifier "LAB_0001223f") (: ":") (expression_statement "error(uVar2,uVar12,uVar6,uVar9);" (call_expression "error(uVar2,uVar12,uVar6,uVar9)" (identifier "error") (argument_list "(uVar2,uVar12,uVar6,uVar9)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar12") (, ",") (identifier "uVar6") (, ",") (identifier "uVar9") () ")"))) (; ";"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "DAT_00019294 = FUN_00012e50;" (assignment_expression "DAT_00019294 = FUN_00012e50" (identifier "DAT_00019294") (= "=") (identifier "FUN_00012e50")) (; ";")) (expression_statement "DAT_00019298 = FUN_00012d40;" (assignment_expression "DAT_00019298 = FUN_00012d40" (identifier "DAT_00019298") (= "=") (identifier "FUN_00012d40")) (; ";")) (if_statement "if (DAT_00019244 == '\x01') goto LAB_00011d08;" (if "if") (parenthesized_expression "(DAT_00019244 == '\x01')" (( "(") (binary_expression "DAT_00019244 == '\x01'" (identifier "DAT_00019244") (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (goto_statement "goto LAB_00011d08;" (goto "goto") (statement_identifier "LAB_00011d08") (; ";"))) (labeled_statement "LAB_00011ca7:\n    uVar9 = _DAT_00019244 & 0xff;" (statement_identifier "LAB_00011ca7") (: ":") (expression_statement "uVar9 = _DAT_00019244 & 0xff;" (assignment_expression "uVar9 = _DAT_00019244 & 0xff" (identifier "uVar9") (= "=") (binary_expression "_DAT_00019244 & 0xff" (identifier "_DAT_00019244") (& "&") (number_literal "0xff"))) (; ";"))) (if_statement "if (DAT_00019244 == '\x02') {\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }\n    else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }" (if "if") (parenthesized_expression "(DAT_00019244 == '\x02')" (( "(") (binary_expression "DAT_00019244 == '\x02'" (identifier "DAT_00019244") (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (compound_statement "{\n      puVar13 = &DAT_000191d0;\n      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);\n      if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }\n    }" ({ "{") (expression_statement "puVar13 = &DAT_000191d0;" (assignment_expression "puVar13 = &DAT_000191d0" (identifier "puVar13") (= "=") (pointer_expression "&DAT_000191d0" (& "&") (identifier "DAT_000191d0"))) (; ";")) (expression_statement "sVar1 = fread(&DAT_000191d0,0x30,1,param_2);" (assignment_expression "sVar1 = fread(&DAT_000191d0,0x30,1,param_2)" (identifier "sVar1") (= "=") (call_expression "fread(&DAT_000191d0,0x30,1,param_2)" (identifier "fread") (argument_list "(&DAT_000191d0,0x30,1,param_2)" (( "(") (pointer_expression "&DAT_000191d0" (& "&") (identifier "DAT_000191d0")) (, ",") (number_literal "0x30") (, ",") (number_literal "1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (sVar1 == 1) {\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }" (if "if") (parenthesized_expression "(sVar1 == 1)" (( "(") (binary_expression "sVar1 == 1" (identifier "sVar1") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        DAT_00019270 = (*DAT_00019294)(puVar13,2);\n        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);\n        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);\n        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);\n        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019250 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);\n        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019258 = (undefined4)uVar8;\n        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);\n        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);\n        DAT_00019260 = (undefined4)uVar8;\n        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);\n        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);\n        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);\n        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);\n        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);\n        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);\n        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);\n        DAT_000191c0 = DAT_00019240;\n        DAT_000191c4 = _DAT_00019244;\n        DAT_000191c8 = DAT_00019248;\n        DAT_000191cc = DAT_0001924c;\n        goto LAB_00011fce;\n      }" ({ "{") (expression_statement "DAT_00019270 = (*DAT_00019294)(puVar13,2);" (assignment_expression "DAT_00019270 = (*DAT_00019294)(puVar13,2)" (identifier "DAT_00019270") (= "=") (call_expression "(*DAT_00019294)(puVar13,2)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(puVar13,2)" (( "(") (identifier "puVar13") (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);" (assignment_expression "DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2)" (identifier "DAT_00019272") (= "=") (call_expression "(*DAT_00019294)(&DAT_000191d2,2)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_000191d2,2)" (( "(") (pointer_expression "&DAT_000191d2" (& "&") (identifier "DAT_000191d2")) (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);" (assignment_expression "DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4)" (identifier "DAT_00019268") (= "=") (call_expression "(*DAT_00019294)(&DAT_000191d4,4)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_000191d4,4)" (( "(") (pointer_expression "&DAT_000191d4" (& "&") (identifier "DAT_000191d4")) (, ",") (number_literal "4") () ")")))) (; ";")) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_000191d8,8);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_000191d8,8)" (identifier "uVar8") (= "=") (call_expression "(*DAT_00019294)(&DAT_000191d8,8)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_000191d8,8)" (( "(") (pointer_expression "&DAT_000191d8" (& "&") (identifier "DAT_000191d8")) (, ",") (number_literal "8") () ")")))) (; ";")) (expression_statement "DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20)" (identifier "DAT_00019254") (= "=") (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulonglong)uVar8 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar8")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "DAT_00019250 = (undefined4)uVar8;" (assignment_expression "DAT_00019250 = (undefined4)uVar8" (identifier "DAT_00019250") (= "=") (cast_expression "(undefined4)uVar8" (( "(") (type_descriptor "undefined4" (type_identifier "undefined4")) () ")") (identifier "uVar8"))) (; ";")) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_000191e0,8);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_000191e0,8)" (identifier "uVar8") (= "=") (call_expression "(*DAT_00019294)(&DAT_000191e0,8)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_000191e0,8)" (( "(") (pointer_expression "&DAT_000191e0" (& "&") (identifier "DAT_000191e0")) (, ",") (number_literal "8") () ")")))) (; ";")) (expression_statement "DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20)" (identifier "DAT_0001925c") (= "=") (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulonglong)uVar8 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar8")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "DAT_00019258 = (undefined4)uVar8;" (assignment_expression "DAT_00019258 = (undefined4)uVar8" (identifier "DAT_00019258") (= "=") (cast_expression "(undefined4)uVar8" (( "(") (type_descriptor "undefined4" (type_identifier "undefined4")) () ")") (identifier "uVar8"))) (; ";")) (expression_statement "uVar8 = (*DAT_00019294)(&DAT_000191e8,8);" (assignment_expression "uVar8 = (*DAT_00019294)(&DAT_000191e8,8)" (identifier "uVar8") (= "=") (call_expression "(*DAT_00019294)(&DAT_000191e8,8)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_000191e8,8)" (( "(") (pointer_expression "&DAT_000191e8" (& "&") (identifier "DAT_000191e8")) (, ",") (number_literal "8") () ")")))) (; ";")) (expression_statement "DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);" (assignment_expression "DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20)" (identifier "DAT_00019264") (= "=") (call_expression "(undefined4)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulonglong)uVar8 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar8")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "DAT_00019260 = (undefined4)uVar8;" (assignment_expression "DAT_00019260 = (undefined4)uVar8" (identifier "DAT_00019260") (= "=") (cast_expression "(undefined4)uVar8" (( "(") (type_descriptor "undefined4" (type_identifier "undefined4")) () ")") (identifier "uVar8"))) (; ";")) (expression_statement "DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);" (assignment_expression "DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4)" (identifier "DAT_0001926c") (= "=") (call_expression "(*DAT_00019294)(&DAT_000191f0,4)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_000191f0,4)" (( "(") (pointer_expression "&DAT_000191f0" (& "&") (identifier "DAT_000191f0")) (, ",") (number_literal "4") () ")")))) (; ";")) (expression_statement "DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);" (assignment_expression "DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2)" (identifier "DAT_00019274") (= "=") (call_expression "(*DAT_00019294)(&DAT_000191f4,2)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_000191f4,2)" (( "(") (pointer_expression "&DAT_000191f4" (& "&") (identifier "DAT_000191f4")) (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);" (assignment_expression "DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2)" (identifier "DAT_00019278") (= "=") (call_expression "(*DAT_00019294)(&DAT_000191f6,2)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_000191f6,2)" (( "(") (pointer_expression "&DAT_000191f6" (& "&") (identifier "DAT_000191f6")) (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);" (assignment_expression "DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2)" (identifier "DAT_0001927c") (= "=") (call_expression "(*DAT_00019294)(&DAT_000191f8,2)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_000191f8,2)" (( "(") (pointer_expression "&DAT_000191f8" (& "&") (identifier "DAT_000191f8")) (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);" (assignment_expression "DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2)" (identifier "DAT_00019280") (= "=") (call_expression "(*DAT_00019294)(&DAT_000191fa,2)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_000191fa,2)" (( "(") (pointer_expression "&DAT_000191fa" (& "&") (identifier "DAT_000191fa")) (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);" (assignment_expression "DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2)" (identifier "DAT_00019284") (= "=") (call_expression "(*DAT_00019294)(&DAT_000191fc,2)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_000191fc,2)" (( "(") (pointer_expression "&DAT_000191fc" (& "&") (identifier "DAT_000191fc")) (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);" (assignment_expression "DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2)" (identifier "DAT_00019288") (= "=") (call_expression "(*DAT_00019294)(&DAT_000191fe,2)" (parenthesized_expression "(*DAT_00019294)" (( "(") (pointer_expression "*DAT_00019294" (* "*") (identifier "DAT_00019294")) () ")")) (argument_list "(&DAT_000191fe,2)" (( "(") (pointer_expression "&DAT_000191fe" (& "&") (identifier "DAT_000191fe")) (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "DAT_000191c0 = DAT_00019240;" (assignment_expression "DAT_000191c0 = DAT_00019240" (identifier "DAT_000191c0") (= "=") (identifier "DAT_00019240")) (; ";")) (expression_statement "DAT_000191c4 = _DAT_00019244;" (assignment_expression "DAT_000191c4 = _DAT_00019244" (identifier "DAT_000191c4") (= "=") (identifier "_DAT_00019244")) (; ";")) (expression_statement "DAT_000191c8 = DAT_00019248;" (assignment_expression "DAT_000191c8 = DAT_00019248" (identifier "DAT_000191c8") (= "=") (identifier "DAT_00019248")) (; ";")) (expression_statement "DAT_000191cc = DAT_0001924c;" (assignment_expression "DAT_000191cc = DAT_0001924c" (identifier "DAT_000191cc") (= "=") (identifier "DAT_0001924c")) (; ";")) (goto_statement "goto LAB_00011fce;" (goto "goto") (statement_identifier "LAB_00011fce") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }" (else "else") (compound_statement "{\n      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);\n      error(uVar2,uVar9 & 0xff);\n    }" ({ "{") (expression_statement "uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);" (assignment_expression "uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"Unsupported EI_CLASS: %d\n",5)" (identifier "dcgettext") (argument_list "(0,"Unsupported EI_CLASS: %d\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""Unsupported EI_CLASS: %d\n"" (" """) (string_content "Unsupported EI_CLASS: %d") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "error(uVar2,uVar9 & 0xff);" (call_expression "error(uVar2,uVar9 & 0xff)" (identifier "error") (argument_list "(uVar2,uVar9 & 0xff)" (( "(") (identifier "uVar2") (, ",") (binary_expression "uVar9 & 0xff" (identifier "uVar9") (& "&") (number_literal "0xff")) () ")"))) (; ";")) (} "}")))) (} "}"))) (labeled_statement "LAB_00011c39:\n  pcVar10 = (char *)0x5;" (statement_identifier "LAB_00011c39") (: ":") (expression_statement "pcVar10 = (char *)0x5;" (assignment_expression "pcVar10 = (char *)0x5" (identifier "pcVar10") (= "=") (cast_expression "(char *)0x5" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x5"))) (; ";"))) (expression_statement "uVar2 = dcgettext(0,"%s: Failed to read ELF header\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%s: Failed to read ELF header\n",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"%s: Failed to read ELF header\n",5)" (identifier "dcgettext") (argument_list "(0,"%s: Failed to read ELF header\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: Failed to read ELF header\n"" (" """) (string_content "%s: Failed to read ELF header") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (labeled_statement "LAB_00011c4e:\n  error(uVar2,uVar12,pcVar10);" (statement_identifier "LAB_00011c4e") (: ":") (expression_statement "error(uVar2,uVar12,pcVar10);" (call_expression "error(uVar2,uVar12,pcVar10)" (identifier "error") (argument_list "(uVar2,uVar12,pcVar10)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar12") (, ",") (identifier "pcVar10") () ")"))) (; ";"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

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

int __regparm3 function_1(char *file_name,type_1 *file)

{
  type_2 var_28;
  type_3 var_27;
  long __off;
  size_t var_3;
  char *pcVar4;
  int var_5;
  type_4 *__ptr;
  int *piVar6;
  type_5 var_9;
  type_5 var_8;
  bool bVar9;
  type_6 eVar10;
  type_5 eVar11;
  char *pcVar12;
  type_1 *pFVar13;
  type_7 var_26;
  type_8 *puVar15;
  
  __off = var_1((type_1 *)file);
  var_3 = var_2(&elf_header,0x10,1,(type_1 *)file);
  if (var_3 != 1) goto LAB_00011c39;
  pFVar13 = file;
  if (elf_header.e_ident[5] == '\x02') {
    byte_get = byte_get_big_endian;
    byte_put = byte_put_big_endian;
    if (elf_header.e_ident[4] != '\x01') goto LAB_00011ca7;
LAB_00011d08:
    puVar15 = ehdr32.e_type;
    var_3 = var_2(ehdr32.e_type,0x24,1,(type_1 *)file);
    if (var_3 != 1) goto LAB_00011c39;
    eVar10 = (*byte_get)(puVar15,2);
    elf_header.e_type = (type_9)eVar10;
    eVar10 = (*byte_get)(ehdr32.e_machine,2);
    elf_header.e_machine = (type_9)eVar10;
    eVar10 = (*byte_get)(ehdr32.e_version,4);
    elf_header.e_version = (type_10)eVar10;
    elf_header.e_entry = (*byte_get)(ehdr32.e_entry,4);
    elf_header.e_phoff = (*byte_get)(ehdr32.e_phoff,4);
    elf_header.e_shoff = (*byte_get)(ehdr32.e_shoff,4);
    eVar10 = (*byte_get)(ehdr32.e_flags,4);
    elf_header.e_flags = (type_10)eVar10;
    eVar10 = (*byte_get)(ehdr32.e_ehsize,2);
    elf_header.e_ehsize = (type_7)eVar10;
    eVar10 = (*byte_get)(ehdr32.e_phentsize,2);
    elf_header.e_phentsize = (type_7)eVar10;
    eVar10 = (*byte_get)(ehdr32.e_phnum,2);
    elf_header.e_phnum = (type_7)eVar10;
    eVar10 = (*byte_get)(ehdr32.e_shentsize,2);
    elf_header.e_shentsize = (type_7)eVar10;
    eVar10 = (*byte_get)(ehdr32.e_shnum,2);
    elf_header.e_shnum = (type_7)eVar10;
    eVar10 = (*byte_get)(ehdr32.e_shstrndx,2);
    elf_header.e_shstrndx = (type_7)eVar10;
    ehdr32.e_ident[0] = elf_header.e_ident[0];
    ehdr32.e_ident[1] = elf_header.e_ident[1];
    ehdr32.e_ident[2] = elf_header.e_ident[2];
    ehdr32.e_ident[3] = elf_header.e_ident[3];
    ehdr32.e_ident[4] = elf_header.e_ident[4];
    ehdr32.e_ident[5] = elf_header.e_ident[5];
    ehdr32.e_ident[6] = elf_header.e_ident[6];
    ehdr32.e_ident[7] = elf_header.e_ident[7];
    ehdr32.e_ident[8] = elf_header.e_ident[8];
    ehdr32.e_ident[9] = elf_header.e_ident[9];
    ehdr32.e_ident[10] = elf_header.e_ident[10];
    ehdr32.e_ident[0xb] = elf_header.e_ident[0xb];
    ehdr32.e_ident[0xc] = elf_header.e_ident[0xc];
    ehdr32.e_ident[0xd] = elf_header.e_ident[0xd];
    ehdr32.e_ident[0xe] = elf_header.e_ident[0xe];
    ehdr32.e_ident[0xf] = elf_header.e_ident[0xf];
LAB_00011fce:
    var_5 = var_4((type_1 *)file,__off,0);
    if (var_5 != 0) {
      pcVar4 = (char *)var_6(0,"%s: Failed to seek to ELF header\n",5);
      var_7(pcVar4,file_name);
    }
    eVar11 = var_17;
    if (elf_header.e_ident._0_4_ == 0x464c457f) {
      if (elf_header.e_ident[6] != '\x01') {
        var_8 = (type_5)elf_header.e_ident[6];
        pcVar4 = (char *)var_6(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar13,
                                   file_name,var_8);
        eVar11 = var_13;
        var_8 = var_8 & 0xff;
        goto LAB_0001223f;
      }
      var_9 = (type_5)elf_header.e_machine;
      var_28 = elf_header.e_entry;
      var_27 = elf_header.e_shoff;
      if (var_9 != var_10) {
        var_8 = elf_header.e_ident._4_4_ & 0xff;
        if (var_11 == var_12) {
          if (elf_header.e_machine == 6) {
LAB_00012338:
            bVar9 = var_8 != var_13;
            var_11 = var_13;
            goto LAB_00012050;
          }
          if (elf_header.e_machine < 7) {
            if (elf_header.e_machine == 3) goto LAB_00012338;
          }
          else if ((type_9)(elf_header.e_machine - 0xb4) < 2) {
            bVar9 = var_8 != var_14;
            var_11 = var_14;
            goto LAB_00012050;
          }
          var_11 = var_16;
LAB_00012058:
          if ((var_15 == var_16) || (var_8 == var_15)) {
            if ((var_17 != -1) && (var_9 != var_17)) {
              var_8 = var_9;
              pcVar4 = (char *)var_6(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar13,
                                         file_name,var_9);
              goto LAB_0001223f;
            }
            var_8 = (type_5)elf_header.e_type;
            if ((var_18 == -1) || (var_8 == var_18)) {
              var_8 = (type_7)elf_header.e_ident._4_4_ >> 0x18;
              if ((var_19 == -1) || (var_8 == var_19)) {
                if (elf_header.e_ident[4] == '\x01') {
                  if (var_10 != -1) {
                    (*byte_put)(ehdr32.e_machine,(type_11)var_10,2);
                  }
                  if (var_20 != -1) {
                    (*byte_put)(ehdr32.e_type,(type_11)var_20,2);
                  }
                  if (var_21 != -1) {
                    ehdr32.e_ident[7] = (type_8)var_21;
                  }
                  __ptr = &ehdr32;
                  var_3 = 0x34;
                }
                else {
                  if (elf_header.e_ident[4] != '\x02') {
                    /* WARNING: Subroutine does not return */
                    var_22();
                  }
                  if (var_10 != -1) {
                    (*byte_put)(ehdr64.e_machine,(type_11)var_10,2);
                  }
                  if (var_20 != -1) {
                    (*byte_put)(ehdr64.e_type,(type_11)var_20,2);
                  }
                  if (var_21 != -1) {
                    ehdr64.e_ident[7] = (type_8)var_21;
                  }
                  var_3 = 0x40;
                  __ptr = (type_4 *)&ehdr64;
                }
                var_3 = var_23(__ptr,var_3,1,(type_1 *)file);
                var_28 = elf_header.e_entry;
                var_27 = elf_header.e_shoff;
                if (var_3 != 1) {
                  piVar6 = var_24();
                  pcVar12 = var_25(*piVar6);
                  pcVar4 = (char *)var_6(0,"%s: Failed to update ELF header: %s\n",5);
                  goto LAB_00011c4e;
                }
                goto LAB_00012260;
              }
              pcVar4 = "%s: Unmatched EI_OSABI: %d is not %d\n";
              eVar11 = var_19;
            }
            else {
              pcVar4 = "%s: Unmatched e_type: %d is not %d\n";
              eVar11 = var_18;
            }
          }
          else {
            pcVar4 = "%s: Unmatched output EI_CLASS: %d is not %d\n";
            eVar11 = var_15;
          }
        }
        else {
          bVar9 = var_11 != var_16 && var_8 != var_11;
LAB_00012050:
          if (!bVar9) goto LAB_00012058;
          pcVar4 = "%s: Unmatched input EI_CLASS: %d is not %d\n";
          eVar11 = var_11;
        }
        pcVar4 = (char *)var_6(0,pcVar4,5);
LAB_0001223f:
        var_7(pcVar4,file_name,var_8,eVar11);
        return 1;
      }
LAB_00012260:
      var_5 = 0;
      goto LAB_00011c60;
    }
    pcVar12 = (char *)0x5;
    pcVar4 = (char *)var_6(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);
  }
  else {
    byte_get = byte_get_little_endian;
    byte_put = byte_put_little_endian;
    if (elf_header.e_ident[4] == '\x01') goto LAB_00011d08;
LAB_00011ca7:
    var_26 = elf_header.e_ident._4_4_ & 0xff;
    if (elf_header.e_ident[4] == '\x02') {
      puVar15 = ehdr64.e_type;
      var_3 = var_2(ehdr64.e_type,0x30,1,(type_1 *)file);
      if (var_3 != 1) goto LAB_00011c39;
      eVar10 = (*byte_get)(puVar15,2);
      elf_header.e_type = (type_9)eVar10;
      eVar10 = (*byte_get)(ehdr64.e_machine,2);
      elf_header.e_machine = (type_9)eVar10;
      eVar10 = (*byte_get)(ehdr64.e_version,4);
      elf_header.e_version = (type_10)eVar10;
      elf_header.e_entry = (*byte_get)(ehdr64.e_entry,8);
      elf_header.e_phoff = (*byte_get)(ehdr64.e_phoff,8);
      elf_header.e_shoff = (*byte_get)(ehdr64.e_shoff,8);
      eVar10 = (*byte_get)(ehdr64.e_flags,4);
      elf_header.e_flags = (type_10)eVar10;
      eVar10 = (*byte_get)(ehdr64.e_ehsize,2);
      elf_header.e_ehsize = (type_7)eVar10;
      eVar10 = (*byte_get)(ehdr64.e_phentsize,2);
      elf_header.e_phentsize = (type_7)eVar10;
      eVar10 = (*byte_get)(ehdr64.e_phnum,2);
      elf_header.e_phnum = (type_7)eVar10;
      eVar10 = (*byte_get)(ehdr64.e_shentsize,2);
      elf_header.e_shentsize = (type_7)eVar10;
      eVar10 = (*byte_get)(ehdr64.e_shnum,2);
      elf_header.e_shnum = (type_7)eVar10;
      eVar10 = (*byte_get)(ehdr64.e_shstrndx,2);
      elf_header.e_shstrndx = (type_7)eVar10;
      ehdr64.e_ident[0] = elf_header.e_ident[0];
      ehdr64.e_ident[1] = elf_header.e_ident[1];
      ehdr64.e_ident[2] = elf_header.e_ident[2];
      ehdr64.e_ident[3] = elf_header.e_ident[3];
      ehdr64.e_ident[4] = elf_header.e_ident[4];
      ehdr64.e_ident[5] = elf_header.e_ident[5];
      ehdr64.e_ident[6] = elf_header.e_ident[6];
      ehdr64.e_ident[7] = elf_header.e_ident[7];
      ehdr64.e_ident[8] = elf_header.e_ident[8];
      ehdr64.e_ident[9] = elf_header.e_ident[9];
      ehdr64.e_ident[10] = elf_header.e_ident[10];
      ehdr64.e_ident[0xb] = elf_header.e_ident[0xb];
      ehdr64.e_ident[0xc] = elf_header.e_ident[0xc];
      ehdr64.e_ident[0xd] = elf_header.e_ident[0xd];
      ehdr64.e_ident[0xe] = elf_header.e_ident[0xe];
      ehdr64.e_ident[0xf] = elf_header.e_ident[0xf];
      goto LAB_00011fce;
    }
    pcVar4 = (char *)var_6(0,"Unsupported EI_CLASS: %d\n",5);
    var_7(pcVar4,var_26 & 0xff);
LAB_00011c39:
    pcVar12 = (char *)0x5;
    pcVar4 = (char *)var_6(0,"%s: Failed to read ELF header\n",5);
  }
LAB_00011c4e:
  var_7(pcVar4,file_name,pcVar12);
  var_5 = 1;
  var_28 = elf_header.e_entry;
  var_27 = elf_header.e_shoff;
LAB_00011c60:
  elf_header.e_shoff._4_4_ = (type_12)(var_27 >> 0x20);
  elf_header.e_shoff._0_4_ = (type_12)var_27;
  elf_header.e_entry._4_4_ = (type_12)(var_28 >> 0x20);
  elf_header.e_entry._0_4_ = (type_12)var_28;
  return var_5;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

undefined4 __regparm3 MASKED(undefined4 param_1,FILE *param_2)

{
  long __off;
  size_t sVar1;
  undefined4 uVar2;
  int iVar3;
  undefined4 *__ptr;
  int *piVar4;
  uint uVar5;
  uint uVar6;
  bool bVar7;
  undefined8 uVar8;
  uint uVar9;
  char *pcVar10;
  FILE *pFVar11;
  undefined4 extraout_var;
  undefined4 uVar12;
  undefined *puVar13;
  
  __off = ftell(param_2);
  uVar12 = extraout_var;
  sVar1 = fread(&DAT_00019240,0x10,1,param_2);
  if (sVar1 == 1) {
    pFVar11 = param_2;
    if (DAT_00019245 == '\x02') {
      DAT_00019294 = FUN_00012800;
      DAT_00019298 = FUN_00012dd0;
      if (DAT_00019244 != '\x01') goto LAB_00011ca7;
LAB_00011d08:
      puVar13 = &DAT_00019210;
      sVar1 = fread(&DAT_00019210,0x24,1,param_2);
      if (sVar1 != 1) goto LAB_00011c39;
      DAT_00019270 = (*DAT_00019294)(puVar13,2);
      DAT_00019272 = (*DAT_00019294)(&DAT_00019212,2);
      DAT_00019268 = (*DAT_00019294)(&DAT_00019214,4);
      uVar8 = (*DAT_00019294)(&DAT_00019218,4);
      DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);
      DAT_00019250 = (undefined4)uVar8;
      uVar8 = (*DAT_00019294)(&DAT_0001921c,4);
      DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);
      DAT_00019258 = (undefined4)uVar8;
      uVar8 = (*DAT_00019294)(&DAT_00019220,4);
      DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);
      DAT_00019260 = (undefined4)uVar8;
      DAT_0001926c = (*DAT_00019294)(&DAT_00019224,4);
      DAT_00019274 = (*DAT_00019294)(&DAT_00019228,2);
      DAT_00019278 = (*DAT_00019294)(&DAT_0001922a,2);
      DAT_0001927c = (*DAT_00019294)(&DAT_0001922c,2);
      DAT_00019280 = (*DAT_00019294)(&DAT_0001922e,2);
      DAT_00019284 = (*DAT_00019294)(&DAT_00019230,2);
      DAT_00019288 = (*DAT_00019294)(&DAT_00019232,2);
      DAT_00019200 = DAT_00019240;
      DAT_00019204 = _DAT_00019244;
      DAT_00019208 = DAT_00019248;
      DAT_0001920c = DAT_0001924c;
LAB_00011fce:
      iVar3 = fseek(param_2,__off,0);
      if (iVar3 != 0) {
        uVar2 = dcgettext(0,"%s: Failed to seek to ELF header\n",5);
        error(uVar2,uVar12);
      }
      uVar9 = DAT_000190e4;
      if (DAT_00019240 != 0x464c457f) {
        pcVar10 = (char *)0x5;
        uVar2 = dcgettext(0,"%s: Not an ELF file - wrong magic bytes at the start\n",5);
        goto LAB_00011c4e;
      }
      if (DAT_00019246 != 1) {
        uVar6 = (uint)DAT_00019246;
        uVar2 = dcgettext(0,"%s: Unsupported EI_VERSION: %d is not %d\n",5,pFVar11,uVar12,uVar6);
        uVar9 = 1;
        uVar6 = uVar6 & 0xff;
        goto LAB_0001223f;
      }
      uVar5 = (uint)DAT_00019272;
      if (uVar5 == DAT_000190e0) {
        return 0;
      }
      uVar6 = _DAT_00019244 & 0xff;
      if (DAT_000190cc == 0xffffffff) {
        if (DAT_00019272 == 6) {
LAB_00012338:
          bVar7 = uVar6 != 1;
          DAT_000190cc = 1;
          goto LAB_00012050;
        }
        if (DAT_00019272 < 7) {
          if (DAT_00019272 == 3) goto LAB_00012338;
        }
        else if ((ushort)(DAT_00019272 - 0xb4) < 2) {
          bVar7 = uVar6 != 2;
          DAT_000190cc = 2;
          goto LAB_00012050;
        }
        DAT_000190cc = 3;
LAB_00012058:
        if ((DAT_000190c8 == 3) || (uVar6 == DAT_000190c8)) {
          if ((DAT_000190e4 != 0xffffffff) && (uVar5 != DAT_000190e4)) {
            uVar6 = uVar5;
            uVar2 = dcgettext(0,"%s: Unmatched e_machine: %d is not %d\n",5,pFVar11,uVar12,uVar5);
            goto LAB_0001223f;
          }
          uVar6 = (uint)DAT_00019270;
          if ((DAT_000190dc == 0xffffffff) || (uVar6 == DAT_000190dc)) {
            uVar6 = _DAT_00019244 >> 0x18;
            if ((DAT_000190d4 == 0xffffffff) || (uVar6 == DAT_000190d4)) {
              if (DAT_00019244 == '\x01') {
                if (DAT_000190e0 != 0xffffffff) {
                  (*DAT_00019298)(&DAT_00019212,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);
                }
                if (DAT_000190d8 != -1) {
                  (*DAT_00019298)(&DAT_00019210,DAT_000190d8,DAT_000190d8 >> 0x1f,2);
                }
                if (DAT_000190d0 != -1) {
                  DAT_00019204 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_00019204);
                }
                __ptr = &DAT_00019200;
                sVar1 = 0x34;
              }
              else {
                if (DAT_00019244 != '\x02') {
                    /* WARNING: Subroutine does not return */
                  abort();
                }
                if (DAT_000190e0 != 0xffffffff) {
                  (*DAT_00019298)(&DAT_000191d2,DAT_000190e0,(int)DAT_000190e0 >> 0x1f,2);
                }
                if (DAT_000190d8 != -1) {
                  (*DAT_00019298)(&DAT_000191d0,DAT_000190d8,DAT_000190d8 >> 0x1f,2);
                }
                if (DAT_000190d0 != -1) {
                  DAT_000191c4 = CONCAT13((char)DAT_000190d0,(undefined3)DAT_000191c4);
                }
                __ptr = &DAT_000191c0;
                sVar1 = 0x40;
              }
              sVar1 = fwrite(__ptr,sVar1,1,param_2);
              if (sVar1 == 1) {
                return 0;
              }
              piVar4 = __errno_location();
              pcVar10 = strerror(*piVar4);
              uVar2 = dcgettext(0,"%s: Failed to update ELF header: %s\n",5);
              goto LAB_00011c4e;
            }
            pcVar10 = "%s: Unmatched EI_OSABI: %d is not %d\n";
            uVar9 = DAT_000190d4;
          }
          else {
            pcVar10 = "%s: Unmatched e_type: %d is not %d\n";
            uVar9 = DAT_000190dc;
          }
        }
        else {
          pcVar10 = "%s: Unmatched output EI_CLASS: %d is not %d\n";
          uVar9 = DAT_000190c8;
        }
      }
      else {
        bVar7 = DAT_000190cc != 3 && uVar6 != DAT_000190cc;
LAB_00012050:
        if (!bVar7) goto LAB_00012058;
        pcVar10 = "%s: Unmatched input EI_CLASS: %d is not %d\n";
        uVar9 = DAT_000190cc;
      }
      uVar2 = dcgettext(0,pcVar10,5);
LAB_0001223f:
      error(uVar2,uVar12,uVar6,uVar9);
      return 1;
    }
    DAT_00019294 = FUN_00012e50;
    DAT_00019298 = FUN_00012d40;
    if (DAT_00019244 == '\x01') goto LAB_00011d08;
LAB_00011ca7:
    uVar9 = _DAT_00019244 & 0xff;
    if (DAT_00019244 == '\x02') {
      puVar13 = &DAT_000191d0;
      sVar1 = fread(&DAT_000191d0,0x30,1,param_2);
      if (sVar1 == 1) {
        DAT_00019270 = (*DAT_00019294)(puVar13,2);
        DAT_00019272 = (*DAT_00019294)(&DAT_000191d2,2);
        DAT_00019268 = (*DAT_00019294)(&DAT_000191d4,4);
        uVar8 = (*DAT_00019294)(&DAT_000191d8,8);
        DAT_00019254 = (undefined4)((ulonglong)uVar8 >> 0x20);
        DAT_00019250 = (undefined4)uVar8;
        uVar8 = (*DAT_00019294)(&DAT_000191e0,8);
        DAT_0001925c = (undefined4)((ulonglong)uVar8 >> 0x20);
        DAT_00019258 = (undefined4)uVar8;
        uVar8 = (*DAT_00019294)(&DAT_000191e8,8);
        DAT_00019264 = (undefined4)((ulonglong)uVar8 >> 0x20);
        DAT_00019260 = (undefined4)uVar8;
        DAT_0001926c = (*DAT_00019294)(&DAT_000191f0,4);
        DAT_00019274 = (*DAT_00019294)(&DAT_000191f4,2);
        DAT_00019278 = (*DAT_00019294)(&DAT_000191f6,2);
        DAT_0001927c = (*DAT_00019294)(&DAT_000191f8,2);
        DAT_00019280 = (*DAT_00019294)(&DAT_000191fa,2);
        DAT_00019284 = (*DAT_00019294)(&DAT_000191fc,2);
        DAT_00019288 = (*DAT_00019294)(&DAT_000191fe,2);
        DAT_000191c0 = DAT_00019240;
        DAT_000191c4 = _DAT_00019244;
        DAT_000191c8 = DAT_00019248;
        DAT_000191cc = DAT_0001924c;
        goto LAB_00011fce;
      }
    }
    else {
      uVar2 = dcgettext(0,"Unsupported EI_CLASS: %d\n",5);
      error(uVar2,uVar9 & 0xff);
    }
  }
LAB_00011c39:
  pcVar10 = (char *)0x5;
  uVar2 = dcgettext(0,"%s: Failed to read ELF header\n",5);
LAB_00011c4e:
  error(uVar2,uVar12,pcVar10);
  return 1;
}

