
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* DWARF original prototype: void ClonePixelCacheRepository._omp_fn.0(anon_struct_32_8_d8521789 *
   param_0) */

void __thiscall ClonePixelCacheRepository__omp_fn_0(anon_struct_32_8_d8521789 *this)

{
  CacheInfo *cache_info;
  NexusInfo **ppNVar1;
  size_t sVar2;
  NexusInfo **ppNVar3;
  MagickBooleanType MVar4;
  ExceptionInfo *exception;
  CacheInfo *cache_info_00;
  size_t sVar5;
  size_t sVar6;
  size_t sVar7;
  size_t sVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  Quantum *pQVar12;
  NexusInfo **ppNVar13;
  PixelChannelMap *pPVar14;
  MagickBooleanType MVar15;
  Quantum *pQVar16;
  NexusInfo **ppNVar17;
  CacheInfo *in_stack_ffffff94;
  NexusInfo *in_stack_ffffff98;
  ExceptionInfo *in_stack_ffffff9c;
  size_t local_5c;
  Quantum *local_50;
  NexusInfo *local_28;
  
  cache_info = this->cache_info;
  iVar9 = omp_get_num_threads();
  iVar10 = omp_get_thread_num();
  iVar11 = (int)cache_info->rows / iVar9;
  iVar9 = (int)cache_info->rows % iVar9;
  if (iVar10 < iVar9) {
    iVar11 = iVar11 + 1;
    iVar9 = 0;
  }
  iVar9 = iVar10 * iVar11 + iVar9;
  iVar11 = iVar11 + iVar9;
  if (iVar11 <= iVar9) {
    return;
  }
  ppNVar1 = this->clone_nexus;
  sVar2 = this->length;
  ppNVar3 = this->cache_nexus;
  MVar4 = this->optimize;
  exception = this->exception;
  cache_info_00 = this->clone_info;
  do {
    while ((iVar10 = omp_get_thread_num(), this->status == MagickFalse ||
           ((int)cache_info_00->rows <= iVar9))) {
joined_r0x0004ee5f:
      iVar9 = iVar9 + 1;
      if (iVar11 == iVar9) {
        return;
      }
    }
    ppNVar17 = ppNVar3 + iVar10;
    pQVar12 = SetPixelCacheNexusPixels
                        (cache_info,ReadMode,0,iVar9,cache_info->columns,1,MagickFalse,*ppNVar17,
                         exception);
    if (pQVar12 == (Quantum *)0x0) goto joined_r0x0004ee5f;
    if ((*ppNVar17)->authentic_pixel_cache != MagickFalse) {
      this->status = MagickTrue;
LAB_0004ecfd:
      ppNVar13 = ppNVar1 + iVar10;
      pQVar12 = SetPixelCacheNexusPixels
                          (cache_info_00,WriteMode,0,iVar9,cache_info_00->columns,1,MagickFalse,
                           *ppNVar13,exception);
      if (pQVar12 == (Quantum *)0x0) goto joined_r0x0004ee5f;
      memset((*ppNVar13)->pixels,0,(size_t)(*ppNVar13)->length);
      if (MVar4 == MagickFalse) {
        pQVar12 = (*ppNVar17)->pixels;
        local_28 = *ppNVar13;
        local_50 = local_28->pixels;
        sVar5 = cache_info->columns;
        if (((int)sVar5 < 1) || (sVar6 = cache_info_00->columns, sVar6 == 0)) goto LAB_0004eec7;
        sVar7 = cache_info->number_channels;
        sVar8 = cache_info_00->number_channels;
        local_5c = 0;
        do {
          pPVar14 = cache_info_00->channel_map;
          pQVar16 = local_50;
          if (0 < (int)sVar8) {
            do {
              if (cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait) {
                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];
              }
              pPVar14 = pPVar14 + 1;
              pQVar16 = pQVar16 + 1;
            } while (pPVar14 != cache_info_00->channel_map + sVar8);
            local_50 = local_50 + sVar8;
          }
          local_5c = local_5c + 1;
          pQVar12 = pQVar12 + sVar7;
        } while ((local_5c != sVar5) && (local_5c != sVar6));
        MVar15 = local_28->authentic_pixel_cache;
      }
      else {
        memcpy((*ppNVar13)->pixels,(*ppNVar17)->pixels,sVar2 << 3);
        local_28 = *ppNVar13;
LAB_0004eec7:
        MVar15 = local_28->authentic_pixel_cache;
      }
      if (MVar15 == MagickFalse) {
        MVar15 = WritePixelCachePixels(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);
        this->status = MVar15;
      }
      else {
        this->status = MagickTrue;
      }
      goto joined_r0x0004ee5f;
    }
    MVar15 = ReadPixelCachePixels(cache_info,*ppNVar17,exception);
    this->status = MVar15;
    if (MVar15 != MagickFalse) goto LAB_0004ecfd;
    iVar9 = iVar9 + 1;
    if (iVar11 == iVar9) {
      return;
    }
  } while( true );
}



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

void FUN_0004ebf0(int *param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  int iVar13;
  int iVar14;
  int iVar15;
  int *piVar16;
  undefined8 *puVar17;
  int *piVar18;
  int local_5c;
  undefined8 *local_50;
  int local_28;
  
  iVar2 = param_1[1];
  iVar11 = omp_get_num_threads();
  iVar12 = omp_get_thread_num();
  iVar13 = *(int *)(iVar2 + 0x14) / iVar11;
  iVar11 = *(int *)(iVar2 + 0x14) % iVar11;
  if (iVar12 < iVar11) {
    iVar13 = iVar13 + 1;
    iVar11 = 0;
  }
  iVar11 = iVar12 * iVar13 + iVar11;
  iVar13 = iVar13 + iVar11;
  if (iVar13 <= iVar11) {
    return;
  }
  iVar12 = param_1[5];
  iVar3 = param_1[6];
  iVar4 = param_1[4];
  iVar5 = param_1[3];
  iVar6 = param_1[2];
  iVar7 = *param_1;
  do {
    while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {
joined_r0x0004ee5f:
      iVar11 = iVar11 + 1;
      if (iVar13 == iVar11) {
        return;
      }
    }
    piVar18 = (int *)(iVar4 + iVar14 * 4);
    iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);
    if (iVar15 == 0) goto joined_r0x0004ee5f;
    if (*(int *)(*piVar18 + 0x24) != 0) {
      param_1[7] = 1;
LAB_0004ecfd:
      piVar16 = (int *)(iVar14 * 4 + iVar12);
      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);
      if (iVar14 == 0) goto joined_r0x0004ee5f;
      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));
      if (iVar5 == 0) {
        iVar14 = *(int *)(*piVar18 + 0x20);
        local_28 = *piVar16;
        local_50 = *(undefined8 **)(local_28 + 0x20);
        iVar15 = *(int *)(iVar2 + 0x10);
        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;
        iVar9 = *(int *)(iVar2 + 0x1c);
        iVar10 = *(int *)(iVar7 + 0x1c);
        local_5c = 0;
        do {
          piVar18 = (int *)(iVar7 + 0x20);
          puVar17 = local_50;
          if (0 < iVar10) {
            do {
              iVar1 = iVar2 + *piVar18 * 0xc;
              if (*(int *)(iVar1 + 0x24) != 0) {
                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);
              }
              piVar18 = piVar18 + 3;
              puVar17 = puVar17 + 1;
            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);
            local_50 = local_50 + iVar10;
          }
          local_5c = local_5c + 1;
          iVar14 = iVar14 + iVar9 * 8;
        } while ((local_5c != iVar15) && (local_5c != iVar8));
        iVar14 = *(int *)(local_28 + 0x24);
      }
      else {
        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);
        local_28 = *piVar16;
LAB_0004eec7:
        iVar14 = *(int *)(local_28 + 0x24);
      }
      if (iVar14 == 0) {
        iVar14 = FUN_0004dd90();
        param_1[7] = iVar14;
      }
      else {
        param_1[7] = 1;
      }
      goto joined_r0x0004ee5f;
    }
    iVar15 = FUN_0004ceb0();
    param_1[7] = iVar15;
    if (iVar15 != 0) goto LAB_0004ecfd;
    iVar11 = iVar11 + 1;
    if (iVar13 == iVar11) {
      return;
    }
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00038830
ADD EBX,0x38a407
SUB ESP,0x5c
MOV EAX,dword ptr [ESP + 0x70]
MOV EBP,dword ptr [EAX + 0x4]
CALL 0x00030850
MOV ESI,EAX
CALL 0x000317c0
MOV ECX,EAX
MOV EAX,dword ptr [EBP + 0x14]
CDQ
IDIV ESI
CMP ECX,EDX
JGE 0x0004ec26
ADD EAX,0x1
XOR EDX,EDX
IMUL ECX,EAX
LEA EDI,[ECX + EDX*0x1]
ADD EAX,EDI
CMP EDI,EAX
MOV dword ptr [ESP + 0xc],EAX
JGE 0x0004ee65
MOV EAX,dword ptr [ESP + 0x70]
MOV ESI,dword ptr [ESP + 0x70]
MOV EAX,dword ptr [EAX + 0x14]
MOV ESI,dword ptr [ESI + 0x18]
MOV dword ptr [ESP + 0x3c],EAX
MOV EAX,dword ptr [ESP + 0x70]
MOV dword ptr [ESP + 0x10],ESI
SHL ESI,0x3
MOV dword ptr [ESP + 0x48],ESI
MOV ESI,EBP
MOV EBP,EDI
MOV EAX,dword ptr [EAX + 0x10]
MOV dword ptr [ESP + 0x20],EAX
MOV EAX,dword ptr [ESP + 0x70]
MOV EAX,dword ptr [EAX + 0xc]
MOV dword ptr [ESP + 0x40],EAX
MOV EAX,dword ptr [ESP + 0x70]
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x70]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x14],EAX
ADD EAX,0x20
MOV dword ptr [ESP + 0x24],EAX
LEA ESI,[ESI]
CALL 0x000317c0
MOV EDI,dword ptr [ESP + 0x70]
MOV EDX,dword ptr [EDI + 0x1c]
TEST EDX,EDX
JZ 0x0004ee58
MOV ECX,dword ptr [ESP + 0x14]
CMP EBP,dword ptr [ECX + 0x14]
JGE 0x0004ee58
MOV EDI,dword ptr [ESP + 0x20]
SHL EAX,0x2
SUB ESP,0x8
XOR ECX,ECX
MOV dword ptr [ESP + 0x18],EAX
XOR EDX,EDX
PUSH dword ptr [ESP + 0x20]
ADD EDI,EAX
MOV EAX,ESI
PUSH dword ptr [EDI]
PUSH 0x0
PUSH 0x1
PUSH dword ptr [ESI + 0x10]
PUSH EBP
CALL 0x00034a90
ADD ESP,0x20
TEST EAX,EAX
JZ 0x0004ee58
MOV EDX,dword ptr [EDI]
MOV EAX,dword ptr [EDX + 0x24]
TEST EAX,EAX
JZ 0x0004ee70
MOV EAX,dword ptr [ESP + 0x70]
MOV dword ptr [EAX + 0x1c],0x1
MOV EAX,dword ptr [ESP + 0x10]
SUB ESP,0x8
XOR ECX,ECX
MOV EDX,0x1
ADD EAX,dword ptr [ESP + 0x44]
PUSH dword ptr [ESP + 0x20]
MOV dword ptr [ESP + 0x1c],EAX
PUSH dword ptr [EAX]
PUSH 0x0
PUSH 0x1
MOV EAX,dword ptr [ESP + 0x2c]
PUSH dword ptr [EAX + 0x10]
PUSH EBP
CALL 0x00034a90
ADD ESP,0x20
TEST EAX,EAX
JZ 0x0004ee58
MOV EAX,dword ptr [ESP + 0x10]
SUB ESP,0x4
MOV EAX,dword ptr [EAX]
PUSH dword ptr [EAX + 0x14]
PUSH 0x0
PUSH dword ptr [EAX + 0x20]
CALL 0x000310a0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x40]
TEST EAX,EAX
JNZ 0x0004eea0
MOV EAX,dword ptr [EDI]
MOV EDI,dword ptr [EAX + 0x20]
MOV EAX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x44],EAX
MOV EAX,dword ptr [EAX + 0x20]
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [ESI + 0x10]
TEST EAX,EAX
MOV dword ptr [ESP + 0x28],EAX
JLE 0x0004eec7
MOV ECX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [ECX + 0x10]
MOV dword ptr [ESP + 0x34],EAX
TEST EAX,EAX
JZ 0x0004eec7
MOV EAX,dword ptr [ESI + 0x1c]
MOV dword ptr [ESP + 0x4c],EBP
MOV ECX,dword ptr [ECX + 0x1c]
MOV dword ptr [ESP + 0x10],0x0
MOV EDX,dword ptr [ESP + 0x24]
SHL EAX,0x3
MOV dword ptr [ESP + 0x2c],EAX
LEA EAX,[ECX + ECX*0x2]
MOV dword ptr [ESP + 0x30],ECX
LEA EAX,[EDX + EAX*0x4]
SHL ECX,0x3
MOV dword ptr [ESP + 0x38],ECX
MOV EBP,EAX
LEA ESI,[ESI]
MOV EDX,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [ESP + 0x24]
MOV ECX,dword ptr [ESP + 0x1c]
TEST EDX,EDX
JLE 0x0004ee08
NOP
LEA ESI,[ESI]
MOV EDX,dword ptr [EAX]
LEA EDX,[EDX + EDX*0x2]
LEA EDX,[ESI + EDX*0x4]
CMP dword ptr [EDX + 0x24],0x0
JZ 0x0004edf6
MOV EDX,dword ptr [EDX + 0x28]
FLD qword ptr [EDI + EDX*0x8]
FSTP qword ptr [ECX]
ADD EAX,0xc
ADD ECX,0x8
CMP EAX,EBP
JNZ 0x0004ede0
MOV ECX,dword ptr [ESP + 0x38]
ADD dword ptr [ESP + 0x1c],ECX
ADD dword ptr [ESP + 0x10],0x1
ADD EDI,dword ptr [ESP + 0x2c]
MOV EAX,dword ptr [ESP + 0x10]
CMP EAX,dword ptr [ESP + 0x28]
JZ 0x0004ee25
MOV ECX,dword ptr [ESP + 0x34]
CMP dword ptr [ESP + 0x10],ECX
JNZ 0x0004edc8
MOV EDI,dword ptr [ESP + 0x44]
MOV EAX,0x1
MOV EBP,dword ptr [ESP + 0x4c]
MOV ECX,dword ptr [EDI + 0x24]
TEST ECX,ECX
JNZ 0x0004eedb
MOV ECX,dword ptr [ESP + 0x18]
MOV EDX,EDI
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x0004dd90
MOV EDI,dword ptr [ESP + 0x70]
MOV dword ptr [EDI + 0x1c],EAX
NOP
LEA ESI,[ESI]
ADD EBP,0x1
CMP dword ptr [ESP + 0xc],EBP
JNZ 0x0004ec90
ADD ESP,0x5c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,dword ptr [ESP + 0x18]
MOV EAX,ESI
CALL 0x0004ceb0
MOV ECX,dword ptr [ESP + 0x70]
MOV dword ptr [ECX + 0x1c],EAX
TEST EAX,EAX
JNZ 0x0004ecfd
ADD EBP,0x1
CMP dword ptr [ESP + 0xc],EBP
JNZ 0x0004ec90
JMP 0x0004ee65
MOV EAX,dword ptr [ESP + 0x10]
SUB ESP,0x4
MOV EDX,dword ptr [EDI]
MOV EAX,dword ptr [EAX]
PUSH dword ptr [ESP + 0x4c]
PUSH dword ptr [EDX + 0x20]
PUSH dword ptr [EAX + 0x20]
CALL 0x00031e30
MOV EAX,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x54],EAX
ADD ESP,0x10
MOV EDI,dword ptr [ESP + 0x44]
MOV EAX,0x1
MOV ECX,dword ptr [EDI + 0x24]
TEST ECX,ECX
JZ 0x0004ee3d
MOV EDI,dword ptr [ESP + 0x70]
ADD EBP,0x1
MOV dword ptr [EDI + 0x1c],EAX
CMP dword ptr [ESP + 0xc],EBP
JNZ 0x0004ec90
JMP 0x0004ee65
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0004ebf0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int *piVar16;\n  undefined8 *puVar17;\n  int *piVar18;\n  int local_5c;\n  undefined8 *local_50;\n  int local_28;\n  \n  iVar2 = param_1[1];\n  iVar11 = omp_get_num_threads();\n  iVar12 = omp_get_thread_num();\n  iVar13 = *(int *)(iVar2 + 0x14) / iVar11;\n  iVar11 = *(int *)(iVar2 + 0x14) % iVar11;\n  if (iVar12 < iVar11) {\n    iVar13 = iVar13 + 1;\n    iVar11 = 0;\n  }\n  iVar11 = iVar12 * iVar13 + iVar11;\n  iVar13 = iVar13 + iVar11;\n  if (iVar13 <= iVar11) {\n    return;\n  }\n  iVar12 = param_1[5];\n  iVar3 = param_1[6];\n  iVar4 = param_1[4];\n  iVar5 = param_1[3];\n  iVar6 = param_1[2];\n  iVar7 = *param_1;\n  do {\n    while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }\n    piVar18 = (int *)(iVar4 + iVar14 * 4);\n    iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);\n    if (iVar15 == 0) goto joined_r0x0004ee5f;\n    if (*(int *)(*piVar18 + 0x24) != 0) {\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    iVar15 = FUN_0004ceb0();\n    param_1[7] = iVar15;\n    if (iVar15 != 0) goto LAB_0004ecfd;\n    iVar11 = iVar11 + 1;\n    if (iVar13 == iVar11) {\n      return;\n    }\n  } while( true );\n}\n\n" comment (function_definition "void FUN_0004ebf0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int *piVar16;\n  undefined8 *puVar17;\n  int *piVar18;\n  int local_5c;\n  undefined8 *local_50;\n  int local_28;\n  \n  iVar2 = param_1[1];\n  iVar11 = omp_get_num_threads();\n  iVar12 = omp_get_thread_num();\n  iVar13 = *(int *)(iVar2 + 0x14) / iVar11;\n  iVar11 = *(int *)(iVar2 + 0x14) % iVar11;\n  if (iVar12 < iVar11) {\n    iVar13 = iVar13 + 1;\n    iVar11 = 0;\n  }\n  iVar11 = iVar12 * iVar13 + iVar11;\n  iVar13 = iVar13 + iVar11;\n  if (iVar13 <= iVar11) {\n    return;\n  }\n  iVar12 = param_1[5];\n  iVar3 = param_1[6];\n  iVar4 = param_1[4];\n  iVar5 = param_1[3];\n  iVar6 = param_1[2];\n  iVar7 = *param_1;\n  do {\n    while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }\n    piVar18 = (int *)(iVar4 + iVar14 * 4);\n    iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);\n    if (iVar15 == 0) goto joined_r0x0004ee5f;\n    if (*(int *)(*piVar18 + 0x24) != 0) {\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    iVar15 = FUN_0004ceb0();\n    param_1[7] = iVar15;\n    if (iVar15 != 0) goto LAB_0004ecfd;\n    iVar11 = iVar11 + 1;\n    if (iVar13 == iVar11) {\n      return;\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_0004ebf0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int *piVar16;\n  undefined8 *puVar17;\n  int *piVar18;\n  int local_5c;\n  undefined8 *local_50;\n  int local_28;\n  \n  iVar2 = param_1[1];\n  iVar11 = omp_get_num_threads();\n  iVar12 = omp_get_thread_num();\n  iVar13 = *(int *)(iVar2 + 0x14) / iVar11;\n  iVar11 = *(int *)(iVar2 + 0x14) % iVar11;\n  if (iVar12 < iVar11) {\n    iVar13 = iVar13 + 1;\n    iVar11 = 0;\n  }\n  iVar11 = iVar12 * iVar13 + iVar11;\n  iVar13 = iVar13 + iVar11;\n  if (iVar13 <= iVar11) {\n    return;\n  }\n  iVar12 = param_1[5];\n  iVar3 = param_1[6];\n  iVar4 = param_1[4];\n  iVar5 = param_1[3];\n  iVar6 = param_1[2];\n  iVar7 = *param_1;\n  do {\n    while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }\n    piVar18 = (int *)(iVar4 + iVar14 * 4);\n    iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);\n    if (iVar15 == 0) goto joined_r0x0004ee5f;\n    if (*(int *)(*piVar18 + 0x24) != 0) {\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    iVar15 = FUN_0004ceb0();\n    param_1[7] = iVar15;\n    if (iVar15 != 0) goto LAB_0004ecfd;\n    iVar11 = iVar11 + 1;\n    if (iVar13 == iVar11) {\n      return;\n    }\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int *piVar16;" primitive_type (pointer_declarator "*piVar16" * identifier) ;) (declaration "undefined8 *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "int *piVar18;" primitive_type (pointer_declarator "*piVar18" * identifier) ;) (declaration "int local_5c;" primitive_type identifier ;) (declaration "undefined8 *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "int local_28;" primitive_type identifier ;) (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar11 = omp_get_num_threads();" (assignment_expression "iVar11 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar12 = omp_get_thread_num();" (assignment_expression "iVar12 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar13 = *(int *)(iVar2 + 0x14) / iVar11;" (assignment_expression "iVar13 = *(int *)(iVar2 + 0x14) / iVar11" identifier = (binary_expression "*(int *)(iVar2 + 0x14) / iVar11" (pointer_expression "*(int *)(iVar2 + 0x14)" * (cast_expression "(int *)(iVar2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) / identifier)) ;) (expression_statement "iVar11 = *(int *)(iVar2 + 0x14) % iVar11;" (assignment_expression "iVar11 = *(int *)(iVar2 + 0x14) % iVar11" identifier = (binary_expression "*(int *)(iVar2 + 0x14) % iVar11" (pointer_expression "*(int *)(iVar2 + 0x14)" * (cast_expression "(int *)(iVar2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) % identifier)) ;) (if_statement "if (iVar12 < iVar11) {\n    iVar13 = iVar13 + 1;\n    iVar11 = 0;\n  }" if (parenthesized_expression "(iVar12 < iVar11)" ( (binary_expression "iVar12 < iVar11" identifier < identifier) )) (compound_statement "{\n    iVar13 = iVar13 + 1;\n    iVar11 = 0;\n  }" { (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) })) (expression_statement "iVar11 = iVar12 * iVar13 + iVar11;" (assignment_expression "iVar11 = iVar12 * iVar13 + iVar11" identifier = (binary_expression "iVar12 * iVar13 + iVar11" (binary_expression "iVar12 * iVar13" identifier * identifier) + identifier)) ;) (expression_statement "iVar13 = iVar13 + iVar11;" (assignment_expression "iVar13 = iVar13 + iVar11" identifier = (binary_expression "iVar13 + iVar11" identifier + identifier)) ;) (if_statement "if (iVar13 <= iVar11) {\n    return;\n  }" if (parenthesized_expression "(iVar13 <= iVar11)" ( (binary_expression "iVar13 <= iVar11" identifier <= identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar12 = param_1[5];" (assignment_expression "iVar12 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[6];" (assignment_expression "iVar3 = param_1[6]" identifier = (subscript_expression "param_1[6]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = param_1[4];" (assignment_expression "iVar4 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = param_1[3];" (assignment_expression "iVar5 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = param_1[2];" (assignment_expression "iVar6 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = *param_1;" (assignment_expression "iVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (do_statement "do {\n    while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }\n    piVar18 = (int *)(iVar4 + iVar14 * 4);\n    iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);\n    if (iVar15 == 0) goto joined_r0x0004ee5f;\n    if (*(int *)(*piVar18 + 0x24) != 0) {\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    iVar15 = FUN_0004ceb0();\n    param_1[7] = iVar15;\n    if (iVar15 != 0) goto LAB_0004ecfd;\n    iVar11 = iVar11 + 1;\n    if (iVar13 == iVar11) {\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }\n    piVar18 = (int *)(iVar4 + iVar14 * 4);\n    iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);\n    if (iVar15 == 0) goto joined_r0x0004ee5f;\n    if (*(int *)(*piVar18 + 0x24) != 0) {\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    iVar15 = FUN_0004ceb0();\n    param_1[7] = iVar15;\n    if (iVar15 != 0) goto LAB_0004ecfd;\n    iVar11 = iVar11 + 1;\n    if (iVar13 == iVar11) {\n      return;\n    }\n  }" { (while_statement "while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }" while (parenthesized_expression "((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11)))" ( (parenthesized_expression "(iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))" ( (comma_expression "iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11)" (assignment_expression "iVar14 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) , (binary_expression "param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11)" (binary_expression "param_1[7] == 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) == number_literal) || (parenthesized_expression "(*(int *)(iVar7 + 0x14) <= iVar11)" ( (binary_expression "*(int *)(iVar7 + 0x14) <= iVar11" (pointer_expression "*(int *)(iVar7 + 0x14)" * (cast_expression "(int *)(iVar7 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x14)" ( (binary_expression "iVar7 + 0x14" identifier + number_literal) )))) <= identifier) )))) )) )) (compound_statement "{\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }" { (labeled_statement "joined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;" statement_identifier : (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;)) (if_statement "if (iVar13 == iVar11) {\n        return;\n      }" if (parenthesized_expression "(iVar13 == iVar11)" ( (binary_expression "iVar13 == iVar11" identifier == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (expression_statement "piVar18 = (int *)(iVar4 + iVar14 * 4);" (assignment_expression "piVar18 = (int *)(iVar4 + iVar14 * 4)" identifier = (cast_expression "(int *)(iVar4 + iVar14 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar14 * 4)" ( (binary_expression "iVar4 + iVar14 * 4" identifier + (binary_expression "iVar14 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);" (assignment_expression "iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6)" identifier = (call_expression "FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6)" identifier (argument_list "(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6)" ( identifier , (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) , number_literal , number_literal , (pointer_expression "*piVar18" * identifier) , identifier )))) ;) (if_statement "if (iVar15 == 0) goto joined_r0x0004ee5f;" if (parenthesized_expression "(iVar15 == 0)" ( (binary_expression "iVar15 == 0" identifier == number_literal) )) (goto_statement "goto joined_r0x0004ee5f;" goto statement_identifier ;)) (if_statement "if (*(int *)(*piVar18 + 0x24) != 0) {\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }" if (parenthesized_expression "(*(int *)(*piVar18 + 0x24) != 0)" ( (binary_expression "*(int *)(*piVar18 + 0x24) != 0" (pointer_expression "*(int *)(*piVar18 + 0x24)" * (cast_expression "(int *)(*piVar18 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + 0x24)" ( (binary_expression "*piVar18 + 0x24" (pointer_expression "*piVar18" * identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }" { (expression_statement "param_1[7] = 1;" (assignment_expression "param_1[7] = 1" (subscript_expression "param_1[7]" identifier [ number_literal ]) = number_literal) ;) (labeled_statement "LAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);" statement_identifier : (expression_statement "piVar16 = (int *)(iVar14 * 4 + iVar12);" (assignment_expression "piVar16 = (int *)(iVar14 * 4 + iVar12)" identifier = (cast_expression "(int *)(iVar14 * 4 + iVar12)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 * 4 + iVar12)" ( (binary_expression "iVar14 * 4 + iVar12" (binary_expression "iVar14 * 4" identifier * number_literal) + identifier) )))) ;)) (expression_statement "iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);" (assignment_expression "iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6)" identifier = (call_expression "FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6)" identifier (argument_list "(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6)" ( identifier , (pointer_expression "*(undefined4 *)(iVar7 + 0x10)" * (cast_expression "(undefined4 *)(iVar7 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) , number_literal , number_literal , (pointer_expression "*piVar16" * identifier) , identifier )))) ;) (if_statement "if (iVar14 == 0) goto joined_r0x0004ee5f;" if (parenthesized_expression "(iVar14 == 0)" ( (binary_expression "iVar14 == 0" identifier == number_literal) )) (goto_statement "goto joined_r0x0004ee5f;" goto statement_identifier ;)) (expression_statement "memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));" (call_expression "memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14))" identifier (argument_list "(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14))" ( (pointer_expression "*(void **)(*piVar16 + 0x20)" * (cast_expression "(void **)(*piVar16 + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar16 + 0x20)" ( (binary_expression "*piVar16 + 0x20" (pointer_expression "*piVar16" * identifier) + number_literal) )))) , number_literal , (pointer_expression "*(size_t *)(*piVar16 + 0x14)" * (cast_expression "(size_t *)(*piVar16 + 0x14)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar16 + 0x14)" ( (binary_expression "*piVar16 + 0x14" (pointer_expression "*piVar16" * identifier) + number_literal) )))) ))) ;) (if_statement "if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }" { (expression_statement "iVar14 = *(int *)(*piVar18 + 0x20);" (assignment_expression "iVar14 = *(int *)(*piVar18 + 0x20)" identifier = (pointer_expression "*(int *)(*piVar18 + 0x20)" * (cast_expression "(int *)(*piVar18 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + 0x20)" ( (binary_expression "*piVar18 + 0x20" (pointer_expression "*piVar18" * identifier) + number_literal) ))))) ;) (expression_statement "local_28 = *piVar16;" (assignment_expression "local_28 = *piVar16" identifier = (pointer_expression "*piVar16" * identifier)) ;) (expression_statement "local_50 = *(undefined8 **)(local_28 + 0x20);" (assignment_expression "local_50 = *(undefined8 **)(local_28 + 0x20)" identifier = (pointer_expression "*(undefined8 **)(local_28 + 0x20)" * (cast_expression "(undefined8 **)(local_28 + 0x20)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_28 + 0x20)" ( (binary_expression "local_28 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "iVar15 = *(int *)(iVar2 + 0x10);" (assignment_expression "iVar15 = *(int *)(iVar2 + 0x10)" identifier = (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;" if (parenthesized_expression "((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0))" ( (binary_expression "(iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)" (parenthesized_expression "(iVar15 < 1)" ( (binary_expression "iVar15 < 1" identifier < number_literal) )) || (parenthesized_expression "(iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)" ( (comma_expression "iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0" (assignment_expression "iVar8 = *(int *)(iVar7 + 0x10)" identifier = (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) ))))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0004eec7;" goto statement_identifier ;)) (expression_statement "iVar9 = *(int *)(iVar2 + 0x1c);" (assignment_expression "iVar9 = *(int *)(iVar2 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(iVar7 + 0x1c);" (assignment_expression "iVar10 = *(int *)(iVar7 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar7 + 0x1c)" * (cast_expression "(int *)(iVar7 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x1c)" ( (binary_expression "iVar7 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" identifier = number_literal) ;) (do_statement "do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));" do (compound_statement "{\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        }" { (expression_statement "piVar18 = (int *)(iVar7 + 0x20);" (assignment_expression "piVar18 = (int *)(iVar7 + 0x20)" identifier = (cast_expression "(int *)(iVar7 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x20)" ( (binary_expression "iVar7 + 0x20" identifier + number_literal) )))) ;) (expression_statement "puVar17 = local_50;" (assignment_expression "puVar17 = local_50" identifier = identifier) ;) (if_statement "if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }" if (parenthesized_expression "(0 < iVar10)" ( (binary_expression "0 < iVar10" number_literal < identifier) )) (compound_statement "{\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }" { (do_statement "do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);" do (compound_statement "{\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            }" { (expression_statement "iVar1 = iVar2 + *piVar18 * 0xc;" (assignment_expression "iVar1 = iVar2 + *piVar18 * 0xc" identifier = (binary_expression "iVar2 + *piVar18 * 0xc" identifier + (binary_expression "*piVar18 * 0xc" (pointer_expression "*piVar18" * identifier) * number_literal))) ;) (if_statement "if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }" if (parenthesized_expression "(*(int *)(iVar1 + 0x24) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x24) != 0" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }" { (expression_statement "*puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);" (assignment_expression "*puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8)" (pointer_expression "*puVar17" * identifier) = (pointer_expression "*(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8)" * (cast_expression "(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + *(int *)(iVar1 + 0x28) * 8)" ( (binary_expression "iVar14 + *(int *)(iVar1 + 0x28) * 8" identifier + (binary_expression "*(int *)(iVar1 + 0x28) * 8" (pointer_expression "*(int *)(iVar1 + 0x28)" * (cast_expression "(int *)(iVar1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x28)" ( (binary_expression "iVar1 + 0x28" identifier + number_literal) )))) * number_literal)) ))))) ;) })) (expression_statement "piVar18 = piVar18 + 3;" (assignment_expression "piVar18 = piVar18 + 3" identifier = (binary_expression "piVar18 + 3" identifier + number_literal)) ;) (expression_statement "puVar17 = puVar17 + 1;" (assignment_expression "puVar17 = puVar17 + 1" identifier = (binary_expression "puVar17 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3)" ( (binary_expression "piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3" identifier != (binary_expression "(int *)(iVar7 + 0x20) + iVar10 * 3" (cast_expression "(int *)(iVar7 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x20)" ( (binary_expression "iVar7 + 0x20" identifier + number_literal) ))) + (binary_expression "iVar10 * 3" identifier * number_literal))) )) ;) (expression_statement "local_50 = local_50 + iVar10;" (assignment_expression "local_50 = local_50 + iVar10" identifier = (binary_expression "local_50 + iVar10" identifier + identifier)) ;) })) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;) (expression_statement "iVar14 = iVar14 + iVar9 * 8;" (assignment_expression "iVar14 = iVar14 + iVar9 * 8" identifier = (binary_expression "iVar14 + iVar9 * 8" identifier + (binary_expression "iVar9 * 8" identifier * number_literal))) ;) }) while (parenthesized_expression "((local_5c != iVar15) && (local_5c != iVar8))" ( (binary_expression "(local_5c != iVar15) && (local_5c != iVar8)" (parenthesized_expression "(local_5c != iVar15)" ( (binary_expression "local_5c != iVar15" identifier != identifier) )) && (parenthesized_expression "(local_5c != iVar8)" ( (binary_expression "local_5c != iVar8" identifier != identifier) ))) )) ;) (expression_statement "iVar14 = *(int *)(local_28 + 0x24);" (assignment_expression "iVar14 = *(int *)(local_28 + 0x24)" identifier = (pointer_expression "*(int *)(local_28 + 0x24)" * (cast_expression "(int *)(local_28 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x24)" ( (binary_expression "local_28 + 0x24" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }" else (compound_statement "{\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }" { (expression_statement "memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);" (call_expression "memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3)" identifier (argument_list "(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3)" ( (pointer_expression "*(void **)(*piVar16 + 0x20)" * (cast_expression "(void **)(*piVar16 + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar16 + 0x20)" ( (binary_expression "*piVar16 + 0x20" (pointer_expression "*piVar16" * identifier) + number_literal) )))) , (pointer_expression "*(void **)(*piVar18 + 0x20)" * (cast_expression "(void **)(*piVar18 + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar18 + 0x20)" ( (binary_expression "*piVar18 + 0x20" (pointer_expression "*piVar18" * identifier) + number_literal) )))) , (binary_expression "iVar3 << 3" identifier << number_literal) ))) ;) (expression_statement "local_28 = *piVar16;" (assignment_expression "local_28 = *piVar16" identifier = (pointer_expression "*piVar16" * identifier)) ;) (labeled_statement "LAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);" statement_identifier : (expression_statement "iVar14 = *(int *)(local_28 + 0x24);" (assignment_expression "iVar14 = *(int *)(local_28 + 0x24)" identifier = (pointer_expression "*(int *)(local_28 + 0x24)" * (cast_expression "(int *)(local_28 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x24)" ( (binary_expression "local_28 + 0x24" identifier + number_literal) ))))) ;)) }))) (if_statement "if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }" if (parenthesized_expression "(iVar14 == 0)" ( (binary_expression "iVar14 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }" { (expression_statement "iVar14 = FUN_0004dd90();" (assignment_expression "iVar14 = FUN_0004dd90()" identifier = (call_expression "FUN_0004dd90()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_1[7] = iVar14;" (assignment_expression "param_1[7] = iVar14" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        param_1[7] = 1;\n      }" else (compound_statement "{\n        param_1[7] = 1;\n      }" { (expression_statement "param_1[7] = 1;" (assignment_expression "param_1[7] = 1" (subscript_expression "param_1[7]" identifier [ number_literal ]) = number_literal) ;) }))) (goto_statement "goto joined_r0x0004ee5f;" goto statement_identifier ;) })) (expression_statement "iVar15 = FUN_0004ceb0();" (assignment_expression "iVar15 = FUN_0004ceb0()" identifier = (call_expression "FUN_0004ceb0()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_1[7] = iVar15;" (assignment_expression "param_1[7] = iVar15" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar15 != 0) goto LAB_0004ecfd;" if (parenthesized_expression "(iVar15 != 0)" ( (binary_expression "iVar15 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0004ecfd;" goto statement_identifier ;)) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (if_statement "if (iVar13 == iVar11) {\n      return;\n    }" if (parenthesized_expression "(iVar13 == iVar11)" ( (binary_expression "iVar13 == iVar11" identifier == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n/* DWARF original prototype: void ClonePixelCacheRepository._omp_fn.0(anon_struct_32_8_d8521789 *\n   param_0) */\n\nvoid __thiscall ClonePixelCacheRepository__omp_fn_0(anon_struct_32_8_d8521789 *this)\n\n{\n  CacheInfo *cache_info;\n  NexusInfo **ppNVar1;\n  size_t sVar2;\n  NexusInfo **ppNVar3;\n  MagickBooleanType MVar4;\n  ExceptionInfo *exception;\n  CacheInfo *cache_info_00;\n  size_t sVar5;\n  size_t sVar6;\n  size_t sVar7;\n  size_t sVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  Quantum *pQVar12;\n  NexusInfo **ppNVar13;\n  PixelChannelMap *pPVar14;\n  MagickBooleanType MVar15;\n  Quantum *pQVar16;\n  NexusInfo **ppNVar17;\n  CacheInfo *in_stack_ffffff94;\n  NexusInfo *in_stack_ffffff98;\n  ExceptionInfo *in_stack_ffffff9c;\n  size_t local_5c;\n  Quantum *local_50;\n  NexusInfo *local_28;\n  \n  cache_info = this->cache_info;\n  iVar9 = omp_get_num_threads();\n  iVar10 = omp_get_thread_num();\n  iVar11 = (int)cache_info->rows / iVar9;\n  iVar9 = (int)cache_info->rows % iVar9;\n  if (iVar10 < iVar9) {\n    iVar11 = iVar11 + 1;\n    iVar9 = 0;\n  }\n  iVar9 = iVar10 * iVar11 + iVar9;\n  iVar11 = iVar11 + iVar9;\n  if (iVar11 <= iVar9) {\n    return;\n  }\n  ppNVar1 = this->clone_nexus;\n  sVar2 = this->length;\n  ppNVar3 = this->cache_nexus;\n  MVar4 = this->optimize;\n  exception = this->exception;\n  cache_info_00 = this->clone_info;\n  do {\n    while ((iVar10 = omp_get_thread_num(), this->status == MagickFalse ||\n           ((int)cache_info_00->rows <= iVar9))) {\njoined_r0x0004ee5f:\n      iVar9 = iVar9 + 1;\n      if (iVar11 == iVar9) {\n        return;\n      }\n    }\n    ppNVar17 = ppNVar3 + iVar10;\n    pQVar12 = SetPixelCacheNexusPixels\n                        (cache_info,ReadMode,0,iVar9,cache_info->columns,1,MagickFalse,*ppNVar17,\n                         exception);\n    if (pQVar12 == (Quantum *)0x0) goto joined_r0x0004ee5f;\n    if ((*ppNVar17)->authentic_pixel_cache != MagickFalse) {\n      this->status = MagickTrue;\nLAB_0004ecfd:\n      ppNVar13 = ppNVar1 + iVar10;\n      pQVar12 = SetPixelCacheNexusPixels\n                          (cache_info_00,WriteMode,0,iVar9,cache_info_00->columns,1,MagickFalse,\n                           *ppNVar13,exception);\n      if (pQVar12 == (Quantum *)0x0) goto joined_r0x0004ee5f;\n      memset((*ppNVar13)->pixels,0,(size_t)(*ppNVar13)->length);\n      if (MVar4 == MagickFalse) {\n        pQVar12 = (*ppNVar17)->pixels;\n        local_28 = *ppNVar13;\n        local_50 = local_28->pixels;\n        sVar5 = cache_info->columns;\n        if (((int)sVar5 < 1) || (sVar6 = cache_info_00->columns, sVar6 == 0)) goto LAB_0004eec7;\n        sVar7 = cache_info->number_channels;\n        sVar8 = cache_info_00->number_channels;\n        local_5c = 0;\n        do {\n          pPVar14 = cache_info_00->channel_map;\n          pQVar16 = local_50;\n          if (0 < (int)sVar8) {\n            do {\n              if (cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait) {\n                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];\n              }\n              pPVar14 = pPVar14 + 1;\n              pQVar16 = pQVar16 + 1;\n            } while (pPVar14 != cache_info_00->channel_map + sVar8);\n            local_50 = local_50 + sVar8;\n          }\n          local_5c = local_5c + 1;\n          pQVar12 = pQVar12 + sVar7;\n        } while ((local_5c != sVar5) && (local_5c != sVar6));\n        MVar15 = local_28->authentic_pixel_cache;\n      }\n      else {\n        memcpy((*ppNVar13)->pixels,(*ppNVar17)->pixels,sVar2 << 3);\n        local_28 = *ppNVar13;\nLAB_0004eec7:\n        MVar15 = local_28->authentic_pixel_cache;\n      }\n      if (MVar15 == MagickFalse) {\n        MVar15 = WritePixelCachePixels(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n        this->status = MVar15;\n      }\n      else {\n        this->status = MagickTrue;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    MVar15 = ReadPixelCachePixels(cache_info,*ppNVar17,exception);\n    this->status = MVar15;\n    if (MVar15 != MagickFalse) goto LAB_0004ecfd;\n    iVar9 = iVar9 + 1;\n    if (iVar11 == iVar9) {\n      return;\n    }\n  } while( true );\n}\n\n" comment comment comment comment comment comment comment (function_definition "void __thiscall ClonePixelCacheRepository__omp_fn_0(anon_struct_32_8_d8521789 *this)\n\n{\n  CacheInfo *cache_info;\n  NexusInfo **ppNVar1;\n  size_t sVar2;\n  NexusInfo **ppNVar3;\n  MagickBooleanType MVar4;\n  ExceptionInfo *exception;\n  CacheInfo *cache_info_00;\n  size_t sVar5;\n  size_t sVar6;\n  size_t sVar7;\n  size_t sVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  Quantum *pQVar12;\n  NexusInfo **ppNVar13;\n  PixelChannelMap *pPVar14;\n  MagickBooleanType MVar15;\n  Quantum *pQVar16;\n  NexusInfo **ppNVar17;\n  CacheInfo *in_stack_ffffff94;\n  NexusInfo *in_stack_ffffff98;\n  ExceptionInfo *in_stack_ffffff9c;\n  size_t local_5c;\n  Quantum *local_50;\n  NexusInfo *local_28;\n  \n  cache_info = this->cache_info;\n  iVar9 = omp_get_num_threads();\n  iVar10 = omp_get_thread_num();\n  iVar11 = (int)cache_info->rows / iVar9;\n  iVar9 = (int)cache_info->rows % iVar9;\n  if (iVar10 < iVar9) {\n    iVar11 = iVar11 + 1;\n    iVar9 = 0;\n  }\n  iVar9 = iVar10 * iVar11 + iVar9;\n  iVar11 = iVar11 + iVar9;\n  if (iVar11 <= iVar9) {\n    return;\n  }\n  ppNVar1 = this->clone_nexus;\n  sVar2 = this->length;\n  ppNVar3 = this->cache_nexus;\n  MVar4 = this->optimize;\n  exception = this->exception;\n  cache_info_00 = this->clone_info;\n  do {\n    while ((iVar10 = omp_get_thread_num(), this->status == MagickFalse ||\n           ((int)cache_info_00->rows <= iVar9))) {\njoined_r0x0004ee5f:\n      iVar9 = iVar9 + 1;\n      if (iVar11 == iVar9) {\n        return;\n      }\n    }\n    ppNVar17 = ppNVar3 + iVar10;\n    pQVar12 = SetPixelCacheNexusPixels\n                        (cache_info,ReadMode,0,iVar9,cache_info->columns,1,MagickFalse,*ppNVar17,\n                         exception);\n    if (pQVar12 == (Quantum *)0x0) goto joined_r0x0004ee5f;\n    if ((*ppNVar17)->authentic_pixel_cache != MagickFalse) {\n      this->status = MagickTrue;\nLAB_0004ecfd:\n      ppNVar13 = ppNVar1 + iVar10;\n      pQVar12 = SetPixelCacheNexusPixels\n                          (cache_info_00,WriteMode,0,iVar9,cache_info_00->columns,1,MagickFalse,\n                           *ppNVar13,exception);\n      if (pQVar12 == (Quantum *)0x0) goto joined_r0x0004ee5f;\n      memset((*ppNVar13)->pixels,0,(size_t)(*ppNVar13)->length);\n      if (MVar4 == MagickFalse) {\n        pQVar12 = (*ppNVar17)->pixels;\n        local_28 = *ppNVar13;\n        local_50 = local_28->pixels;\n        sVar5 = cache_info->columns;\n        if (((int)sVar5 < 1) || (sVar6 = cache_info_00->columns, sVar6 == 0)) goto LAB_0004eec7;\n        sVar7 = cache_info->number_channels;\n        sVar8 = cache_info_00->number_channels;\n        local_5c = 0;\n        do {\n          pPVar14 = cache_info_00->channel_map;\n          pQVar16 = local_50;\n          if (0 < (int)sVar8) {\n            do {\n              if (cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait) {\n                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];\n              }\n              pPVar14 = pPVar14 + 1;\n              pQVar16 = pQVar16 + 1;\n            } while (pPVar14 != cache_info_00->channel_map + sVar8);\n            local_50 = local_50 + sVar8;\n          }\n          local_5c = local_5c + 1;\n          pQVar12 = pQVar12 + sVar7;\n        } while ((local_5c != sVar5) && (local_5c != sVar6));\n        MVar15 = local_28->authentic_pixel_cache;\n      }\n      else {\n        memcpy((*ppNVar13)->pixels,(*ppNVar17)->pixels,sVar2 << 3);\n        local_28 = *ppNVar13;\nLAB_0004eec7:\n        MVar15 = local_28->authentic_pixel_cache;\n      }\n      if (MVar15 == MagickFalse) {\n        MVar15 = WritePixelCachePixels(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n        this->status = MVar15;\n      }\n      else {\n        this->status = MagickTrue;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    MVar15 = ReadPixelCachePixels(cache_info,*ppNVar17,exception);\n    this->status = MVar15;\n    if (MVar15 != MagickFalse) goto LAB_0004ecfd;\n    iVar9 = iVar9 + 1;\n    if (iVar11 == iVar9) {\n      return;\n    }\n  } while( true );\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (function_declarator "ClonePixelCacheRepository__omp_fn_0(anon_struct_32_8_d8521789 *this)" identifier (parameter_list "(anon_struct_32_8_d8521789 *this)" ( (parameter_declaration "anon_struct_32_8_d8521789 *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  CacheInfo *cache_info;\n  NexusInfo **ppNVar1;\n  size_t sVar2;\n  NexusInfo **ppNVar3;\n  MagickBooleanType MVar4;\n  ExceptionInfo *exception;\n  CacheInfo *cache_info_00;\n  size_t sVar5;\n  size_t sVar6;\n  size_t sVar7;\n  size_t sVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  Quantum *pQVar12;\n  NexusInfo **ppNVar13;\n  PixelChannelMap *pPVar14;\n  MagickBooleanType MVar15;\n  Quantum *pQVar16;\n  NexusInfo **ppNVar17;\n  CacheInfo *in_stack_ffffff94;\n  NexusInfo *in_stack_ffffff98;\n  ExceptionInfo *in_stack_ffffff9c;\n  size_t local_5c;\n  Quantum *local_50;\n  NexusInfo *local_28;\n  \n  cache_info = this->cache_info;\n  iVar9 = omp_get_num_threads();\n  iVar10 = omp_get_thread_num();\n  iVar11 = (int)cache_info->rows / iVar9;\n  iVar9 = (int)cache_info->rows % iVar9;\n  if (iVar10 < iVar9) {\n    iVar11 = iVar11 + 1;\n    iVar9 = 0;\n  }\n  iVar9 = iVar10 * iVar11 + iVar9;\n  iVar11 = iVar11 + iVar9;\n  if (iVar11 <= iVar9) {\n    return;\n  }\n  ppNVar1 = this->clone_nexus;\n  sVar2 = this->length;\n  ppNVar3 = this->cache_nexus;\n  MVar4 = this->optimize;\n  exception = this->exception;\n  cache_info_00 = this->clone_info;\n  do {\n    while ((iVar10 = omp_get_thread_num(), this->status == MagickFalse ||\n           ((int)cache_info_00->rows <= iVar9))) {\njoined_r0x0004ee5f:\n      iVar9 = iVar9 + 1;\n      if (iVar11 == iVar9) {\n        return;\n      }\n    }\n    ppNVar17 = ppNVar3 + iVar10;\n    pQVar12 = SetPixelCacheNexusPixels\n                        (cache_info,ReadMode,0,iVar9,cache_info->columns,1,MagickFalse,*ppNVar17,\n                         exception);\n    if (pQVar12 == (Quantum *)0x0) goto joined_r0x0004ee5f;\n    if ((*ppNVar17)->authentic_pixel_cache != MagickFalse) {\n      this->status = MagickTrue;\nLAB_0004ecfd:\n      ppNVar13 = ppNVar1 + iVar10;\n      pQVar12 = SetPixelCacheNexusPixels\n                          (cache_info_00,WriteMode,0,iVar9,cache_info_00->columns,1,MagickFalse,\n                           *ppNVar13,exception);\n      if (pQVar12 == (Quantum *)0x0) goto joined_r0x0004ee5f;\n      memset((*ppNVar13)->pixels,0,(size_t)(*ppNVar13)->length);\n      if (MVar4 == MagickFalse) {\n        pQVar12 = (*ppNVar17)->pixels;\n        local_28 = *ppNVar13;\n        local_50 = local_28->pixels;\n        sVar5 = cache_info->columns;\n        if (((int)sVar5 < 1) || (sVar6 = cache_info_00->columns, sVar6 == 0)) goto LAB_0004eec7;\n        sVar7 = cache_info->number_channels;\n        sVar8 = cache_info_00->number_channels;\n        local_5c = 0;\n        do {\n          pPVar14 = cache_info_00->channel_map;\n          pQVar16 = local_50;\n          if (0 < (int)sVar8) {\n            do {\n              if (cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait) {\n                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];\n              }\n              pPVar14 = pPVar14 + 1;\n              pQVar16 = pQVar16 + 1;\n            } while (pPVar14 != cache_info_00->channel_map + sVar8);\n            local_50 = local_50 + sVar8;\n          }\n          local_5c = local_5c + 1;\n          pQVar12 = pQVar12 + sVar7;\n        } while ((local_5c != sVar5) && (local_5c != sVar6));\n        MVar15 = local_28->authentic_pixel_cache;\n      }\n      else {\n        memcpy((*ppNVar13)->pixels,(*ppNVar17)->pixels,sVar2 << 3);\n        local_28 = *ppNVar13;\nLAB_0004eec7:\n        MVar15 = local_28->authentic_pixel_cache;\n      }\n      if (MVar15 == MagickFalse) {\n        MVar15 = WritePixelCachePixels(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n        this->status = MVar15;\n      }\n      else {\n        this->status = MagickTrue;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    MVar15 = ReadPixelCachePixels(cache_info,*ppNVar17,exception);\n    this->status = MVar15;\n    if (MVar15 != MagickFalse) goto LAB_0004ecfd;\n    iVar9 = iVar9 + 1;\n    if (iVar11 == iVar9) {\n      return;\n    }\n  } while( true );\n}" { (declaration "CacheInfo *cache_info;" type_identifier (pointer_declarator "*cache_info" * identifier) ;) (declaration "NexusInfo **ppNVar1;" type_identifier (pointer_declarator "**ppNVar1" * (pointer_declarator "*ppNVar1" * identifier)) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "NexusInfo **ppNVar3;" type_identifier (pointer_declarator "**ppNVar3" * (pointer_declarator "*ppNVar3" * identifier)) ;) (declaration "MagickBooleanType MVar4;" type_identifier identifier ;) (declaration "ExceptionInfo *exception;" type_identifier (pointer_declarator "*exception" * identifier) ;) (declaration "CacheInfo *cache_info_00;" type_identifier (pointer_declarator "*cache_info_00" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "size_t sVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "Quantum *pQVar12;" type_identifier (pointer_declarator "*pQVar12" * identifier) ;) (declaration "NexusInfo **ppNVar13;" type_identifier (pointer_declarator "**ppNVar13" * (pointer_declarator "*ppNVar13" * identifier)) ;) (declaration "PixelChannelMap *pPVar14;" type_identifier (pointer_declarator "*pPVar14" * identifier) ;) (declaration "MagickBooleanType MVar15;" type_identifier identifier ;) (declaration "Quantum *pQVar16;" type_identifier (pointer_declarator "*pQVar16" * identifier) ;) (declaration "NexusInfo **ppNVar17;" type_identifier (pointer_declarator "**ppNVar17" * (pointer_declarator "*ppNVar17" * identifier)) ;) (declaration "CacheInfo *in_stack_ffffff94;" type_identifier (pointer_declarator "*in_stack_ffffff94" * identifier) ;) (declaration "NexusInfo *in_stack_ffffff98;" type_identifier (pointer_declarator "*in_stack_ffffff98" * identifier) ;) (declaration "ExceptionInfo *in_stack_ffffff9c;" type_identifier (pointer_declarator "*in_stack_ffffff9c" * identifier) ;) (declaration "size_t local_5c;" primitive_type identifier ;) (declaration "Quantum *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "NexusInfo *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (expression_statement "cache_info = this->cache_info;" (assignment_expression "cache_info = this->cache_info" identifier = (field_expression "this->cache_info" identifier -> field_identifier)) ;) (expression_statement "iVar9 = omp_get_num_threads();" (assignment_expression "iVar9 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar10 = omp_get_thread_num();" (assignment_expression "iVar10 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar11 = (int)cache_info->rows / iVar9;" (assignment_expression "iVar11 = (int)cache_info->rows / iVar9" identifier = (binary_expression "(int)cache_info->rows / iVar9" (cast_expression "(int)cache_info->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "cache_info->rows" identifier -> field_identifier)) / identifier)) ;) (expression_statement "iVar9 = (int)cache_info->rows % iVar9;" (assignment_expression "iVar9 = (int)cache_info->rows % iVar9" identifier = (binary_expression "(int)cache_info->rows % iVar9" (cast_expression "(int)cache_info->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "cache_info->rows" identifier -> field_identifier)) % identifier)) ;) (if_statement "if (iVar10 < iVar9) {\n    iVar11 = iVar11 + 1;\n    iVar9 = 0;\n  }" if (parenthesized_expression "(iVar10 < iVar9)" ( (binary_expression "iVar10 < iVar9" identifier < identifier) )) (compound_statement "{\n    iVar11 = iVar11 + 1;\n    iVar9 = 0;\n  }" { (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) })) (expression_statement "iVar9 = iVar10 * iVar11 + iVar9;" (assignment_expression "iVar9 = iVar10 * iVar11 + iVar9" identifier = (binary_expression "iVar10 * iVar11 + iVar9" (binary_expression "iVar10 * iVar11" identifier * identifier) + identifier)) ;) (expression_statement "iVar11 = iVar11 + iVar9;" (assignment_expression "iVar11 = iVar11 + iVar9" identifier = (binary_expression "iVar11 + iVar9" identifier + identifier)) ;) (if_statement "if (iVar11 <= iVar9) {\n    return;\n  }" if (parenthesized_expression "(iVar11 <= iVar9)" ( (binary_expression "iVar11 <= iVar9" identifier <= identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "ppNVar1 = this->clone_nexus;" (assignment_expression "ppNVar1 = this->clone_nexus" identifier = (field_expression "this->clone_nexus" identifier -> field_identifier)) ;) (expression_statement "sVar2 = this->length;" (assignment_expression "sVar2 = this->length" identifier = (field_expression "this->length" identifier -> field_identifier)) ;) (expression_statement "ppNVar3 = this->cache_nexus;" (assignment_expression "ppNVar3 = this->cache_nexus" identifier = (field_expression "this->cache_nexus" identifier -> field_identifier)) ;) (expression_statement "MVar4 = this->optimize;" (assignment_expression "MVar4 = this->optimize" identifier = (field_expression "this->optimize" identifier -> field_identifier)) ;) (expression_statement "exception = this->exception;" (assignment_expression "exception = this->exception" identifier = (field_expression "this->exception" identifier -> field_identifier)) ;) (expression_statement "cache_info_00 = this->clone_info;" (assignment_expression "cache_info_00 = this->clone_info" identifier = (field_expression "this->clone_info" identifier -> field_identifier)) ;) (do_statement "do {\n    while ((iVar10 = omp_get_thread_num(), this->status == MagickFalse ||\n           ((int)cache_info_00->rows <= iVar9))) {\njoined_r0x0004ee5f:\n      iVar9 = iVar9 + 1;\n      if (iVar11 == iVar9) {\n        return;\n      }\n    }\n    ppNVar17 = ppNVar3 + iVar10;\n    pQVar12 = SetPixelCacheNexusPixels\n                        (cache_info,ReadMode,0,iVar9,cache_info->columns,1,MagickFalse,*ppNVar17,\n                         exception);\n    if (pQVar12 == (Quantum *)0x0) goto joined_r0x0004ee5f;\n    if ((*ppNVar17)->authentic_pixel_cache != MagickFalse) {\n      this->status = MagickTrue;\nLAB_0004ecfd:\n      ppNVar13 = ppNVar1 + iVar10;\n      pQVar12 = SetPixelCacheNexusPixels\n                          (cache_info_00,WriteMode,0,iVar9,cache_info_00->columns,1,MagickFalse,\n                           *ppNVar13,exception);\n      if (pQVar12 == (Quantum *)0x0) goto joined_r0x0004ee5f;\n      memset((*ppNVar13)->pixels,0,(size_t)(*ppNVar13)->length);\n      if (MVar4 == MagickFalse) {\n        pQVar12 = (*ppNVar17)->pixels;\n        local_28 = *ppNVar13;\n        local_50 = local_28->pixels;\n        sVar5 = cache_info->columns;\n        if (((int)sVar5 < 1) || (sVar6 = cache_info_00->columns, sVar6 == 0)) goto LAB_0004eec7;\n        sVar7 = cache_info->number_channels;\n        sVar8 = cache_info_00->number_channels;\n        local_5c = 0;\n        do {\n          pPVar14 = cache_info_00->channel_map;\n          pQVar16 = local_50;\n          if (0 < (int)sVar8) {\n            do {\n              if (cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait) {\n                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];\n              }\n              pPVar14 = pPVar14 + 1;\n              pQVar16 = pQVar16 + 1;\n            } while (pPVar14 != cache_info_00->channel_map + sVar8);\n            local_50 = local_50 + sVar8;\n          }\n          local_5c = local_5c + 1;\n          pQVar12 = pQVar12 + sVar7;\n        } while ((local_5c != sVar5) && (local_5c != sVar6));\n        MVar15 = local_28->authentic_pixel_cache;\n      }\n      else {\n        memcpy((*ppNVar13)->pixels,(*ppNVar17)->pixels,sVar2 << 3);\n        local_28 = *ppNVar13;\nLAB_0004eec7:\n        MVar15 = local_28->authentic_pixel_cache;\n      }\n      if (MVar15 == MagickFalse) {\n        MVar15 = WritePixelCachePixels(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n        this->status = MVar15;\n      }\n      else {\n        this->status = MagickTrue;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    MVar15 = ReadPixelCachePixels(cache_info,*ppNVar17,exception);\n    this->status = MVar15;\n    if (MVar15 != MagickFalse) goto LAB_0004ecfd;\n    iVar9 = iVar9 + 1;\n    if (iVar11 == iVar9) {\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    while ((iVar10 = omp_get_thread_num(), this->status == MagickFalse ||\n           ((int)cache_info_00->rows <= iVar9))) {\njoined_r0x0004ee5f:\n      iVar9 = iVar9 + 1;\n      if (iVar11 == iVar9) {\n        return;\n      }\n    }\n    ppNVar17 = ppNVar3 + iVar10;\n    pQVar12 = SetPixelCacheNexusPixels\n                        (cache_info,ReadMode,0,iVar9,cache_info->columns,1,MagickFalse,*ppNVar17,\n                         exception);\n    if (pQVar12 == (Quantum *)0x0) goto joined_r0x0004ee5f;\n    if ((*ppNVar17)->authentic_pixel_cache != MagickFalse) {\n      this->status = MagickTrue;\nLAB_0004ecfd:\n      ppNVar13 = ppNVar1 + iVar10;\n      pQVar12 = SetPixelCacheNexusPixels\n                          (cache_info_00,WriteMode,0,iVar9,cache_info_00->columns,1,MagickFalse,\n                           *ppNVar13,exception);\n      if (pQVar12 == (Quantum *)0x0) goto joined_r0x0004ee5f;\n      memset((*ppNVar13)->pixels,0,(size_t)(*ppNVar13)->length);\n      if (MVar4 == MagickFalse) {\n        pQVar12 = (*ppNVar17)->pixels;\n        local_28 = *ppNVar13;\n        local_50 = local_28->pixels;\n        sVar5 = cache_info->columns;\n        if (((int)sVar5 < 1) || (sVar6 = cache_info_00->columns, sVar6 == 0)) goto LAB_0004eec7;\n        sVar7 = cache_info->number_channels;\n        sVar8 = cache_info_00->number_channels;\n        local_5c = 0;\n        do {\n          pPVar14 = cache_info_00->channel_map;\n          pQVar16 = local_50;\n          if (0 < (int)sVar8) {\n            do {\n              if (cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait) {\n                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];\n              }\n              pPVar14 = pPVar14 + 1;\n              pQVar16 = pQVar16 + 1;\n            } while (pPVar14 != cache_info_00->channel_map + sVar8);\n            local_50 = local_50 + sVar8;\n          }\n          local_5c = local_5c + 1;\n          pQVar12 = pQVar12 + sVar7;\n        } while ((local_5c != sVar5) && (local_5c != sVar6));\n        MVar15 = local_28->authentic_pixel_cache;\n      }\n      else {\n        memcpy((*ppNVar13)->pixels,(*ppNVar17)->pixels,sVar2 << 3);\n        local_28 = *ppNVar13;\nLAB_0004eec7:\n        MVar15 = local_28->authentic_pixel_cache;\n      }\n      if (MVar15 == MagickFalse) {\n        MVar15 = WritePixelCachePixels(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n        this->status = MVar15;\n      }\n      else {\n        this->status = MagickTrue;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    MVar15 = ReadPixelCachePixels(cache_info,*ppNVar17,exception);\n    this->status = MVar15;\n    if (MVar15 != MagickFalse) goto LAB_0004ecfd;\n    iVar9 = iVar9 + 1;\n    if (iVar11 == iVar9) {\n      return;\n    }\n  }" { (while_statement "while ((iVar10 = omp_get_thread_num(), this->status == MagickFalse ||\n           ((int)cache_info_00->rows <= iVar9))) {\njoined_r0x0004ee5f:\n      iVar9 = iVar9 + 1;\n      if (iVar11 == iVar9) {\n        return;\n      }\n    }" while (parenthesized_expression "((iVar10 = omp_get_thread_num(), this->status == MagickFalse ||\n           ((int)cache_info_00->rows <= iVar9)))" ( (parenthesized_expression "(iVar10 = omp_get_thread_num(), this->status == MagickFalse ||\n           ((int)cache_info_00->rows <= iVar9))" ( (comma_expression "iVar10 = omp_get_thread_num(), this->status == MagickFalse ||\n           ((int)cache_info_00->rows <= iVar9)" (assignment_expression "iVar10 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) , (binary_expression "this->status == MagickFalse ||\n           ((int)cache_info_00->rows <= iVar9)" (binary_expression "this->status == MagickFalse" (field_expression "this->status" identifier -> field_identifier) == identifier) || (parenthesized_expression "((int)cache_info_00->rows <= iVar9)" ( (binary_expression "(int)cache_info_00->rows <= iVar9" (cast_expression "(int)cache_info_00->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "cache_info_00->rows" identifier -> field_identifier)) <= identifier) )))) )) )) (compound_statement "{\njoined_r0x0004ee5f:\n      iVar9 = iVar9 + 1;\n      if (iVar11 == iVar9) {\n        return;\n      }\n    }" { (labeled_statement "joined_r0x0004ee5f:\n      iVar9 = iVar9 + 1;" statement_identifier : (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;)) (if_statement "if (iVar11 == iVar9) {\n        return;\n      }" if (parenthesized_expression "(iVar11 == iVar9)" ( (binary_expression "iVar11 == iVar9" identifier == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (expression_statement "ppNVar17 = ppNVar3 + iVar10;" (assignment_expression "ppNVar17 = ppNVar3 + iVar10" identifier = (binary_expression "ppNVar3 + iVar10" identifier + identifier)) ;) (expression_statement "pQVar12 = SetPixelCacheNexusPixels\n                        (cache_info,ReadMode,0,iVar9,cache_info->columns,1,MagickFalse,*ppNVar17,\n                         exception);" (assignment_expression "pQVar12 = SetPixelCacheNexusPixels\n                        (cache_info,ReadMode,0,iVar9,cache_info->columns,1,MagickFalse,*ppNVar17,\n                         exception)" identifier = (call_expression "SetPixelCacheNexusPixels\n                        (cache_info,ReadMode,0,iVar9,cache_info->columns,1,MagickFalse,*ppNVar17,\n                         exception)" identifier (argument_list "(cache_info,ReadMode,0,iVar9,cache_info->columns,1,MagickFalse,*ppNVar17,\n                         exception)" ( identifier , identifier , number_literal , identifier , (field_expression "cache_info->columns" identifier -> field_identifier) , number_literal , identifier , (pointer_expression "*ppNVar17" * identifier) , identifier )))) ;) (if_statement "if (pQVar12 == (Quantum *)0x0) goto joined_r0x0004ee5f;" if (parenthesized_expression "(pQVar12 == (Quantum *)0x0)" ( (binary_expression "pQVar12 == (Quantum *)0x0" identifier == (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto joined_r0x0004ee5f;" goto statement_identifier ;)) (if_statement "if ((*ppNVar17)->authentic_pixel_cache != MagickFalse) {\n      this->status = MagickTrue;\nLAB_0004ecfd:\n      ppNVar13 = ppNVar1 + iVar10;\n      pQVar12 = SetPixelCacheNexusPixels\n                          (cache_info_00,WriteMode,0,iVar9,cache_info_00->columns,1,MagickFalse,\n                           *ppNVar13,exception);\n      if (pQVar12 == (Quantum *)0x0) goto joined_r0x0004ee5f;\n      memset((*ppNVar13)->pixels,0,(size_t)(*ppNVar13)->length);\n      if (MVar4 == MagickFalse) {\n        pQVar12 = (*ppNVar17)->pixels;\n        local_28 = *ppNVar13;\n        local_50 = local_28->pixels;\n        sVar5 = cache_info->columns;\n        if (((int)sVar5 < 1) || (sVar6 = cache_info_00->columns, sVar6 == 0)) goto LAB_0004eec7;\n        sVar7 = cache_info->number_channels;\n        sVar8 = cache_info_00->number_channels;\n        local_5c = 0;\n        do {\n          pPVar14 = cache_info_00->channel_map;\n          pQVar16 = local_50;\n          if (0 < (int)sVar8) {\n            do {\n              if (cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait) {\n                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];\n              }\n              pPVar14 = pPVar14 + 1;\n              pQVar16 = pQVar16 + 1;\n            } while (pPVar14 != cache_info_00->channel_map + sVar8);\n            local_50 = local_50 + sVar8;\n          }\n          local_5c = local_5c + 1;\n          pQVar12 = pQVar12 + sVar7;\n        } while ((local_5c != sVar5) && (local_5c != sVar6));\n        MVar15 = local_28->authentic_pixel_cache;\n      }\n      else {\n        memcpy((*ppNVar13)->pixels,(*ppNVar17)->pixels,sVar2 << 3);\n        local_28 = *ppNVar13;\nLAB_0004eec7:\n        MVar15 = local_28->authentic_pixel_cache;\n      }\n      if (MVar15 == MagickFalse) {\n        MVar15 = WritePixelCachePixels(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n        this->status = MVar15;\n      }\n      else {\n        this->status = MagickTrue;\n      }\n      goto joined_r0x0004ee5f;\n    }" if (parenthesized_expression "((*ppNVar17)->authentic_pixel_cache != MagickFalse)" ( (binary_expression "(*ppNVar17)->authentic_pixel_cache != MagickFalse" (field_expression "(*ppNVar17)->authentic_pixel_cache" (parenthesized_expression "(*ppNVar17)" ( (pointer_expression "*ppNVar17" * identifier) )) -> field_identifier) != identifier) )) (compound_statement "{\n      this->status = MagickTrue;\nLAB_0004ecfd:\n      ppNVar13 = ppNVar1 + iVar10;\n      pQVar12 = SetPixelCacheNexusPixels\n                          (cache_info_00,WriteMode,0,iVar9,cache_info_00->columns,1,MagickFalse,\n                           *ppNVar13,exception);\n      if (pQVar12 == (Quantum *)0x0) goto joined_r0x0004ee5f;\n      memset((*ppNVar13)->pixels,0,(size_t)(*ppNVar13)->length);\n      if (MVar4 == MagickFalse) {\n        pQVar12 = (*ppNVar17)->pixels;\n        local_28 = *ppNVar13;\n        local_50 = local_28->pixels;\n        sVar5 = cache_info->columns;\n        if (((int)sVar5 < 1) || (sVar6 = cache_info_00->columns, sVar6 == 0)) goto LAB_0004eec7;\n        sVar7 = cache_info->number_channels;\n        sVar8 = cache_info_00->number_channels;\n        local_5c = 0;\n        do {\n          pPVar14 = cache_info_00->channel_map;\n          pQVar16 = local_50;\n          if (0 < (int)sVar8) {\n            do {\n              if (cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait) {\n                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];\n              }\n              pPVar14 = pPVar14 + 1;\n              pQVar16 = pQVar16 + 1;\n            } while (pPVar14 != cache_info_00->channel_map + sVar8);\n            local_50 = local_50 + sVar8;\n          }\n          local_5c = local_5c + 1;\n          pQVar12 = pQVar12 + sVar7;\n        } while ((local_5c != sVar5) && (local_5c != sVar6));\n        MVar15 = local_28->authentic_pixel_cache;\n      }\n      else {\n        memcpy((*ppNVar13)->pixels,(*ppNVar17)->pixels,sVar2 << 3);\n        local_28 = *ppNVar13;\nLAB_0004eec7:\n        MVar15 = local_28->authentic_pixel_cache;\n      }\n      if (MVar15 == MagickFalse) {\n        MVar15 = WritePixelCachePixels(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n        this->status = MVar15;\n      }\n      else {\n        this->status = MagickTrue;\n      }\n      goto joined_r0x0004ee5f;\n    }" { (expression_statement "this->status = MagickTrue;" (assignment_expression "this->status = MagickTrue" (field_expression "this->status" identifier -> field_identifier) = identifier) ;) (labeled_statement "LAB_0004ecfd:\n      ppNVar13 = ppNVar1 + iVar10;" statement_identifier : (expression_statement "ppNVar13 = ppNVar1 + iVar10;" (assignment_expression "ppNVar13 = ppNVar1 + iVar10" identifier = (binary_expression "ppNVar1 + iVar10" identifier + identifier)) ;)) (expression_statement "pQVar12 = SetPixelCacheNexusPixels\n                          (cache_info_00,WriteMode,0,iVar9,cache_info_00->columns,1,MagickFalse,\n                           *ppNVar13,exception);" (assignment_expression "pQVar12 = SetPixelCacheNexusPixels\n                          (cache_info_00,WriteMode,0,iVar9,cache_info_00->columns,1,MagickFalse,\n                           *ppNVar13,exception)" identifier = (call_expression "SetPixelCacheNexusPixels\n                          (cache_info_00,WriteMode,0,iVar9,cache_info_00->columns,1,MagickFalse,\n                           *ppNVar13,exception)" identifier (argument_list "(cache_info_00,WriteMode,0,iVar9,cache_info_00->columns,1,MagickFalse,\n                           *ppNVar13,exception)" ( identifier , identifier , number_literal , identifier , (field_expression "cache_info_00->columns" identifier -> field_identifier) , number_literal , identifier , (pointer_expression "*ppNVar13" * identifier) , identifier )))) ;) (if_statement "if (pQVar12 == (Quantum *)0x0) goto joined_r0x0004ee5f;" if (parenthesized_expression "(pQVar12 == (Quantum *)0x0)" ( (binary_expression "pQVar12 == (Quantum *)0x0" identifier == (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto joined_r0x0004ee5f;" goto statement_identifier ;)) (expression_statement "memset((*ppNVar13)->pixels,0,(size_t)(*ppNVar13)->length);" (call_expression "memset((*ppNVar13)->pixels,0,(size_t)(*ppNVar13)->length)" identifier (argument_list "((*ppNVar13)->pixels,0,(size_t)(*ppNVar13)->length)" ( (field_expression "(*ppNVar13)->pixels" (parenthesized_expression "(*ppNVar13)" ( (pointer_expression "*ppNVar13" * identifier) )) -> field_identifier) , number_literal , (cast_expression "(size_t)(*ppNVar13)->length" ( (type_descriptor "size_t" primitive_type) ) (field_expression "(*ppNVar13)->length" (parenthesized_expression "(*ppNVar13)" ( (pointer_expression "*ppNVar13" * identifier) )) -> field_identifier)) ))) ;) (if_statement "if (MVar4 == MagickFalse) {\n        pQVar12 = (*ppNVar17)->pixels;\n        local_28 = *ppNVar13;\n        local_50 = local_28->pixels;\n        sVar5 = cache_info->columns;\n        if (((int)sVar5 < 1) || (sVar6 = cache_info_00->columns, sVar6 == 0)) goto LAB_0004eec7;\n        sVar7 = cache_info->number_channels;\n        sVar8 = cache_info_00->number_channels;\n        local_5c = 0;\n        do {\n          pPVar14 = cache_info_00->channel_map;\n          pQVar16 = local_50;\n          if (0 < (int)sVar8) {\n            do {\n              if (cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait) {\n                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];\n              }\n              pPVar14 = pPVar14 + 1;\n              pQVar16 = pQVar16 + 1;\n            } while (pPVar14 != cache_info_00->channel_map + sVar8);\n            local_50 = local_50 + sVar8;\n          }\n          local_5c = local_5c + 1;\n          pQVar12 = pQVar12 + sVar7;\n        } while ((local_5c != sVar5) && (local_5c != sVar6));\n        MVar15 = local_28->authentic_pixel_cache;\n      }\n      else {\n        memcpy((*ppNVar13)->pixels,(*ppNVar17)->pixels,sVar2 << 3);\n        local_28 = *ppNVar13;\nLAB_0004eec7:\n        MVar15 = local_28->authentic_pixel_cache;\n      }" if (parenthesized_expression "(MVar4 == MagickFalse)" ( (binary_expression "MVar4 == MagickFalse" identifier == identifier) )) (compound_statement "{\n        pQVar12 = (*ppNVar17)->pixels;\n        local_28 = *ppNVar13;\n        local_50 = local_28->pixels;\n        sVar5 = cache_info->columns;\n        if (((int)sVar5 < 1) || (sVar6 = cache_info_00->columns, sVar6 == 0)) goto LAB_0004eec7;\n        sVar7 = cache_info->number_channels;\n        sVar8 = cache_info_00->number_channels;\n        local_5c = 0;\n        do {\n          pPVar14 = cache_info_00->channel_map;\n          pQVar16 = local_50;\n          if (0 < (int)sVar8) {\n            do {\n              if (cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait) {\n                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];\n              }\n              pPVar14 = pPVar14 + 1;\n              pQVar16 = pQVar16 + 1;\n            } while (pPVar14 != cache_info_00->channel_map + sVar8);\n            local_50 = local_50 + sVar8;\n          }\n          local_5c = local_5c + 1;\n          pQVar12 = pQVar12 + sVar7;\n        } while ((local_5c != sVar5) && (local_5c != sVar6));\n        MVar15 = local_28->authentic_pixel_cache;\n      }" { (expression_statement "pQVar12 = (*ppNVar17)->pixels;" (assignment_expression "pQVar12 = (*ppNVar17)->pixels" identifier = (field_expression "(*ppNVar17)->pixels" (parenthesized_expression "(*ppNVar17)" ( (pointer_expression "*ppNVar17" * identifier) )) -> field_identifier)) ;) (expression_statement "local_28 = *ppNVar13;" (assignment_expression "local_28 = *ppNVar13" identifier = (pointer_expression "*ppNVar13" * identifier)) ;) (expression_statement "local_50 = local_28->pixels;" (assignment_expression "local_50 = local_28->pixels" identifier = (field_expression "local_28->pixels" identifier -> field_identifier)) ;) (expression_statement "sVar5 = cache_info->columns;" (assignment_expression "sVar5 = cache_info->columns" identifier = (field_expression "cache_info->columns" identifier -> field_identifier)) ;) (if_statement "if (((int)sVar5 < 1) || (sVar6 = cache_info_00->columns, sVar6 == 0)) goto LAB_0004eec7;" if (parenthesized_expression "(((int)sVar5 < 1) || (sVar6 = cache_info_00->columns, sVar6 == 0))" ( (binary_expression "((int)sVar5 < 1) || (sVar6 = cache_info_00->columns, sVar6 == 0)" (parenthesized_expression "((int)sVar5 < 1)" ( (binary_expression "(int)sVar5 < 1" (cast_expression "(int)sVar5" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "(sVar6 = cache_info_00->columns, sVar6 == 0)" ( (comma_expression "sVar6 = cache_info_00->columns, sVar6 == 0" (assignment_expression "sVar6 = cache_info_00->columns" identifier = (field_expression "cache_info_00->columns" identifier -> field_identifier)) , (binary_expression "sVar6 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0004eec7;" goto statement_identifier ;)) (expression_statement "sVar7 = cache_info->number_channels;" (assignment_expression "sVar7 = cache_info->number_channels" identifier = (field_expression "cache_info->number_channels" identifier -> field_identifier)) ;) (expression_statement "sVar8 = cache_info_00->number_channels;" (assignment_expression "sVar8 = cache_info_00->number_channels" identifier = (field_expression "cache_info_00->number_channels" identifier -> field_identifier)) ;) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" identifier = number_literal) ;) (do_statement "do {\n          pPVar14 = cache_info_00->channel_map;\n          pQVar16 = local_50;\n          if (0 < (int)sVar8) {\n            do {\n              if (cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait) {\n                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];\n              }\n              pPVar14 = pPVar14 + 1;\n              pQVar16 = pQVar16 + 1;\n            } while (pPVar14 != cache_info_00->channel_map + sVar8);\n            local_50 = local_50 + sVar8;\n          }\n          local_5c = local_5c + 1;\n          pQVar12 = pQVar12 + sVar7;\n        } while ((local_5c != sVar5) && (local_5c != sVar6));" do (compound_statement "{\n          pPVar14 = cache_info_00->channel_map;\n          pQVar16 = local_50;\n          if (0 < (int)sVar8) {\n            do {\n              if (cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait) {\n                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];\n              }\n              pPVar14 = pPVar14 + 1;\n              pQVar16 = pQVar16 + 1;\n            } while (pPVar14 != cache_info_00->channel_map + sVar8);\n            local_50 = local_50 + sVar8;\n          }\n          local_5c = local_5c + 1;\n          pQVar12 = pQVar12 + sVar7;\n        }" { (expression_statement "pPVar14 = cache_info_00->channel_map;" (assignment_expression "pPVar14 = cache_info_00->channel_map" identifier = (field_expression "cache_info_00->channel_map" identifier -> field_identifier)) ;) (expression_statement "pQVar16 = local_50;" (assignment_expression "pQVar16 = local_50" identifier = identifier) ;) (if_statement "if (0 < (int)sVar8) {\n            do {\n              if (cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait) {\n                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];\n              }\n              pPVar14 = pPVar14 + 1;\n              pQVar16 = pQVar16 + 1;\n            } while (pPVar14 != cache_info_00->channel_map + sVar8);\n            local_50 = local_50 + sVar8;\n          }" if (parenthesized_expression "(0 < (int)sVar8)" ( (binary_expression "0 < (int)sVar8" number_literal < (cast_expression "(int)sVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n            do {\n              if (cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait) {\n                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];\n              }\n              pPVar14 = pPVar14 + 1;\n              pQVar16 = pQVar16 + 1;\n            } while (pPVar14 != cache_info_00->channel_map + sVar8);\n            local_50 = local_50 + sVar8;\n          }" { (do_statement "do {\n              if (cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait) {\n                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];\n              }\n              pPVar14 = pPVar14 + 1;\n              pQVar16 = pQVar16 + 1;\n            } while (pPVar14 != cache_info_00->channel_map + sVar8);" do (compound_statement "{\n              if (cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait) {\n                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];\n              }\n              pPVar14 = pPVar14 + 1;\n              pQVar16 = pQVar16 + 1;\n            }" { (if_statement "if (cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait) {\n                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];\n              }" if (parenthesized_expression "(cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait)" ( (binary_expression "cache_info->channel_map[pPVar14->channel].traits != UndefinedPixelTrait" (field_expression "cache_info->channel_map[pPVar14->channel].traits" (subscript_expression "cache_info->channel_map[pPVar14->channel]" (field_expression "cache_info->channel_map" identifier -> field_identifier) [ (field_expression "pPVar14->channel" identifier -> field_identifier) ]) . field_identifier) != identifier) )) (compound_statement "{\n                *pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];\n              }" { (expression_statement "*pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset];" (assignment_expression "*pQVar16 = pQVar12[cache_info->channel_map[pPVar14->channel].offset]" (pointer_expression "*pQVar16" * identifier) = (subscript_expression "pQVar12[cache_info->channel_map[pPVar14->channel].offset]" identifier [ (field_expression "cache_info->channel_map[pPVar14->channel].offset" (subscript_expression "cache_info->channel_map[pPVar14->channel]" (field_expression "cache_info->channel_map" identifier -> field_identifier) [ (field_expression "pPVar14->channel" identifier -> field_identifier) ]) . field_identifier) ])) ;) })) (expression_statement "pPVar14 = pPVar14 + 1;" (assignment_expression "pPVar14 = pPVar14 + 1" identifier = (binary_expression "pPVar14 + 1" identifier + number_literal)) ;) (expression_statement "pQVar16 = pQVar16 + 1;" (assignment_expression "pQVar16 = pQVar16 + 1" identifier = (binary_expression "pQVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pPVar14 != cache_info_00->channel_map + sVar8)" ( (binary_expression "pPVar14 != cache_info_00->channel_map + sVar8" identifier != (binary_expression "cache_info_00->channel_map + sVar8" (field_expression "cache_info_00->channel_map" identifier -> field_identifier) + identifier)) )) ;) (expression_statement "local_50 = local_50 + sVar8;" (assignment_expression "local_50 = local_50 + sVar8" identifier = (binary_expression "local_50 + sVar8" identifier + identifier)) ;) })) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;) (expression_statement "pQVar12 = pQVar12 + sVar7;" (assignment_expression "pQVar12 = pQVar12 + sVar7" identifier = (binary_expression "pQVar12 + sVar7" identifier + identifier)) ;) }) while (parenthesized_expression "((local_5c != sVar5) && (local_5c != sVar6))" ( (binary_expression "(local_5c != sVar5) && (local_5c != sVar6)" (parenthesized_expression "(local_5c != sVar5)" ( (binary_expression "local_5c != sVar5" identifier != identifier) )) && (parenthesized_expression "(local_5c != sVar6)" ( (binary_expression "local_5c != sVar6" identifier != identifier) ))) )) ;) (expression_statement "MVar15 = local_28->authentic_pixel_cache;" (assignment_expression "MVar15 = local_28->authentic_pixel_cache" identifier = (field_expression "local_28->authentic_pixel_cache" identifier -> field_identifier)) ;) }) (else_clause "else {\n        memcpy((*ppNVar13)->pixels,(*ppNVar17)->pixels,sVar2 << 3);\n        local_28 = *ppNVar13;\nLAB_0004eec7:\n        MVar15 = local_28->authentic_pixel_cache;\n      }" else (compound_statement "{\n        memcpy((*ppNVar13)->pixels,(*ppNVar17)->pixels,sVar2 << 3);\n        local_28 = *ppNVar13;\nLAB_0004eec7:\n        MVar15 = local_28->authentic_pixel_cache;\n      }" { (expression_statement "memcpy((*ppNVar13)->pixels,(*ppNVar17)->pixels,sVar2 << 3);" (call_expression "memcpy((*ppNVar13)->pixels,(*ppNVar17)->pixels,sVar2 << 3)" identifier (argument_list "((*ppNVar13)->pixels,(*ppNVar17)->pixels,sVar2 << 3)" ( (field_expression "(*ppNVar13)->pixels" (parenthesized_expression "(*ppNVar13)" ( (pointer_expression "*ppNVar13" * identifier) )) -> field_identifier) , (field_expression "(*ppNVar17)->pixels" (parenthesized_expression "(*ppNVar17)" ( (pointer_expression "*ppNVar17" * identifier) )) -> field_identifier) , (binary_expression "sVar2 << 3" identifier << number_literal) ))) ;) (expression_statement "local_28 = *ppNVar13;" (assignment_expression "local_28 = *ppNVar13" identifier = (pointer_expression "*ppNVar13" * identifier)) ;) (labeled_statement "LAB_0004eec7:\n        MVar15 = local_28->authentic_pixel_cache;" statement_identifier : (expression_statement "MVar15 = local_28->authentic_pixel_cache;" (assignment_expression "MVar15 = local_28->authentic_pixel_cache" identifier = (field_expression "local_28->authentic_pixel_cache" identifier -> field_identifier)) ;)) }))) (if_statement "if (MVar15 == MagickFalse) {\n        MVar15 = WritePixelCachePixels(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n        this->status = MVar15;\n      }\n      else {\n        this->status = MagickTrue;\n      }" if (parenthesized_expression "(MVar15 == MagickFalse)" ( (binary_expression "MVar15 == MagickFalse" identifier == identifier) )) (compound_statement "{\n        MVar15 = WritePixelCachePixels(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n        this->status = MVar15;\n      }" { (expression_statement "MVar15 = WritePixelCachePixels(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);" (assignment_expression "MVar15 = WritePixelCachePixels(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c)" identifier = (call_expression "WritePixelCachePixels(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c)" identifier (argument_list "(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c)" ( identifier , identifier , identifier )))) ;) (expression_statement "this->status = MVar15;" (assignment_expression "this->status = MVar15" (field_expression "this->status" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n        this->status = MagickTrue;\n      }" else (compound_statement "{\n        this->status = MagickTrue;\n      }" { (expression_statement "this->status = MagickTrue;" (assignment_expression "this->status = MagickTrue" (field_expression "this->status" identifier -> field_identifier) = identifier) ;) }))) (goto_statement "goto joined_r0x0004ee5f;" goto statement_identifier ;) })) (expression_statement "MVar15 = ReadPixelCachePixels(cache_info,*ppNVar17,exception);" (assignment_expression "MVar15 = ReadPixelCachePixels(cache_info,*ppNVar17,exception)" identifier = (call_expression "ReadPixelCachePixels(cache_info,*ppNVar17,exception)" identifier (argument_list "(cache_info,*ppNVar17,exception)" ( identifier , (pointer_expression "*ppNVar17" * identifier) , identifier )))) ;) (expression_statement "this->status = MVar15;" (assignment_expression "this->status = MVar15" (field_expression "this->status" identifier -> field_identifier) = identifier) ;) (if_statement "if (MVar15 != MagickFalse) goto LAB_0004ecfd;" if (parenthesized_expression "(MVar15 != MagickFalse)" ( (binary_expression "MVar15 != MagickFalse" identifier != identifier) )) (goto_statement "goto LAB_0004ecfd;" goto statement_identifier ;)) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (if_statement "if (iVar11 == iVar9) {\n      return;\n    }" if (parenthesized_expression "(iVar11 == iVar9)" ( (binary_expression "iVar11 == iVar9" identifier == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void FUN_0004ebf0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int *piVar16;\n  undefined8 *puVar17;\n  int *piVar18;\n  int local_5c;\n  undefined8 *local_50;\n  int local_28;\n  \n  iVar2 = param_1[1];\n  iVar11 = omp_get_num_threads();\n  iVar12 = omp_get_thread_num();\n  iVar13 = *(int *)(iVar2 + 0x14) / iVar11;\n  iVar11 = *(int *)(iVar2 + 0x14) % iVar11;\n  if (iVar12 < iVar11) {\n    iVar13 = iVar13 + 1;\n    iVar11 = 0;\n  }\n  iVar11 = iVar12 * iVar13 + iVar11;\n  iVar13 = iVar13 + iVar11;\n  if (iVar13 <= iVar11) {\n    return;\n  }\n  iVar12 = param_1[5];\n  iVar3 = param_1[6];\n  iVar4 = param_1[4];\n  iVar5 = param_1[3];\n  iVar6 = param_1[2];\n  iVar7 = *param_1;\n  do {\n    while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }\n    piVar18 = (int *)(iVar4 + iVar14 * 4);\n    iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);\n    if (iVar15 == 0) goto joined_r0x0004ee5f;\n    if (*(int *)(*piVar18 + 0x24) != 0) {\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    iVar15 = FUN_0004ceb0();\n    param_1[7] = iVar15;\n    if (iVar15 != 0) goto LAB_0004ecfd;\n    iVar11 = iVar11 + 1;\n    if (iVar13 == iVar11) {\n      return;\n    }\n  } while( true );\n}\n\n" (function_definition "void FUN_0004ebf0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int *piVar16;\n  undefined8 *puVar17;\n  int *piVar18;\n  int local_5c;\n  undefined8 *local_50;\n  int local_28;\n  \n  iVar2 = param_1[1];\n  iVar11 = omp_get_num_threads();\n  iVar12 = omp_get_thread_num();\n  iVar13 = *(int *)(iVar2 + 0x14) / iVar11;\n  iVar11 = *(int *)(iVar2 + 0x14) % iVar11;\n  if (iVar12 < iVar11) {\n    iVar13 = iVar13 + 1;\n    iVar11 = 0;\n  }\n  iVar11 = iVar12 * iVar13 + iVar11;\n  iVar13 = iVar13 + iVar11;\n  if (iVar13 <= iVar11) {\n    return;\n  }\n  iVar12 = param_1[5];\n  iVar3 = param_1[6];\n  iVar4 = param_1[4];\n  iVar5 = param_1[3];\n  iVar6 = param_1[2];\n  iVar7 = *param_1;\n  do {\n    while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }\n    piVar18 = (int *)(iVar4 + iVar14 * 4);\n    iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);\n    if (iVar15 == 0) goto joined_r0x0004ee5f;\n    if (*(int *)(*piVar18 + 0x24) != 0) {\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    iVar15 = FUN_0004ceb0();\n    param_1[7] = iVar15;\n    if (iVar15 != 0) goto LAB_0004ecfd;\n    iVar11 = iVar11 + 1;\n    if (iVar13 == iVar11) {\n      return;\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_0004ebf0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int *piVar16;\n  undefined8 *puVar17;\n  int *piVar18;\n  int local_5c;\n  undefined8 *local_50;\n  int local_28;\n  \n  iVar2 = param_1[1];\n  iVar11 = omp_get_num_threads();\n  iVar12 = omp_get_thread_num();\n  iVar13 = *(int *)(iVar2 + 0x14) / iVar11;\n  iVar11 = *(int *)(iVar2 + 0x14) % iVar11;\n  if (iVar12 < iVar11) {\n    iVar13 = iVar13 + 1;\n    iVar11 = 0;\n  }\n  iVar11 = iVar12 * iVar13 + iVar11;\n  iVar13 = iVar13 + iVar11;\n  if (iVar13 <= iVar11) {\n    return;\n  }\n  iVar12 = param_1[5];\n  iVar3 = param_1[6];\n  iVar4 = param_1[4];\n  iVar5 = param_1[3];\n  iVar6 = param_1[2];\n  iVar7 = *param_1;\n  do {\n    while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }\n    piVar18 = (int *)(iVar4 + iVar14 * 4);\n    iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);\n    if (iVar15 == 0) goto joined_r0x0004ee5f;\n    if (*(int *)(*piVar18 + 0x24) != 0) {\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    iVar15 = FUN_0004ceb0();\n    param_1[7] = iVar15;\n    if (iVar15 != 0) goto LAB_0004ecfd;\n    iVar11 = iVar11 + 1;\n    if (iVar13 == iVar11) {\n      return;\n    }\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int *piVar16;" primitive_type (pointer_declarator "*piVar16" * identifier) ;) (declaration "undefined8 *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "int *piVar18;" primitive_type (pointer_declarator "*piVar18" * identifier) ;) (declaration "int local_5c;" primitive_type identifier ;) (declaration "undefined8 *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "int local_28;" primitive_type identifier ;) (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar11 = omp_get_num_threads();" (assignment_expression "iVar11 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar12 = omp_get_thread_num();" (assignment_expression "iVar12 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar13 = *(int *)(iVar2 + 0x14) / iVar11;" (assignment_expression "iVar13 = *(int *)(iVar2 + 0x14) / iVar11" identifier = (binary_expression "*(int *)(iVar2 + 0x14) / iVar11" (pointer_expression "*(int *)(iVar2 + 0x14)" * (cast_expression "(int *)(iVar2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) / identifier)) ;) (expression_statement "iVar11 = *(int *)(iVar2 + 0x14) % iVar11;" (assignment_expression "iVar11 = *(int *)(iVar2 + 0x14) % iVar11" identifier = (binary_expression "*(int *)(iVar2 + 0x14) % iVar11" (pointer_expression "*(int *)(iVar2 + 0x14)" * (cast_expression "(int *)(iVar2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) % identifier)) ;) (if_statement "if (iVar12 < iVar11) {\n    iVar13 = iVar13 + 1;\n    iVar11 = 0;\n  }" if (parenthesized_expression "(iVar12 < iVar11)" ( (binary_expression "iVar12 < iVar11" identifier < identifier) )) (compound_statement "{\n    iVar13 = iVar13 + 1;\n    iVar11 = 0;\n  }" { (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) })) (expression_statement "iVar11 = iVar12 * iVar13 + iVar11;" (assignment_expression "iVar11 = iVar12 * iVar13 + iVar11" identifier = (binary_expression "iVar12 * iVar13 + iVar11" (binary_expression "iVar12 * iVar13" identifier * identifier) + identifier)) ;) (expression_statement "iVar13 = iVar13 + iVar11;" (assignment_expression "iVar13 = iVar13 + iVar11" identifier = (binary_expression "iVar13 + iVar11" identifier + identifier)) ;) (if_statement "if (iVar13 <= iVar11) {\n    return;\n  }" if (parenthesized_expression "(iVar13 <= iVar11)" ( (binary_expression "iVar13 <= iVar11" identifier <= identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar12 = param_1[5];" (assignment_expression "iVar12 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[6];" (assignment_expression "iVar3 = param_1[6]" identifier = (subscript_expression "param_1[6]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = param_1[4];" (assignment_expression "iVar4 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = param_1[3];" (assignment_expression "iVar5 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = param_1[2];" (assignment_expression "iVar6 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = *param_1;" (assignment_expression "iVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (do_statement "do {\n    while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }\n    piVar18 = (int *)(iVar4 + iVar14 * 4);\n    iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);\n    if (iVar15 == 0) goto joined_r0x0004ee5f;\n    if (*(int *)(*piVar18 + 0x24) != 0) {\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    iVar15 = FUN_0004ceb0();\n    param_1[7] = iVar15;\n    if (iVar15 != 0) goto LAB_0004ecfd;\n    iVar11 = iVar11 + 1;\n    if (iVar13 == iVar11) {\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }\n    piVar18 = (int *)(iVar4 + iVar14 * 4);\n    iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);\n    if (iVar15 == 0) goto joined_r0x0004ee5f;\n    if (*(int *)(*piVar18 + 0x24) != 0) {\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    iVar15 = FUN_0004ceb0();\n    param_1[7] = iVar15;\n    if (iVar15 != 0) goto LAB_0004ecfd;\n    iVar11 = iVar11 + 1;\n    if (iVar13 == iVar11) {\n      return;\n    }\n  }" { (while_statement "while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }" while (parenthesized_expression "((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11)))" ( (parenthesized_expression "(iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))" ( (comma_expression "iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11)" (assignment_expression "iVar14 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) , (binary_expression "param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11)" (binary_expression "param_1[7] == 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) == number_literal) || (parenthesized_expression "(*(int *)(iVar7 + 0x14) <= iVar11)" ( (binary_expression "*(int *)(iVar7 + 0x14) <= iVar11" (pointer_expression "*(int *)(iVar7 + 0x14)" * (cast_expression "(int *)(iVar7 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x14)" ( (binary_expression "iVar7 + 0x14" identifier + number_literal) )))) <= identifier) )))) )) )) (compound_statement "{\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }" { (labeled_statement "joined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;" statement_identifier : (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;)) (if_statement "if (iVar13 == iVar11) {\n        return;\n      }" if (parenthesized_expression "(iVar13 == iVar11)" ( (binary_expression "iVar13 == iVar11" identifier == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (expression_statement "piVar18 = (int *)(iVar4 + iVar14 * 4);" (assignment_expression "piVar18 = (int *)(iVar4 + iVar14 * 4)" identifier = (cast_expression "(int *)(iVar4 + iVar14 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar14 * 4)" ( (binary_expression "iVar4 + iVar14 * 4" identifier + (binary_expression "iVar14 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);" (assignment_expression "iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6)" identifier = (call_expression "FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6)" identifier (argument_list "(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6)" ( identifier , (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) , number_literal , number_literal , (pointer_expression "*piVar18" * identifier) , identifier )))) ;) (if_statement "if (iVar15 == 0) goto joined_r0x0004ee5f;" if (parenthesized_expression "(iVar15 == 0)" ( (binary_expression "iVar15 == 0" identifier == number_literal) )) (goto_statement "goto joined_r0x0004ee5f;" goto statement_identifier ;)) (if_statement "if (*(int *)(*piVar18 + 0x24) != 0) {\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }" if (parenthesized_expression "(*(int *)(*piVar18 + 0x24) != 0)" ( (binary_expression "*(int *)(*piVar18 + 0x24) != 0" (pointer_expression "*(int *)(*piVar18 + 0x24)" * (cast_expression "(int *)(*piVar18 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + 0x24)" ( (binary_expression "*piVar18 + 0x24" (pointer_expression "*piVar18" * identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }" { (expression_statement "param_1[7] = 1;" (assignment_expression "param_1[7] = 1" (subscript_expression "param_1[7]" identifier [ number_literal ]) = number_literal) ;) (labeled_statement "LAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);" statement_identifier : (expression_statement "piVar16 = (int *)(iVar14 * 4 + iVar12);" (assignment_expression "piVar16 = (int *)(iVar14 * 4 + iVar12)" identifier = (cast_expression "(int *)(iVar14 * 4 + iVar12)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 * 4 + iVar12)" ( (binary_expression "iVar14 * 4 + iVar12" (binary_expression "iVar14 * 4" identifier * number_literal) + identifier) )))) ;)) (expression_statement "iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);" (assignment_expression "iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6)" identifier = (call_expression "FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6)" identifier (argument_list "(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6)" ( identifier , (pointer_expression "*(undefined4 *)(iVar7 + 0x10)" * (cast_expression "(undefined4 *)(iVar7 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) , number_literal , number_literal , (pointer_expression "*piVar16" * identifier) , identifier )))) ;) (if_statement "if (iVar14 == 0) goto joined_r0x0004ee5f;" if (parenthesized_expression "(iVar14 == 0)" ( (binary_expression "iVar14 == 0" identifier == number_literal) )) (goto_statement "goto joined_r0x0004ee5f;" goto statement_identifier ;)) (expression_statement "memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));" (call_expression "memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14))" identifier (argument_list "(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14))" ( (pointer_expression "*(void **)(*piVar16 + 0x20)" * (cast_expression "(void **)(*piVar16 + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar16 + 0x20)" ( (binary_expression "*piVar16 + 0x20" (pointer_expression "*piVar16" * identifier) + number_literal) )))) , number_literal , (pointer_expression "*(size_t *)(*piVar16 + 0x14)" * (cast_expression "(size_t *)(*piVar16 + 0x14)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar16 + 0x14)" ( (binary_expression "*piVar16 + 0x14" (pointer_expression "*piVar16" * identifier) + number_literal) )))) ))) ;) (if_statement "if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }" { (expression_statement "iVar14 = *(int *)(*piVar18 + 0x20);" (assignment_expression "iVar14 = *(int *)(*piVar18 + 0x20)" identifier = (pointer_expression "*(int *)(*piVar18 + 0x20)" * (cast_expression "(int *)(*piVar18 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar18 + 0x20)" ( (binary_expression "*piVar18 + 0x20" (pointer_expression "*piVar18" * identifier) + number_literal) ))))) ;) (expression_statement "local_28 = *piVar16;" (assignment_expression "local_28 = *piVar16" identifier = (pointer_expression "*piVar16" * identifier)) ;) (expression_statement "local_50 = *(undefined8 **)(local_28 + 0x20);" (assignment_expression "local_50 = *(undefined8 **)(local_28 + 0x20)" identifier = (pointer_expression "*(undefined8 **)(local_28 + 0x20)" * (cast_expression "(undefined8 **)(local_28 + 0x20)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_28 + 0x20)" ( (binary_expression "local_28 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "iVar15 = *(int *)(iVar2 + 0x10);" (assignment_expression "iVar15 = *(int *)(iVar2 + 0x10)" identifier = (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;" if (parenthesized_expression "((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0))" ( (binary_expression "(iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)" (parenthesized_expression "(iVar15 < 1)" ( (binary_expression "iVar15 < 1" identifier < number_literal) )) || (parenthesized_expression "(iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)" ( (comma_expression "iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0" (assignment_expression "iVar8 = *(int *)(iVar7 + 0x10)" identifier = (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) ))))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0004eec7;" goto statement_identifier ;)) (expression_statement "iVar9 = *(int *)(iVar2 + 0x1c);" (assignment_expression "iVar9 = *(int *)(iVar2 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(iVar7 + 0x1c);" (assignment_expression "iVar10 = *(int *)(iVar7 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar7 + 0x1c)" * (cast_expression "(int *)(iVar7 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x1c)" ( (binary_expression "iVar7 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" identifier = number_literal) ;) (do_statement "do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));" do (compound_statement "{\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        }" { (expression_statement "piVar18 = (int *)(iVar7 + 0x20);" (assignment_expression "piVar18 = (int *)(iVar7 + 0x20)" identifier = (cast_expression "(int *)(iVar7 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x20)" ( (binary_expression "iVar7 + 0x20" identifier + number_literal) )))) ;) (expression_statement "puVar17 = local_50;" (assignment_expression "puVar17 = local_50" identifier = identifier) ;) (if_statement "if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }" if (parenthesized_expression "(0 < iVar10)" ( (binary_expression "0 < iVar10" number_literal < identifier) )) (compound_statement "{\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }" { (do_statement "do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);" do (compound_statement "{\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            }" { (expression_statement "iVar1 = iVar2 + *piVar18 * 0xc;" (assignment_expression "iVar1 = iVar2 + *piVar18 * 0xc" identifier = (binary_expression "iVar2 + *piVar18 * 0xc" identifier + (binary_expression "*piVar18 * 0xc" (pointer_expression "*piVar18" * identifier) * number_literal))) ;) (if_statement "if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }" if (parenthesized_expression "(*(int *)(iVar1 + 0x24) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x24) != 0" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }" { (expression_statement "*puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);" (assignment_expression "*puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8)" (pointer_expression "*puVar17" * identifier) = (pointer_expression "*(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8)" * (cast_expression "(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + *(int *)(iVar1 + 0x28) * 8)" ( (binary_expression "iVar14 + *(int *)(iVar1 + 0x28) * 8" identifier + (binary_expression "*(int *)(iVar1 + 0x28) * 8" (pointer_expression "*(int *)(iVar1 + 0x28)" * (cast_expression "(int *)(iVar1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x28)" ( (binary_expression "iVar1 + 0x28" identifier + number_literal) )))) * number_literal)) ))))) ;) })) (expression_statement "piVar18 = piVar18 + 3;" (assignment_expression "piVar18 = piVar18 + 3" identifier = (binary_expression "piVar18 + 3" identifier + number_literal)) ;) (expression_statement "puVar17 = puVar17 + 1;" (assignment_expression "puVar17 = puVar17 + 1" identifier = (binary_expression "puVar17 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3)" ( (binary_expression "piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3" identifier != (binary_expression "(int *)(iVar7 + 0x20) + iVar10 * 3" (cast_expression "(int *)(iVar7 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x20)" ( (binary_expression "iVar7 + 0x20" identifier + number_literal) ))) + (binary_expression "iVar10 * 3" identifier * number_literal))) )) ;) (expression_statement "local_50 = local_50 + iVar10;" (assignment_expression "local_50 = local_50 + iVar10" identifier = (binary_expression "local_50 + iVar10" identifier + identifier)) ;) })) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;) (expression_statement "iVar14 = iVar14 + iVar9 * 8;" (assignment_expression "iVar14 = iVar14 + iVar9 * 8" identifier = (binary_expression "iVar14 + iVar9 * 8" identifier + (binary_expression "iVar9 * 8" identifier * number_literal))) ;) }) while (parenthesized_expression "((local_5c != iVar15) && (local_5c != iVar8))" ( (binary_expression "(local_5c != iVar15) && (local_5c != iVar8)" (parenthesized_expression "(local_5c != iVar15)" ( (binary_expression "local_5c != iVar15" identifier != identifier) )) && (parenthesized_expression "(local_5c != iVar8)" ( (binary_expression "local_5c != iVar8" identifier != identifier) ))) )) ;) (expression_statement "iVar14 = *(int *)(local_28 + 0x24);" (assignment_expression "iVar14 = *(int *)(local_28 + 0x24)" identifier = (pointer_expression "*(int *)(local_28 + 0x24)" * (cast_expression "(int *)(local_28 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x24)" ( (binary_expression "local_28 + 0x24" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }" else (compound_statement "{\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }" { (expression_statement "memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);" (call_expression "memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3)" identifier (argument_list "(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3)" ( (pointer_expression "*(void **)(*piVar16 + 0x20)" * (cast_expression "(void **)(*piVar16 + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar16 + 0x20)" ( (binary_expression "*piVar16 + 0x20" (pointer_expression "*piVar16" * identifier) + number_literal) )))) , (pointer_expression "*(void **)(*piVar18 + 0x20)" * (cast_expression "(void **)(*piVar18 + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar18 + 0x20)" ( (binary_expression "*piVar18 + 0x20" (pointer_expression "*piVar18" * identifier) + number_literal) )))) , (binary_expression "iVar3 << 3" identifier << number_literal) ))) ;) (expression_statement "local_28 = *piVar16;" (assignment_expression "local_28 = *piVar16" identifier = (pointer_expression "*piVar16" * identifier)) ;) (labeled_statement "LAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);" statement_identifier : (expression_statement "iVar14 = *(int *)(local_28 + 0x24);" (assignment_expression "iVar14 = *(int *)(local_28 + 0x24)" identifier = (pointer_expression "*(int *)(local_28 + 0x24)" * (cast_expression "(int *)(local_28 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x24)" ( (binary_expression "local_28 + 0x24" identifier + number_literal) ))))) ;)) }))) (if_statement "if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }" if (parenthesized_expression "(iVar14 == 0)" ( (binary_expression "iVar14 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }" { (expression_statement "iVar14 = FUN_0004dd90();" (assignment_expression "iVar14 = FUN_0004dd90()" identifier = (call_expression "FUN_0004dd90()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_1[7] = iVar14;" (assignment_expression "param_1[7] = iVar14" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        param_1[7] = 1;\n      }" else (compound_statement "{\n        param_1[7] = 1;\n      }" { (expression_statement "param_1[7] = 1;" (assignment_expression "param_1[7] = 1" (subscript_expression "param_1[7]" identifier [ number_literal ]) = number_literal) ;) }))) (goto_statement "goto joined_r0x0004ee5f;" goto statement_identifier ;) })) (expression_statement "iVar15 = FUN_0004ceb0();" (assignment_expression "iVar15 = FUN_0004ceb0()" identifier = (call_expression "FUN_0004ceb0()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_1[7] = iVar15;" (assignment_expression "param_1[7] = iVar15" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar15 != 0) goto LAB_0004ecfd;" if (parenthesized_expression "(iVar15 != 0)" ( (binary_expression "iVar15 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0004ecfd;" goto statement_identifier ;)) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (if_statement "if (iVar13 == iVar11) {\n      return;\n    }" if (parenthesized_expression "(iVar13 == iVar11)" ( (binary_expression "iVar13 == iVar11" identifier == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) % IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )))) )) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , LIT , (pointer_expression * IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + IDENT) )))) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , LIT , (pointer_expression * IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT == LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) ))))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) + (binary_expression IDENT * LIT))) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) , (binary_expression IDENT << LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }))) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return ;) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_0004ebf0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int *piVar16;\n  undefined8 *puVar17;\n  int *piVar18;\n  int local_5c;\n  undefined8 *local_50;\n  int local_28;\n  \n  iVar2 = param_1[1];\n  iVar11 = omp_get_num_threads();\n  iVar12 = omp_get_thread_num();\n  iVar13 = *(int *)(iVar2 + 0x14) / iVar11;\n  iVar11 = *(int *)(iVar2 + 0x14) % iVar11;\n  if (iVar12 < iVar11) {\n    iVar13 = iVar13 + 1;\n    iVar11 = 0;\n  }\n  iVar11 = iVar12 * iVar13 + iVar11;\n  iVar13 = iVar13 + iVar11;\n  if (iVar13 <= iVar11) {\n    return;\n  }\n  iVar12 = param_1[5];\n  iVar3 = param_1[6];\n  iVar4 = param_1[4];\n  iVar5 = param_1[3];\n  iVar6 = param_1[2];\n  iVar7 = *param_1;\n  do {\n    while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }\n    piVar18 = (int *)(iVar4 + iVar14 * 4);\n    iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);\n    if (iVar15 == 0) goto joined_r0x0004ee5f;\n    if (*(int *)(*piVar18 + 0x24) != 0) {\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    iVar15 = FUN_0004ceb0();\n    param_1[7] = iVar15;\n    if (iVar15 != 0) goto LAB_0004ecfd;\n    iVar11 = iVar11 + 1;\n    if (iVar13 == iVar11) {\n      return;\n    }\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_0004ebf0(int *param_1)" (identifier "FUN_0004ebf0") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int *piVar16;\n  undefined8 *puVar17;\n  int *piVar18;\n  int local_5c;\n  undefined8 *local_50;\n  int local_28;\n  \n  iVar2 = param_1[1];\n  iVar11 = omp_get_num_threads();\n  iVar12 = omp_get_thread_num();\n  iVar13 = *(int *)(iVar2 + 0x14) / iVar11;\n  iVar11 = *(int *)(iVar2 + 0x14) % iVar11;\n  if (iVar12 < iVar11) {\n    iVar13 = iVar13 + 1;\n    iVar11 = 0;\n  }\n  iVar11 = iVar12 * iVar13 + iVar11;\n  iVar13 = iVar13 + iVar11;\n  if (iVar13 <= iVar11) {\n    return;\n  }\n  iVar12 = param_1[5];\n  iVar3 = param_1[6];\n  iVar4 = param_1[4];\n  iVar5 = param_1[3];\n  iVar6 = param_1[2];\n  iVar7 = *param_1;\n  do {\n    while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }\n    piVar18 = (int *)(iVar4 + iVar14 * 4);\n    iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);\n    if (iVar15 == 0) goto joined_r0x0004ee5f;\n    if (*(int *)(*piVar18 + 0x24) != 0) {\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    iVar15 = FUN_0004ceb0();\n    param_1[7] = iVar15;\n    if (iVar15 != 0) goto LAB_0004ecfd;\n    iVar11 = iVar11 + 1;\n    if (iVar13 == iVar11) {\n      return;\n    }\n  } while( true );\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "int *piVar16;" (primitive_type "int") (pointer_declarator "*piVar16" (* "*") (identifier "piVar16")) (; ";")) (declaration "undefined8 *puVar17;" (type_identifier "undefined8") (pointer_declarator "*puVar17" (* "*") (identifier "puVar17")) (; ";")) (declaration "int *piVar18;" (primitive_type "int") (pointer_declarator "*piVar18" (* "*") (identifier "piVar18")) (; ";")) (declaration "int local_5c;" (primitive_type "int") (identifier "local_5c") (; ";")) (declaration "undefined8 *local_50;" (type_identifier "undefined8") (pointer_declarator "*local_50" (* "*") (identifier "local_50")) (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" (identifier "iVar2") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar11 = omp_get_num_threads();" (assignment_expression "iVar11 = omp_get_num_threads()" (identifier "iVar11") (= "=") (call_expression "omp_get_num_threads()" (identifier "omp_get_num_threads") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar12 = omp_get_thread_num();" (assignment_expression "iVar12 = omp_get_thread_num()" (identifier "iVar12") (= "=") (call_expression "omp_get_thread_num()" (identifier "omp_get_thread_num") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar13 = *(int *)(iVar2 + 0x14) / iVar11;" (assignment_expression "iVar13 = *(int *)(iVar2 + 0x14) / iVar11" (identifier "iVar13") (= "=") (binary_expression "*(int *)(iVar2 + 0x14) / iVar11" (pointer_expression "*(int *)(iVar2 + 0x14)" (* "*") (cast_expression "(int *)(iVar2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")")))) (/ "/") (identifier "iVar11"))) (; ";")) (expression_statement "iVar11 = *(int *)(iVar2 + 0x14) % iVar11;" (assignment_expression "iVar11 = *(int *)(iVar2 + 0x14) % iVar11" (identifier "iVar11") (= "=") (binary_expression "*(int *)(iVar2 + 0x14) % iVar11" (pointer_expression "*(int *)(iVar2 + 0x14)" (* "*") (cast_expression "(int *)(iVar2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")")))) (% "%") (identifier "iVar11"))) (; ";")) (if_statement "if (iVar12 < iVar11) {\n    iVar13 = iVar13 + 1;\n    iVar11 = 0;\n  }" (if "if") (parenthesized_expression "(iVar12 < iVar11)" (( "(") (binary_expression "iVar12 < iVar11" (identifier "iVar12") (< "<") (identifier "iVar11")) () ")")) (compound_statement "{\n    iVar13 = iVar13 + 1;\n    iVar11 = 0;\n  }" ({ "{") (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar11 = iVar12 * iVar13 + iVar11;" (assignment_expression "iVar11 = iVar12 * iVar13 + iVar11" (identifier "iVar11") (= "=") (binary_expression "iVar12 * iVar13 + iVar11" (binary_expression "iVar12 * iVar13" (identifier "iVar12") (* "*") (identifier "iVar13")) (+ "+") (identifier "iVar11"))) (; ";")) (expression_statement "iVar13 = iVar13 + iVar11;" (assignment_expression "iVar13 = iVar13 + iVar11" (identifier "iVar13") (= "=") (binary_expression "iVar13 + iVar11" (identifier "iVar13") (+ "+") (identifier "iVar11"))) (; ";")) (if_statement "if (iVar13 <= iVar11) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar13 <= iVar11)" (( "(") (binary_expression "iVar13 <= iVar11" (identifier "iVar13") (<= "<=") (identifier "iVar11")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar12 = param_1[5];" (assignment_expression "iVar12 = param_1[5]" (identifier "iVar12") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar3 = param_1[6];" (assignment_expression "iVar3 = param_1[6]" (identifier "iVar3") (= "=") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "iVar4 = param_1[4];" (assignment_expression "iVar4 = param_1[4]" (identifier "iVar4") (= "=") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "iVar5 = param_1[3];" (assignment_expression "iVar5 = param_1[3]" (identifier "iVar5") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "iVar6 = param_1[2];" (assignment_expression "iVar6 = param_1[2]" (identifier "iVar6") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar7 = *param_1;" (assignment_expression "iVar7 = *param_1" (identifier "iVar7") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (do_statement "do {\n    while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }\n    piVar18 = (int *)(iVar4 + iVar14 * 4);\n    iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);\n    if (iVar15 == 0) goto joined_r0x0004ee5f;\n    if (*(int *)(*piVar18 + 0x24) != 0) {\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    iVar15 = FUN_0004ceb0();\n    param_1[7] = iVar15;\n    if (iVar15 != 0) goto LAB_0004ecfd;\n    iVar11 = iVar11 + 1;\n    if (iVar13 == iVar11) {\n      return;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }\n    piVar18 = (int *)(iVar4 + iVar14 * 4);\n    iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);\n    if (iVar15 == 0) goto joined_r0x0004ee5f;\n    if (*(int *)(*piVar18 + 0x24) != 0) {\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }\n    iVar15 = FUN_0004ceb0();\n    param_1[7] = iVar15;\n    if (iVar15 != 0) goto LAB_0004ecfd;\n    iVar11 = iVar11 + 1;\n    if (iVar13 == iVar11) {\n      return;\n    }\n  }" ({ "{") (while_statement "while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }" (while "while") (parenthesized_expression "((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11)))" (( "(") (parenthesized_expression "(iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))" (( "(") (comma_expression "iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11)" (assignment_expression "iVar14 = omp_get_thread_num()" (identifier "iVar14") (= "=") (call_expression "omp_get_thread_num()" (identifier "omp_get_thread_num") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11)" (binary_expression "param_1[7] == 0" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(*(int *)(iVar7 + 0x14) <= iVar11)" (( "(") (binary_expression "*(int *)(iVar7 + 0x14) <= iVar11" (pointer_expression "*(int *)(iVar7 + 0x14)" (* "*") (cast_expression "(int *)(iVar7 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x14)" (( "(") (binary_expression "iVar7 + 0x14" (identifier "iVar7") (+ "+") (number_literal "0x14")) () ")")))) (<= "<=") (identifier "iVar11")) () ")")))) () ")")) () ")")) (compound_statement "{\njoined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;\n      if (iVar13 == iVar11) {\n        return;\n      }\n    }" ({ "{") (labeled_statement "joined_r0x0004ee5f:\n      iVar11 = iVar11 + 1;" (statement_identifier "joined_r0x0004ee5f") (: ":") (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";"))) (if_statement "if (iVar13 == iVar11) {\n        return;\n      }" (if "if") (parenthesized_expression "(iVar13 == iVar11)" (( "(") (binary_expression "iVar13 == iVar11" (identifier "iVar13") (== "==") (identifier "iVar11")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "piVar18 = (int *)(iVar4 + iVar14 * 4);" (assignment_expression "piVar18 = (int *)(iVar4 + iVar14 * 4)" (identifier "piVar18") (= "=") (cast_expression "(int *)(iVar4 + iVar14 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + iVar14 * 4)" (( "(") (binary_expression "iVar4 + iVar14 * 4" (identifier "iVar4") (+ "+") (binary_expression "iVar14 * 4" (identifier "iVar14") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);" (assignment_expression "iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6)" (identifier "iVar15") (= "=") (call_expression "FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6)" (identifier "FUN_00034a90") (argument_list "(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6)" (( "(") (identifier "iVar11") (, ",") (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (number_literal "1") (, ",") (number_literal "0") (, ",") (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (, ",") (identifier "iVar6") () ")")))) (; ";")) (if_statement "if (iVar15 == 0) goto joined_r0x0004ee5f;" (if "if") (parenthesized_expression "(iVar15 == 0)" (( "(") (binary_expression "iVar15 == 0" (identifier "iVar15") (== "==") (number_literal "0")) () ")")) (goto_statement "goto joined_r0x0004ee5f;" (goto "goto") (statement_identifier "joined_r0x0004ee5f") (; ";"))) (if_statement "if (*(int *)(*piVar18 + 0x24) != 0) {\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }" (if "if") (parenthesized_expression "(*(int *)(*piVar18 + 0x24) != 0)" (( "(") (binary_expression "*(int *)(*piVar18 + 0x24) != 0" (pointer_expression "*(int *)(*piVar18 + 0x24)" (* "*") (cast_expression "(int *)(*piVar18 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar18 + 0x24)" (( "(") (binary_expression "*piVar18 + 0x24" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (+ "+") (number_literal "0x24")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      param_1[7] = 1;\nLAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);\n      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);\n      if (iVar14 == 0) goto joined_r0x0004ee5f;\n      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));\n      if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }\n      goto joined_r0x0004ee5f;\n    }" ({ "{") (expression_statement "param_1[7] = 1;" (assignment_expression "param_1[7] = 1" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_0004ecfd:\n      piVar16 = (int *)(iVar14 * 4 + iVar12);" (statement_identifier "LAB_0004ecfd") (: ":") (expression_statement "piVar16 = (int *)(iVar14 * 4 + iVar12);" (assignment_expression "piVar16 = (int *)(iVar14 * 4 + iVar12)" (identifier "piVar16") (= "=") (cast_expression "(int *)(iVar14 * 4 + iVar12)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 * 4 + iVar12)" (( "(") (binary_expression "iVar14 * 4 + iVar12" (binary_expression "iVar14 * 4" (identifier "iVar14") (* "*") (number_literal "4")) (+ "+") (identifier "iVar12")) () ")")))) (; ";"))) (expression_statement "iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);" (assignment_expression "iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6)" (identifier "iVar14") (= "=") (call_expression "FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6)" (identifier "FUN_00034a90") (argument_list "(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6)" (( "(") (identifier "iVar11") (, ",") (pointer_expression "*(undefined4 *)(iVar7 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x10)" (( "(") (binary_expression "iVar7 + 0x10" (identifier "iVar7") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (number_literal "1") (, ",") (number_literal "0") (, ",") (pointer_expression "*piVar16" (* "*") (identifier "piVar16")) (, ",") (identifier "iVar6") () ")")))) (; ";")) (if_statement "if (iVar14 == 0) goto joined_r0x0004ee5f;" (if "if") (parenthesized_expression "(iVar14 == 0)" (( "(") (binary_expression "iVar14 == 0" (identifier "iVar14") (== "==") (number_literal "0")) () ")")) (goto_statement "goto joined_r0x0004ee5f;" (goto "goto") (statement_identifier "joined_r0x0004ee5f") (; ";"))) (expression_statement "memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));" (call_expression "memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14))" (identifier "memset") (argument_list "(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14))" (( "(") (pointer_expression "*(void **)(*piVar16 + 0x20)" (* "*") (cast_expression "(void **)(*piVar16 + 0x20)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar16 + 0x20)" (( "(") (binary_expression "*piVar16 + 0x20" (pointer_expression "*piVar16" (* "*") (identifier "piVar16")) (+ "+") (number_literal "0x20")) () ")")))) (, ",") (number_literal "0") (, ",") (pointer_expression "*(size_t *)(*piVar16 + 0x14)" (* "*") (cast_expression "(size_t *)(*piVar16 + 0x14)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar16 + 0x14)" (( "(") (binary_expression "*piVar16 + 0x14" (pointer_expression "*piVar16" (* "*") (identifier "piVar16")) (+ "+") (number_literal "0x14")) () ")")))) () ")"))) (; ";")) (if_statement "if (iVar5 == 0) {\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }\n      else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar14 = *(int *)(*piVar18 + 0x20);\n        local_28 = *piVar16;\n        local_50 = *(undefined8 **)(local_28 + 0x20);\n        iVar15 = *(int *)(iVar2 + 0x10);\n        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;\n        iVar9 = *(int *)(iVar2 + 0x1c);\n        iVar10 = *(int *)(iVar7 + 0x1c);\n        local_5c = 0;\n        do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));\n        iVar14 = *(int *)(local_28 + 0x24);\n      }" ({ "{") (expression_statement "iVar14 = *(int *)(*piVar18 + 0x20);" (assignment_expression "iVar14 = *(int *)(*piVar18 + 0x20)" (identifier "iVar14") (= "=") (pointer_expression "*(int *)(*piVar18 + 0x20)" (* "*") (cast_expression "(int *)(*piVar18 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar18 + 0x20)" (( "(") (binary_expression "*piVar18 + 0x20" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "local_28 = *piVar16;" (assignment_expression "local_28 = *piVar16" (identifier "local_28") (= "=") (pointer_expression "*piVar16" (* "*") (identifier "piVar16"))) (; ";")) (expression_statement "local_50 = *(undefined8 **)(local_28 + 0x20);" (assignment_expression "local_50 = *(undefined8 **)(local_28 + 0x20)" (identifier "local_50") (= "=") (pointer_expression "*(undefined8 **)(local_28 + 0x20)" (* "*") (cast_expression "(undefined8 **)(local_28 + 0x20)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_28 + 0x20)" (( "(") (binary_expression "local_28 + 0x20" (identifier "local_28") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "iVar15 = *(int *)(iVar2 + 0x10);" (assignment_expression "iVar15 = *(int *)(iVar2 + 0x10)" (identifier "iVar15") (= "=") (pointer_expression "*(int *)(iVar2 + 0x10)" (* "*") (cast_expression "(int *)(iVar2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;" (if "if") (parenthesized_expression "((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0))" (( "(") (binary_expression "(iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)" (parenthesized_expression "(iVar15 < 1)" (( "(") (binary_expression "iVar15 < 1" (identifier "iVar15") (< "<") (number_literal "1")) () ")")) (|| "||") (parenthesized_expression "(iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)" (( "(") (comma_expression "iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0" (assignment_expression "iVar8 = *(int *)(iVar7 + 0x10)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(iVar7 + 0x10)" (* "*") (cast_expression "(int *)(iVar7 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x10)" (( "(") (binary_expression "iVar7 + 0x10" (identifier "iVar7") (+ "+") (number_literal "0x10")) () ")"))))) (, ",") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_0004eec7;" (goto "goto") (statement_identifier "LAB_0004eec7") (; ";"))) (expression_statement "iVar9 = *(int *)(iVar2 + 0x1c);" (assignment_expression "iVar9 = *(int *)(iVar2 + 0x1c)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "iVar10 = *(int *)(iVar7 + 0x1c);" (assignment_expression "iVar10 = *(int *)(iVar7 + 0x1c)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(iVar7 + 0x1c)" (* "*") (cast_expression "(int *)(iVar7 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x1c)" (( "(") (binary_expression "iVar7 + 0x1c" (identifier "iVar7") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" (identifier "local_5c") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        } while ((local_5c != iVar15) && (local_5c != iVar8));" (do "do") (compound_statement "{\n          piVar18 = (int *)(iVar7 + 0x20);\n          puVar17 = local_50;\n          if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }\n          local_5c = local_5c + 1;\n          iVar14 = iVar14 + iVar9 * 8;\n        }" ({ "{") (expression_statement "piVar18 = (int *)(iVar7 + 0x20);" (assignment_expression "piVar18 = (int *)(iVar7 + 0x20)" (identifier "piVar18") (= "=") (cast_expression "(int *)(iVar7 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x20)" (( "(") (binary_expression "iVar7 + 0x20" (identifier "iVar7") (+ "+") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "puVar17 = local_50;" (assignment_expression "puVar17 = local_50" (identifier "puVar17") (= "=") (identifier "local_50")) (; ";")) (if_statement "if (0 < iVar10) {\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }" (if "if") (parenthesized_expression "(0 < iVar10)" (( "(") (binary_expression "0 < iVar10" (number_literal "0") (< "<") (identifier "iVar10")) () ")")) (compound_statement "{\n            do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);\n            local_50 = local_50 + iVar10;\n          }" ({ "{") (do_statement "do {\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);" (do "do") (compound_statement "{\n              iVar1 = iVar2 + *piVar18 * 0xc;\n              if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }\n              piVar18 = piVar18 + 3;\n              puVar17 = puVar17 + 1;\n            }" ({ "{") (expression_statement "iVar1 = iVar2 + *piVar18 * 0xc;" (assignment_expression "iVar1 = iVar2 + *piVar18 * 0xc" (identifier "iVar1") (= "=") (binary_expression "iVar2 + *piVar18 * 0xc" (identifier "iVar2") (+ "+") (binary_expression "*piVar18 * 0xc" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (* "*") (number_literal "0xc")))) (; ";")) (if_statement "if (*(int *)(iVar1 + 0x24) != 0) {\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x24) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x24) != 0" (pointer_expression "*(int *)(iVar1 + 0x24)" (* "*") (cast_expression "(int *)(iVar1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);\n              }" ({ "{") (expression_statement "*puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);" (assignment_expression "*puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8)" (pointer_expression "*puVar17" (* "*") (identifier "puVar17")) (= "=") (pointer_expression "*(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8)" (* "*") (cast_expression "(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + *(int *)(iVar1 + 0x28) * 8)" (( "(") (binary_expression "iVar14 + *(int *)(iVar1 + 0x28) * 8" (identifier "iVar14") (+ "+") (binary_expression "*(int *)(iVar1 + 0x28) * 8" (pointer_expression "*(int *)(iVar1 + 0x28)" (* "*") (cast_expression "(int *)(iVar1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x28)" (( "(") (binary_expression "iVar1 + 0x28" (identifier "iVar1") (+ "+") (number_literal "0x28")) () ")")))) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (} "}"))) (expression_statement "piVar18 = piVar18 + 3;" (assignment_expression "piVar18 = piVar18 + 3" (identifier "piVar18") (= "=") (binary_expression "piVar18 + 3" (identifier "piVar18") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "puVar17 = puVar17 + 1;" (assignment_expression "puVar17 = puVar17 + 1" (identifier "puVar17") (= "=") (binary_expression "puVar17 + 1" (identifier "puVar17") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3)" (( "(") (binary_expression "piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3" (identifier "piVar18") (!= "!=") (binary_expression "(int *)(iVar7 + 0x20) + iVar10 * 3" (cast_expression "(int *)(iVar7 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x20)" (( "(") (binary_expression "iVar7 + 0x20" (identifier "iVar7") (+ "+") (number_literal "0x20")) () ")"))) (+ "+") (binary_expression "iVar10 * 3" (identifier "iVar10") (* "*") (number_literal "3")))) () ")")) (; ";")) (expression_statement "local_50 = local_50 + iVar10;" (assignment_expression "local_50 = local_50 + iVar10" (identifier "local_50") (= "=") (binary_expression "local_50 + iVar10" (identifier "local_50") (+ "+") (identifier "iVar10"))) (; ";")) (} "}"))) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" (identifier "local_5c") (= "=") (binary_expression "local_5c + 1" (identifier "local_5c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar14 = iVar14 + iVar9 * 8;" (assignment_expression "iVar14 = iVar14 + iVar9 * 8" (identifier "iVar14") (= "=") (binary_expression "iVar14 + iVar9 * 8" (identifier "iVar14") (+ "+") (binary_expression "iVar9 * 8" (identifier "iVar9") (* "*") (number_literal "8")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((local_5c != iVar15) && (local_5c != iVar8))" (( "(") (binary_expression "(local_5c != iVar15) && (local_5c != iVar8)" (parenthesized_expression "(local_5c != iVar15)" (( "(") (binary_expression "local_5c != iVar15" (identifier "local_5c") (!= "!=") (identifier "iVar15")) () ")")) (&& "&&") (parenthesized_expression "(local_5c != iVar8)" (( "(") (binary_expression "local_5c != iVar8" (identifier "local_5c") (!= "!=") (identifier "iVar8")) () ")"))) () ")")) (; ";")) (expression_statement "iVar14 = *(int *)(local_28 + 0x24);" (assignment_expression "iVar14 = *(int *)(local_28 + 0x24)" (identifier "iVar14") (= "=") (pointer_expression "*(int *)(local_28 + 0x24)" (* "*") (cast_expression "(int *)(local_28 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + 0x24)" (( "(") (binary_expression "local_28 + 0x24" (identifier "local_28") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }" (else "else") (compound_statement "{\n        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);\n        local_28 = *piVar16;\nLAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);\n      }" ({ "{") (expression_statement "memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);" (call_expression "memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3)" (identifier "memcpy") (argument_list "(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3)" (( "(") (pointer_expression "*(void **)(*piVar16 + 0x20)" (* "*") (cast_expression "(void **)(*piVar16 + 0x20)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar16 + 0x20)" (( "(") (binary_expression "*piVar16 + 0x20" (pointer_expression "*piVar16" (* "*") (identifier "piVar16")) (+ "+") (number_literal "0x20")) () ")")))) (, ",") (pointer_expression "*(void **)(*piVar18 + 0x20)" (* "*") (cast_expression "(void **)(*piVar18 + 0x20)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar18 + 0x20)" (( "(") (binary_expression "*piVar18 + 0x20" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (+ "+") (number_literal "0x20")) () ")")))) (, ",") (binary_expression "iVar3 << 3" (identifier "iVar3") (<< "<<") (number_literal "3")) () ")"))) (; ";")) (expression_statement "local_28 = *piVar16;" (assignment_expression "local_28 = *piVar16" (identifier "local_28") (= "=") (pointer_expression "*piVar16" (* "*") (identifier "piVar16"))) (; ";")) (labeled_statement "LAB_0004eec7:\n        iVar14 = *(int *)(local_28 + 0x24);" (statement_identifier "LAB_0004eec7") (: ":") (expression_statement "iVar14 = *(int *)(local_28 + 0x24);" (assignment_expression "iVar14 = *(int *)(local_28 + 0x24)" (identifier "iVar14") (= "=") (pointer_expression "*(int *)(local_28 + 0x24)" (* "*") (cast_expression "(int *)(local_28 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + 0x24)" (( "(") (binary_expression "local_28 + 0x24" (identifier "local_28") (+ "+") (number_literal "0x24")) () ")"))))) (; ";"))) (} "}")))) (if_statement "if (iVar14 == 0) {\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }\n      else {\n        param_1[7] = 1;\n      }" (if "if") (parenthesized_expression "(iVar14 == 0)" (( "(") (binary_expression "iVar14 == 0" (identifier "iVar14") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar14 = FUN_0004dd90();\n        param_1[7] = iVar14;\n      }" ({ "{") (expression_statement "iVar14 = FUN_0004dd90();" (assignment_expression "iVar14 = FUN_0004dd90()" (identifier "iVar14") (= "=") (call_expression "FUN_0004dd90()" (identifier "FUN_0004dd90") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "param_1[7] = iVar14;" (assignment_expression "param_1[7] = iVar14" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar14")) (; ";")) (} "}")) (else_clause "else {\n        param_1[7] = 1;\n      }" (else "else") (compound_statement "{\n        param_1[7] = 1;\n      }" ({ "{") (expression_statement "param_1[7] = 1;" (assignment_expression "param_1[7] = 1" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "1")) (; ";")) (} "}")))) (goto_statement "goto joined_r0x0004ee5f;" (goto "goto") (statement_identifier "joined_r0x0004ee5f") (; ";")) (} "}"))) (expression_statement "iVar15 = FUN_0004ceb0();" (assignment_expression "iVar15 = FUN_0004ceb0()" (identifier "iVar15") (= "=") (call_expression "FUN_0004ceb0()" (identifier "FUN_0004ceb0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "param_1[7] = iVar15;" (assignment_expression "param_1[7] = iVar15" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar15")) (; ";")) (if_statement "if (iVar15 != 0) goto LAB_0004ecfd;" (if "if") (parenthesized_expression "(iVar15 != 0)" (( "(") (binary_expression "iVar15 != 0" (identifier "iVar15") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0004ecfd;" (goto "goto") (statement_identifier "LAB_0004ecfd") (; ";"))) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar13 == iVar11) {\n      return;\n    }" (if "if") (parenthesized_expression "(iVar13 == iVar11)" (( "(") (binary_expression "iVar13 == iVar11" (identifier "iVar13") (== "==") (identifier "iVar11")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* DWARF original prototype: void ClonePixelCacheRepository._omp_fn.0(anon_struct_32_8_d8521789 *
   param_0) */

void __thiscall function_1(type_1 *this)

{
  type_2 *cache_info;
  type_3 **var_10;
  size_t var_23;
  type_3 **var_7;
  type_4 var_12;
  type_5 *exception;
  type_2 *cache_info_00;
  size_t var_21;
  size_t var_13;
  size_t var_20;
  size_t var_17;
  int var_3;
  int var_4;
  int var_5;
  type_6 *var_9;
  type_3 **ppNVar13;
  type_7 *var_15;
  type_4 var_24;
  type_6 *var_16;
  type_3 **ppNVar17;
  type_2 *in_stack_ffffff94;
  type_3 *in_stack_ffffff98;
  type_5 *in_stack_ffffff9c;
  size_t var_19;
  type_6 *var_18;
  type_3 *local_28;
  
  cache_info = this->cache_info;
  var_3 = var_1();
  var_4 = var_2();
  var_5 = (int)cache_info->rows / var_3;
  var_3 = (int)cache_info->rows % var_3;
  if (var_4 < var_3) {
    var_5 = var_5 + 1;
    var_3 = 0;
  }
  var_3 = var_4 * var_5 + var_3;
  var_5 = var_5 + var_3;
  if (var_5 <= var_3) {
    return;
  }
  var_10 = this->clone_nexus;
  var_23 = this->length;
  var_7 = this->cache_nexus;
  var_12 = this->optimize;
  exception = this->exception;
  cache_info_00 = this->clone_info;
  do {
    while ((var_4 = var_2(), this->status == var_6 ||
           ((int)cache_info_00->rows <= var_3))) {
joined_r0x0004ee5f:
      var_3 = var_3 + 1;
      if (var_5 == var_3) {
        return;
      }
    }
    ppNVar17 = var_7 + var_4;
    var_9 = var_8
                        (cache_info,ReadMode,0,var_3,cache_info->columns,1,var_6,*ppNVar17,
                         exception);
    if (var_9 == (type_6 *)0x0) goto joined_r0x0004ee5f;
    if ((*ppNVar17)->authentic_pixel_cache != var_6) {
      this->status = MagickTrue;
LAB_0004ecfd:
      ppNVar13 = var_10 + var_4;
      var_9 = var_8
                          (cache_info_00,WriteMode,0,var_3,cache_info_00->columns,1,var_6,
                           *ppNVar13,exception);
      if (var_9 == (type_6 *)0x0) goto joined_r0x0004ee5f;
      var_11((*ppNVar13)->pixels,0,(size_t)(*ppNVar13)->length);
      if (var_12 == var_6) {
        var_9 = (*ppNVar17)->pixels;
        local_28 = *ppNVar13;
        var_18 = local_28->pixels;
        var_21 = cache_info->columns;
        if (((int)var_21 < 1) || (var_13 = cache_info_00->columns, var_13 == 0)) goto LAB_0004eec7;
        var_20 = cache_info->number_channels;
        var_17 = cache_info_00->number_channels;
        var_19 = 0;
        do {
          var_15 = cache_info_00->channel_map;
          var_16 = var_18;
          if (0 < (int)var_17) {
            do {
              if (cache_info->channel_map[var_15->channel].traits != var_14) {
                *var_16 = var_9[cache_info->channel_map[var_15->channel].offset];
              }
              var_15 = var_15 + 1;
              var_16 = var_16 + 1;
            } while (var_15 != cache_info_00->channel_map + var_17);
            var_18 = var_18 + var_17;
          }
          var_19 = var_19 + 1;
          var_9 = var_9 + var_20;
        } while ((var_19 != var_21) && (var_19 != var_13));
        var_24 = local_28->authentic_pixel_cache;
      }
      else {
        var_22((*ppNVar13)->pixels,(*ppNVar17)->pixels,var_23 << 3);
        local_28 = *ppNVar13;
LAB_0004eec7:
        var_24 = local_28->authentic_pixel_cache;
      }
      if (var_24 == var_6) {
        var_24 = var_25(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);
        this->status = var_24;
      }
      else {
        this->status = MagickTrue;
      }
      goto joined_r0x0004ee5f;
    }
    var_24 = var_26(cache_info,*ppNVar17,exception);
    this->status = var_24;
    if (var_24 != var_6) goto LAB_0004ecfd;
    var_3 = var_3 + 1;
    if (var_5 == var_3) {
      return;
    }
  } while( true );
}


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

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

void MASKED(int *param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  int iVar13;
  int iVar14;
  int iVar15;
  int *piVar16;
  undefined8 *puVar17;
  int *piVar18;
  int local_5c;
  undefined8 *local_50;
  int local_28;
  
  iVar2 = param_1[1];
  iVar11 = omp_get_num_threads();
  iVar12 = omp_get_thread_num();
  iVar13 = *(int *)(iVar2 + 0x14) / iVar11;
  iVar11 = *(int *)(iVar2 + 0x14) % iVar11;
  if (iVar12 < iVar11) {
    iVar13 = iVar13 + 1;
    iVar11 = 0;
  }
  iVar11 = iVar12 * iVar13 + iVar11;
  iVar13 = iVar13 + iVar11;
  if (iVar13 <= iVar11) {
    return;
  }
  iVar12 = param_1[5];
  iVar3 = param_1[6];
  iVar4 = param_1[4];
  iVar5 = param_1[3];
  iVar6 = param_1[2];
  iVar7 = *param_1;
  do {
    while ((iVar14 = omp_get_thread_num(), param_1[7] == 0 || (*(int *)(iVar7 + 0x14) <= iVar11))) {
joined_r0x0004ee5f:
      iVar11 = iVar11 + 1;
      if (iVar13 == iVar11) {
        return;
      }
    }
    piVar18 = (int *)(iVar4 + iVar14 * 4);
    iVar15 = FUN_00034a90(iVar11,*(undefined4 *)(iVar2 + 0x10),1,0,*piVar18,iVar6);
    if (iVar15 == 0) goto joined_r0x0004ee5f;
    if (*(int *)(*piVar18 + 0x24) != 0) {
      param_1[7] = 1;
LAB_0004ecfd:
      piVar16 = (int *)(iVar14 * 4 + iVar12);
      iVar14 = FUN_00034a90(iVar11,*(undefined4 *)(iVar7 + 0x10),1,0,*piVar16,iVar6);
      if (iVar14 == 0) goto joined_r0x0004ee5f;
      memset(*(void **)(*piVar16 + 0x20),0,*(size_t *)(*piVar16 + 0x14));
      if (iVar5 == 0) {
        iVar14 = *(int *)(*piVar18 + 0x20);
        local_28 = *piVar16;
        local_50 = *(undefined8 **)(local_28 + 0x20);
        iVar15 = *(int *)(iVar2 + 0x10);
        if ((iVar15 < 1) || (iVar8 = *(int *)(iVar7 + 0x10), iVar8 == 0)) goto LAB_0004eec7;
        iVar9 = *(int *)(iVar2 + 0x1c);
        iVar10 = *(int *)(iVar7 + 0x1c);
        local_5c = 0;
        do {
          piVar18 = (int *)(iVar7 + 0x20);
          puVar17 = local_50;
          if (0 < iVar10) {
            do {
              iVar1 = iVar2 + *piVar18 * 0xc;
              if (*(int *)(iVar1 + 0x24) != 0) {
                *puVar17 = *(undefined8 *)(iVar14 + *(int *)(iVar1 + 0x28) * 8);
              }
              piVar18 = piVar18 + 3;
              puVar17 = puVar17 + 1;
            } while (piVar18 != (int *)(iVar7 + 0x20) + iVar10 * 3);
            local_50 = local_50 + iVar10;
          }
          local_5c = local_5c + 1;
          iVar14 = iVar14 + iVar9 * 8;
        } while ((local_5c != iVar15) && (local_5c != iVar8));
        iVar14 = *(int *)(local_28 + 0x24);
      }
      else {
        memcpy(*(void **)(*piVar16 + 0x20),*(void **)(*piVar18 + 0x20),iVar3 << 3);
        local_28 = *piVar16;
LAB_0004eec7:
        iVar14 = *(int *)(local_28 + 0x24);
      }
      if (iVar14 == 0) {
        iVar14 = FUN_0004dd90();
        param_1[7] = iVar14;
      }
      else {
        param_1[7] = 1;
      }
      goto joined_r0x0004ee5f;
    }
    iVar15 = FUN_0004ceb0();
    param_1[7] = iVar15;
    if (iVar15 != 0) goto LAB_0004ecfd;
    iVar11 = iVar11 + 1;
    if (iVar13 == iVar11) {
      return;
    }
  } while( true );
}

