
/* WARNING: Unknown calling convention */

void predlist_merge_sort(predlist *list,predicate **last)

{
  float fVar1;
  float fVar2;
  EvaluationCost EVar3;
  EvaluationCost EVar4;
  predicate *ppVar5;
  undefined4 *puVar6;
  predicate *node;
  predicate *ppVar7;
  predicate *ppVar8;
  predicate *ppVar9;
  int unaff_EDI;
  predicate *ppVar10;
  
  __x86_get_pc_thunk_di();
  ppVar8 = list->head;
  if (ppVar8 != (predicate *)0x0) {
    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."
         [unaff_EDI + 0x3d] & 8U) != 0) {
      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);
      __fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36afd);
      print_tree((FILE *)*puVar6,list->head,2);
      ppVar8 = list->head;
    }
    calculate_derived_rates(ppVar8);
    ppVar10 = (predicate *)0x0;
    node = (predicate *)0x0;
    ppVar8 = list->head;
joined_r0x00019172:
    ppVar7 = ppVar8;
    if (ppVar7 != (predicate *)0x0) {
      ppVar8 = ppVar7->pred_left;
      list->head = ppVar8;
      ppVar7->pred_left = (predicate *)0x0;
      if (node != (predicate *)0x0) {
        EVar3 = ppVar7->pred_right->p_cost;
        ppVar9 = node;
        do {
          EVar4 = ppVar9->pred_right->p_cost;
          if (EVar4 != EVar3) {
            if (EVar4 < EVar3) goto LAB_000191f0;
LAB_0001926c:
            ppVar5 = ppVar9->pred_left;
            ppVar7->pred_left = ppVar5;
            if (ppVar5 == (predicate *)0x0) {
              ppVar10 = ppVar7;
            }
            ppVar9->pred_left = ppVar7;
            goto joined_r0x00019172;
          }
          fVar1 = ppVar9->pred_right->est_success_rate;
          fVar2 = ppVar7->pred_right->est_success_rate;
          if (fVar1 == fVar2) goto LAB_0001926c;
          if (ppVar9->p_prec == OR_PREC) {
            if (fVar1 < fVar2) goto LAB_0001926c;
          }
          else if (fVar2 <= fVar1) goto LAB_0001926c;
LAB_000191f0:
          ppVar9 = ppVar9->pred_left;
        } while (ppVar9 != (predicate *)0x0);
      }
      ppVar7->pred_left = node;
      node = ppVar7;
      if (ppVar10 == (predicate *)0x0) {
        ppVar10 = ppVar7;
      }
      goto joined_r0x00019172;
    }
    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."
         [unaff_EDI + 0x3d] & 8U) != 0) {
      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);
      __fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36b1d);
      print_tree((FILE *)*puVar6,node,2);
    }
    calculate_derived_rates(node);
    ppVar10->pred_left = *last;
    *last = node;
    list->tail = (predicate *)0x0;
    list->head = (predicate *)0x0;
  }
  return;
}



void FUN_00019120(int *param_1,int *param_2)

{
  float fVar1;
  float fVar2;
  uint uVar3;
  uint uVar4;
  int iVar5;
  undefined4 *puVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int unaff_EDI;
  int iVar11;
  
  FUN_0001a21d();
  iVar9 = *param_1;
  if (iVar9 != 0) {
    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."
         [unaff_EDI + 0x3d] & 8U) != 0) {
      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);
      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);
      FUN_00018d30(*puVar6,*param_1,2);
      iVar9 = *param_1;
    }
    FUN_00018830(iVar9);
    iVar11 = 0;
    iVar7 = 0;
    iVar9 = *param_1;
joined_r0x00019172:
    iVar8 = iVar9;
    if (iVar8 != 0) {
      iVar9 = *(int *)(iVar8 + 0x9c);
      *param_1 = iVar9;
      *(undefined4 *)(iVar8 + 0x9c) = 0;
      if (iVar7 != 0) {
        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);
        iVar10 = iVar7;
        do {
          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);
          if (uVar4 != uVar3) {
            if (uVar4 < uVar3) goto LAB_000191f0;
LAB_0001926c:
            iVar5 = *(int *)(iVar10 + 0x9c);
            *(int *)(iVar8 + 0x9c) = iVar5;
            if (iVar5 == 0) {
              iVar11 = iVar8;
            }
            *(int *)(iVar10 + 0x9c) = iVar8;
            goto joined_r0x00019172;
          }
          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);
          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);
          if (fVar1 == fVar2) goto LAB_0001926c;
          if (*(int *)(iVar10 + 0xc) == 2) {
            if (fVar1 < fVar2) goto LAB_0001926c;
          }
          else if (fVar2 <= fVar1) goto LAB_0001926c;
LAB_000191f0:
          iVar10 = *(int *)(iVar10 + 0x9c);
        } while (iVar10 != 0);
      }
      *(int *)(iVar8 + 0x9c) = iVar7;
      iVar7 = iVar8;
      if (iVar11 == 0) {
        iVar11 = iVar8;
      }
      goto joined_r0x00019172;
    }
    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."
         [unaff_EDI + 0x3d] & 8U) != 0) {
      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);
      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);
      FUN_00018d30(*puVar6,iVar7,2);
    }
    FUN_00018830(iVar7);
    *(int *)(iVar11 + 0x9c) = *param_2;
    *param_2 = iVar7;
    param_1[1] = 0;
    *param_1 = 0;
  }
  return;
}


PUSH EBP
PUSH EDI
CALL 0x0001a21d
ADD EDI,0x51bc1
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x30]
MOV dword ptr [ESP + 0xc],EDI
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x00019250
LEA ESI,[EDI + 0x1218]
MOV dword ptr [ESP + 0x8],ESI
TEST byte ptr [ESI + 0x2c],0x8
JNZ 0x000192b0
SUB ESP,0xc
XOR EDI,EDI
XOR EBP,EBP
PUSH EAX
CALL 0x00018830
FSTP ST0
MOV EAX,dword ptr [ESP + 0x40]
ADD ESP,0x10
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x00019211
LEA ESI,[ESI]
NOP
MOV ESI,dword ptr [EAX + 0x9c]
MOV ECX,dword ptr [ESP + 0x30]
MOV dword ptr [ECX],ESI
MOV dword ptr [EAX + 0x9c],0x0
TEST EBP,EBP
JZ 0x000191fa
MOV EBX,dword ptr [EAX + 0xa0]
MOV EDX,EBP
MOV ECX,dword ptr [EBX + 0x18]
MOV dword ptr [ESP + 0x4],EBX
MOV dword ptr [ESP],ECX
MOV ECX,dword ptr [EDX + 0xa0]
MOV EBX,dword ptr [ESP]
CMP dword ptr [ECX + 0x18],EBX
JNZ 0x00019260
FLD dword ptr [ECX + 0x1c]
MOV ECX,dword ptr [ESP + 0x4]
MOV EBX,dword ptr [EDX + 0xc]
FLD dword ptr [ECX + 0x1c]
FXCH
FUCOMI ST0,ST1
JNP 0x00019290
CMP EBX,0x2
JZ 0x000192a0
FXCH
FCOMIP ST0,ST1
FSTP ST0
JBE 0x0001926c
LEA ESI,[ESI]
MOV EDX,dword ptr [EDX + 0x9c]
TEST EDX,EDX
JNZ 0x000191ac
TEST EDI,EDI
MOV dword ptr [EAX + 0x9c],EBP
MOV EBP,EAX
CMOVZ EDI,EAX
MOV EAX,ESI
TEST EAX,EAX
JNZ 0x00019180
MOV EAX,dword ptr [ESP + 0x8]
TEST byte ptr [EAX + 0x2c],0x8
JNZ 0x000192f0
SUB ESP,0xc
PUSH EBP
CALL 0x00018830
FSTP ST0
MOV EAX,dword ptr [ESP + 0x44]
MOV EAX,dword ptr [EAX]
MOV dword ptr [EDI + 0x9c],EAX
MOV EAX,dword ptr [ESP + 0x44]
MOV dword ptr [EAX],EBP
MOV EAX,dword ptr [ESP + 0x40]
ADD ESP,0x10
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EAX],0x0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
JC 0x000191f0
JMP 0x0001926c
FSTP ST0
FSTP ST0
MOV ECX,dword ptr [EDX + 0x9c]
TEST ECX,ECX
MOV dword ptr [EAX + 0x9c],ECX
CMOVZ EDI,EAX
MOV dword ptr [EDX + 0x9c],EAX
MOV EAX,ESI
JMP 0x00019209
JZ 0x00019268
JMP 0x000191d5
FXCH
FCOMIP ST0,ST1
FSTP ST0
JA 0x0001926c
JMP 0x000191f0
MOV ESI,dword ptr [EDI + 0x288]
LEA EAX,[EDI + 0xfffe4f3c]
MOV EBX,EDI
PUSH EAX
LEA EAX,[EDI + 0xfffe4f57]
PUSH EAX
PUSH 0x1
PUSH dword ptr [ESI]
CALL 0x00014880
ADD ESP,0xc
PUSH 0x2
MOV EAX,dword ptr [ESP + 0x38]
PUSH dword ptr [EAX]
PUSH dword ptr [ESI]
CALL 0x00018d30
MOV EAX,dword ptr [ESP + 0x40]
ADD ESP,0x10
MOV EAX,dword ptr [EAX]
JMP 0x00019158
MOV EBX,dword ptr [ESP + 0xc]
MOV ESI,dword ptr [EBX + 0x288]
LEA EAX,[EBX + 0xfffe4f5c]
PUSH EAX
LEA EAX,[EBX + 0xfffe4f57]
PUSH EAX
PUSH 0x1
PUSH dword ptr [ESI]
CALL 0x00014880
ADD ESP,0xc
PUSH 0x2
PUSH EBP
PUSH dword ptr [ESI]
CALL 0x00018d30
ADD ESP,0x10
JMP 0x0001921f
(translation_unit "void FUN_00019120(int *param_1,int *param_2)\n\n{\n  float fVar1;\n  float fVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int unaff_EDI;\n  int iVar11;\n  \n  FUN_0001a21d();\n  iVar9 = *param_1;\n  if (iVar9 != 0) {\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }\n    FUN_00018830(iVar9);\n    iVar11 = 0;\n    iVar7 = 0;\n    iVar9 = *param_1;\njoined_r0x00019172:\n    iVar8 = iVar9;\n    if (iVar8 != 0) {\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }\n    FUN_00018830(iVar7);\n    *(int *)(iVar11 + 0x9c) = *param_2;\n    *param_2 = iVar7;\n    param_1[1] = 0;\n    *param_1 = 0;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00019120(int *param_1,int *param_2)\n\n{\n  float fVar1;\n  float fVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int unaff_EDI;\n  int iVar11;\n  \n  FUN_0001a21d();\n  iVar9 = *param_1;\n  if (iVar9 != 0) {\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }\n    FUN_00018830(iVar9);\n    iVar11 = 0;\n    iVar7 = 0;\n    iVar9 = *param_1;\njoined_r0x00019172:\n    iVar8 = iVar9;\n    if (iVar8 != 0) {\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }\n    FUN_00018830(iVar7);\n    *(int *)(iVar11 + 0x9c) = *param_2;\n    *param_2 = iVar7;\n    param_1[1] = 0;\n    *param_1 = 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00019120(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  float fVar1;\n  float fVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int unaff_EDI;\n  int iVar11;\n  \n  FUN_0001a21d();\n  iVar9 = *param_1;\n  if (iVar9 != 0) {\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }\n    FUN_00018830(iVar9);\n    iVar11 = 0;\n    iVar7 = 0;\n    iVar9 = *param_1;\njoined_r0x00019172:\n    iVar8 = iVar9;\n    if (iVar8 != 0) {\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }\n    FUN_00018830(iVar7);\n    *(int *)(iVar11 + 0x9c) = *param_2;\n    *param_2 = iVar7;\n    param_1[1] = 0;\n    *param_1 = 0;\n  }\n  return;\n}" { (declaration "float fVar1;" primitive_type identifier ;) (declaration "float fVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * 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 unaff_EDI;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (expression_statement "FUN_0001a21d();" (call_expression "FUN_0001a21d()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar9 = *param_1;" (assignment_expression "iVar9 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar9 != 0) {\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }\n    FUN_00018830(iVar9);\n    iVar11 = 0;\n    iVar7 = 0;\n    iVar9 = *param_1;\njoined_r0x00019172:\n    iVar8 = iVar9;\n    if (iVar8 != 0) {\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }\n    FUN_00018830(iVar7);\n    *(int *)(iVar11 + 0x9c) = *param_2;\n    *param_2 = iVar7;\n    param_1[1] = 0;\n    *param_1 = 0;\n  }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }\n    FUN_00018830(iVar9);\n    iVar11 = 0;\n    iVar7 = 0;\n    iVar9 = *param_1;\njoined_r0x00019172:\n    iVar8 = iVar9;\n    if (iVar8 != 0) {\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }\n    FUN_00018830(iVar7);\n    *(int *)(iVar11 + 0x9c) = *param_2;\n    *param_2 = iVar7;\n    param_1[1] = 0;\n    *param_1 = 0;\n  }" { (if_statement "if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }" if (parenthesized_expression "(("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0)" ( (binary_expression "("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0" (parenthesized_expression "("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U)" ( (binary_expression ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U" (subscript_expression ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d]" (string_literal ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."" " string_content ") [ (binary_expression "unaff_EDI + 0x3d" identifier + number_literal) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }" { (expression_statement "puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);" (assignment_expression "puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" identifier = (pointer_expression "*(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" * (cast_expression "(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "("invalid null argument to -size" + unaff_EDI + 0x1d)" ( (binary_expression ""invalid null argument to -size" + unaff_EDI + 0x1d" (binary_expression ""invalid null argument to -size" + unaff_EDI" (string_literal ""invalid null argument to -size"" " string_content ") + identifier) + number_literal) ))))) ;) (expression_statement "__fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);" (call_expression "__fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI)" identifier (argument_list "(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI)" ( (pointer_expression "*puVar6" * identifier) , number_literal , (binary_expression "&UNK_00036b18 + unaff_EDI" (pointer_expression "&UNK_00036b18" & identifier) + identifier) , (binary_expression "&UNK_00036afd + unaff_EDI" (pointer_expression "&UNK_00036afd" & identifier) + identifier) ))) ;) (expression_statement "FUN_00018d30(*puVar6,*param_1,2);" (call_expression "FUN_00018d30(*puVar6,*param_1,2)" identifier (argument_list "(*puVar6,*param_1,2)" ( (pointer_expression "*puVar6" * identifier) , (pointer_expression "*param_1" * identifier) , number_literal ))) ;) (expression_statement "iVar9 = *param_1;" (assignment_expression "iVar9 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "FUN_00018830(iVar9);" (call_expression "FUN_00018830(iVar9)" identifier (argument_list "(iVar9)" ( identifier ))) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "iVar9 = *param_1;" (assignment_expression "iVar9 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (labeled_statement "joined_r0x00019172:\n    iVar8 = iVar9;" statement_identifier : (expression_statement "iVar8 = iVar9;" (assignment_expression "iVar8 = iVar9" identifier = identifier) ;)) (if_statement "if (iVar8 != 0) {\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }" { (expression_statement "iVar9 = *(int *)(iVar8 + 0x9c);" (assignment_expression "iVar9 = *(int *)(iVar8 + 0x9c)" identifier = (pointer_expression "*(int *)(iVar8 + 0x9c)" * (cast_expression "(int *)(iVar8 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x9c)" ( (binary_expression "iVar8 + 0x9c" identifier + number_literal) ))))) ;) (expression_statement "*param_1 = iVar9;" (assignment_expression "*param_1 = iVar9" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)(iVar8 + 0x9c) = 0;" (assignment_expression "*(undefined4 *)(iVar8 + 0x9c) = 0" (pointer_expression "*(undefined4 *)(iVar8 + 0x9c)" * (cast_expression "(undefined4 *)(iVar8 + 0x9c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x9c)" ( (binary_expression "iVar8 + 0x9c" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }" { (expression_statement "uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);" (assignment_expression "uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18)" identifier = (pointer_expression "*(uint *)(*(int *)(iVar8 + 0xa0) + 0x18)" * (cast_expression "(uint *)(*(int *)(iVar8 + 0xa0) + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar8 + 0xa0) + 0x18)" ( (binary_expression "*(int *)(iVar8 + 0xa0) + 0x18" (pointer_expression "*(int *)(iVar8 + 0xa0)" * (cast_expression "(int *)(iVar8 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0xa0)" ( (binary_expression "iVar8 + 0xa0" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar10 = iVar7;" (assignment_expression "iVar10 = iVar7" identifier = identifier) ;) (do_statement "do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);" do (compound_statement "{\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        }" { (expression_statement "uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);" (assignment_expression "uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18)" identifier = (pointer_expression "*(uint *)(*(int *)(iVar10 + 0xa0) + 0x18)" * (cast_expression "(uint *)(*(int *)(iVar10 + 0xa0) + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar10 + 0xa0) + 0x18)" ( (binary_expression "*(int *)(iVar10 + 0xa0) + 0x18" (pointer_expression "*(int *)(iVar10 + 0xa0)" * (cast_expression "(int *)(iVar10 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xa0)" ( (binary_expression "iVar10 + 0xa0" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }" if (parenthesized_expression "(uVar4 != uVar3)" ( (binary_expression "uVar4 != uVar3" identifier != identifier) )) (compound_statement "{\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }" { (if_statement "if (uVar4 < uVar3) goto LAB_000191f0;" if (parenthesized_expression "(uVar4 < uVar3)" ( (binary_expression "uVar4 < uVar3" identifier < identifier) )) (goto_statement "goto LAB_000191f0;" goto statement_identifier ;)) (labeled_statement "LAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);" statement_identifier : (expression_statement "iVar5 = *(int *)(iVar10 + 0x9c);" (assignment_expression "iVar5 = *(int *)(iVar10 + 0x9c)" identifier = (pointer_expression "*(int *)(iVar10 + 0x9c)" * (cast_expression "(int *)(iVar10 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x9c)" ( (binary_expression "iVar10 + 0x9c" identifier + number_literal) ))))) ;)) (expression_statement "*(int *)(iVar8 + 0x9c) = iVar5;" (assignment_expression "*(int *)(iVar8 + 0x9c) = iVar5" (pointer_expression "*(int *)(iVar8 + 0x9c)" * (cast_expression "(int *)(iVar8 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x9c)" ( (binary_expression "iVar8 + 0x9c" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n              iVar11 = iVar8;\n            }" { (expression_statement "iVar11 = iVar8;" (assignment_expression "iVar11 = iVar8" identifier = identifier) ;) })) (expression_statement "*(int *)(iVar10 + 0x9c) = iVar8;" (assignment_expression "*(int *)(iVar10 + 0x9c) = iVar8" (pointer_expression "*(int *)(iVar10 + 0x9c)" * (cast_expression "(int *)(iVar10 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x9c)" ( (binary_expression "iVar10 + 0x9c" identifier + number_literal) )))) = identifier) ;) (goto_statement "goto joined_r0x00019172;" goto statement_identifier ;) })) (expression_statement "fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);" (assignment_expression "fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c)" identifier = (pointer_expression "*(float *)(*(int *)(iVar10 + 0xa0) + 0x1c)" * (cast_expression "(float *)(*(int *)(iVar10 + 0xa0) + 0x1c)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar10 + 0xa0) + 0x1c)" ( (binary_expression "*(int *)(iVar10 + 0xa0) + 0x1c" (pointer_expression "*(int *)(iVar10 + 0xa0)" * (cast_expression "(int *)(iVar10 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xa0)" ( (binary_expression "iVar10 + 0xa0" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);" (assignment_expression "fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c)" identifier = (pointer_expression "*(float *)(*(int *)(iVar8 + 0xa0) + 0x1c)" * (cast_expression "(float *)(*(int *)(iVar8 + 0xa0) + 0x1c)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar8 + 0xa0) + 0x1c)" ( (binary_expression "*(int *)(iVar8 + 0xa0) + 0x1c" (pointer_expression "*(int *)(iVar8 + 0xa0)" * (cast_expression "(int *)(iVar8 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0xa0)" ( (binary_expression "iVar8 + 0xa0" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (fVar1 == fVar2) goto LAB_0001926c;" if (parenthesized_expression "(fVar1 == fVar2)" ( (binary_expression "fVar1 == fVar2" identifier == identifier) )) (goto_statement "goto LAB_0001926c;" goto statement_identifier ;)) (if_statement "if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;" if (parenthesized_expression "(*(int *)(iVar10 + 0xc) == 2)" ( (binary_expression "*(int *)(iVar10 + 0xc) == 2" (pointer_expression "*(int *)(iVar10 + 0xc)" * (cast_expression "(int *)(iVar10 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xc)" ( (binary_expression "iVar10 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }" { (if_statement "if (fVar1 < fVar2) goto LAB_0001926c;" if (parenthesized_expression "(fVar1 < fVar2)" ( (binary_expression "fVar1 < fVar2" identifier < identifier) )) (goto_statement "goto LAB_0001926c;" goto statement_identifier ;)) }) (else_clause "else if (fVar2 <= fVar1) goto LAB_0001926c;" else (if_statement "if (fVar2 <= fVar1) goto LAB_0001926c;" if (parenthesized_expression "(fVar2 <= fVar1)" ( (binary_expression "fVar2 <= fVar1" identifier <= identifier) )) (goto_statement "goto LAB_0001926c;" goto statement_identifier ;)))) (labeled_statement "LAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);" statement_identifier : (expression_statement "iVar10 = *(int *)(iVar10 + 0x9c);" (assignment_expression "iVar10 = *(int *)(iVar10 + 0x9c)" identifier = (pointer_expression "*(int *)(iVar10 + 0x9c)" * (cast_expression "(int *)(iVar10 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x9c)" ( (binary_expression "iVar10 + 0x9c" identifier + number_literal) ))))) ;)) }) while (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) ;) })) (expression_statement "*(int *)(iVar8 + 0x9c) = iVar7;" (assignment_expression "*(int *)(iVar8 + 0x9c) = iVar7" (pointer_expression "*(int *)(iVar8 + 0x9c)" * (cast_expression "(int *)(iVar8 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x9c)" ( (binary_expression "iVar8 + 0x9c" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar7 = iVar8;" (assignment_expression "iVar7 = iVar8" identifier = identifier) ;) (if_statement "if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar11 = iVar8;\n      }" { (expression_statement "iVar11 = iVar8;" (assignment_expression "iVar11 = iVar8" identifier = identifier) ;) })) (goto_statement "goto joined_r0x00019172;" goto statement_identifier ;) })) (if_statement "if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }" if (parenthesized_expression "(("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0)" ( (binary_expression "("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0" (parenthesized_expression "("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U)" ( (binary_expression ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U" (subscript_expression ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d]" (string_literal ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."" " string_content ") [ (binary_expression "unaff_EDI + 0x3d" identifier + number_literal) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }" { (expression_statement "puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);" (assignment_expression "puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" identifier = (pointer_expression "*(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" * (cast_expression "(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "("invalid null argument to -size" + unaff_EDI + 0x1d)" ( (binary_expression ""invalid null argument to -size" + unaff_EDI + 0x1d" (binary_expression ""invalid null argument to -size" + unaff_EDI" (string_literal ""invalid null argument to -size"" " string_content ") + identifier) + number_literal) ))))) ;) (expression_statement "__fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);" (call_expression "__fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI)" identifier (argument_list "(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI)" ( (pointer_expression "*puVar6" * identifier) , number_literal , (binary_expression "&UNK_00036b18 + unaff_EDI" (pointer_expression "&UNK_00036b18" & identifier) + identifier) , (binary_expression "&UNK_00036b1d + unaff_EDI" (pointer_expression "&UNK_00036b1d" & identifier) + identifier) ))) ;) (expression_statement "FUN_00018d30(*puVar6,iVar7,2);" (call_expression "FUN_00018d30(*puVar6,iVar7,2)" identifier (argument_list "(*puVar6,iVar7,2)" ( (pointer_expression "*puVar6" * identifier) , identifier , number_literal ))) ;) })) (expression_statement "FUN_00018830(iVar7);" (call_expression "FUN_00018830(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "*(int *)(iVar11 + 0x9c) = *param_2;" (assignment_expression "*(int *)(iVar11 + 0x9c) = *param_2" (pointer_expression "*(int *)(iVar11 + 0x9c)" * (cast_expression "(int *)(iVar11 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x9c)" ( (binary_expression "iVar11 + 0x9c" identifier + number_literal) )))) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_2 = iVar7;" (assignment_expression "*param_2 = iVar7" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid predlist_merge_sort(predlist *list,predicate **last)\n\n{\n  float fVar1;\n  float fVar2;\n  EvaluationCost EVar3;\n  EvaluationCost EVar4;\n  predicate *ppVar5;\n  undefined4 *puVar6;\n  predicate *node;\n  predicate *ppVar7;\n  predicate *ppVar8;\n  predicate *ppVar9;\n  int unaff_EDI;\n  predicate *ppVar10;\n  \n  __x86_get_pc_thunk_di();\n  ppVar8 = list->head;\n  if (ppVar8 != (predicate *)0x0) {\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36afd);\n      print_tree((FILE *)*puVar6,list->head,2);\n      ppVar8 = list->head;\n    }\n    calculate_derived_rates(ppVar8);\n    ppVar10 = (predicate *)0x0;\n    node = (predicate *)0x0;\n    ppVar8 = list->head;\njoined_r0x00019172:\n    ppVar7 = ppVar8;\n    if (ppVar7 != (predicate *)0x0) {\n      ppVar8 = ppVar7->pred_left;\n      list->head = ppVar8;\n      ppVar7->pred_left = (predicate *)0x0;\n      if (node != (predicate *)0x0) {\n        EVar3 = ppVar7->pred_right->p_cost;\n        ppVar9 = node;\n        do {\n          EVar4 = ppVar9->pred_right->p_cost;\n          if (EVar4 != EVar3) {\n            if (EVar4 < EVar3) goto LAB_000191f0;\nLAB_0001926c:\n            ppVar5 = ppVar9->pred_left;\n            ppVar7->pred_left = ppVar5;\n            if (ppVar5 == (predicate *)0x0) {\n              ppVar10 = ppVar7;\n            }\n            ppVar9->pred_left = ppVar7;\n            goto joined_r0x00019172;\n          }\n          fVar1 = ppVar9->pred_right->est_success_rate;\n          fVar2 = ppVar7->pred_right->est_success_rate;\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (ppVar9->p_prec == OR_PREC) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          ppVar9 = ppVar9->pred_left;\n        } while (ppVar9 != (predicate *)0x0);\n      }\n      ppVar7->pred_left = node;\n      node = ppVar7;\n      if (ppVar10 == (predicate *)0x0) {\n        ppVar10 = ppVar7;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36b1d);\n      print_tree((FILE *)*puVar6,node,2);\n    }\n    calculate_derived_rates(node);\n    ppVar10->pred_left = *last;\n    *last = node;\n    list->tail = (predicate *)0x0;\n    list->head = (predicate *)0x0;\n  }\n  return;\n}\n\n" comment (function_definition "void predlist_merge_sort(predlist *list,predicate **last)\n\n{\n  float fVar1;\n  float fVar2;\n  EvaluationCost EVar3;\n  EvaluationCost EVar4;\n  predicate *ppVar5;\n  undefined4 *puVar6;\n  predicate *node;\n  predicate *ppVar7;\n  predicate *ppVar8;\n  predicate *ppVar9;\n  int unaff_EDI;\n  predicate *ppVar10;\n  \n  __x86_get_pc_thunk_di();\n  ppVar8 = list->head;\n  if (ppVar8 != (predicate *)0x0) {\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36afd);\n      print_tree((FILE *)*puVar6,list->head,2);\n      ppVar8 = list->head;\n    }\n    calculate_derived_rates(ppVar8);\n    ppVar10 = (predicate *)0x0;\n    node = (predicate *)0x0;\n    ppVar8 = list->head;\njoined_r0x00019172:\n    ppVar7 = ppVar8;\n    if (ppVar7 != (predicate *)0x0) {\n      ppVar8 = ppVar7->pred_left;\n      list->head = ppVar8;\n      ppVar7->pred_left = (predicate *)0x0;\n      if (node != (predicate *)0x0) {\n        EVar3 = ppVar7->pred_right->p_cost;\n        ppVar9 = node;\n        do {\n          EVar4 = ppVar9->pred_right->p_cost;\n          if (EVar4 != EVar3) {\n            if (EVar4 < EVar3) goto LAB_000191f0;\nLAB_0001926c:\n            ppVar5 = ppVar9->pred_left;\n            ppVar7->pred_left = ppVar5;\n            if (ppVar5 == (predicate *)0x0) {\n              ppVar10 = ppVar7;\n            }\n            ppVar9->pred_left = ppVar7;\n            goto joined_r0x00019172;\n          }\n          fVar1 = ppVar9->pred_right->est_success_rate;\n          fVar2 = ppVar7->pred_right->est_success_rate;\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (ppVar9->p_prec == OR_PREC) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          ppVar9 = ppVar9->pred_left;\n        } while (ppVar9 != (predicate *)0x0);\n      }\n      ppVar7->pred_left = node;\n      node = ppVar7;\n      if (ppVar10 == (predicate *)0x0) {\n        ppVar10 = ppVar7;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36b1d);\n      print_tree((FILE *)*puVar6,node,2);\n    }\n    calculate_derived_rates(node);\n    ppVar10->pred_left = *last;\n    *last = node;\n    list->tail = (predicate *)0x0;\n    list->head = (predicate *)0x0;\n  }\n  return;\n}" primitive_type (function_declarator "predlist_merge_sort(predlist *list,predicate **last)" identifier (parameter_list "(predlist *list,predicate **last)" ( (parameter_declaration "predlist *list" type_identifier (pointer_declarator "*list" * identifier)) , (parameter_declaration "predicate **last" type_identifier (pointer_declarator "**last" * (pointer_declarator "*last" * identifier))) ))) (compound_statement "{\n  float fVar1;\n  float fVar2;\n  EvaluationCost EVar3;\n  EvaluationCost EVar4;\n  predicate *ppVar5;\n  undefined4 *puVar6;\n  predicate *node;\n  predicate *ppVar7;\n  predicate *ppVar8;\n  predicate *ppVar9;\n  int unaff_EDI;\n  predicate *ppVar10;\n  \n  __x86_get_pc_thunk_di();\n  ppVar8 = list->head;\n  if (ppVar8 != (predicate *)0x0) {\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36afd);\n      print_tree((FILE *)*puVar6,list->head,2);\n      ppVar8 = list->head;\n    }\n    calculate_derived_rates(ppVar8);\n    ppVar10 = (predicate *)0x0;\n    node = (predicate *)0x0;\n    ppVar8 = list->head;\njoined_r0x00019172:\n    ppVar7 = ppVar8;\n    if (ppVar7 != (predicate *)0x0) {\n      ppVar8 = ppVar7->pred_left;\n      list->head = ppVar8;\n      ppVar7->pred_left = (predicate *)0x0;\n      if (node != (predicate *)0x0) {\n        EVar3 = ppVar7->pred_right->p_cost;\n        ppVar9 = node;\n        do {\n          EVar4 = ppVar9->pred_right->p_cost;\n          if (EVar4 != EVar3) {\n            if (EVar4 < EVar3) goto LAB_000191f0;\nLAB_0001926c:\n            ppVar5 = ppVar9->pred_left;\n            ppVar7->pred_left = ppVar5;\n            if (ppVar5 == (predicate *)0x0) {\n              ppVar10 = ppVar7;\n            }\n            ppVar9->pred_left = ppVar7;\n            goto joined_r0x00019172;\n          }\n          fVar1 = ppVar9->pred_right->est_success_rate;\n          fVar2 = ppVar7->pred_right->est_success_rate;\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (ppVar9->p_prec == OR_PREC) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          ppVar9 = ppVar9->pred_left;\n        } while (ppVar9 != (predicate *)0x0);\n      }\n      ppVar7->pred_left = node;\n      node = ppVar7;\n      if (ppVar10 == (predicate *)0x0) {\n        ppVar10 = ppVar7;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36b1d);\n      print_tree((FILE *)*puVar6,node,2);\n    }\n    calculate_derived_rates(node);\n    ppVar10->pred_left = *last;\n    *last = node;\n    list->tail = (predicate *)0x0;\n    list->head = (predicate *)0x0;\n  }\n  return;\n}" { (declaration "float fVar1;" primitive_type identifier ;) (declaration "float fVar2;" primitive_type identifier ;) (declaration "EvaluationCost EVar3;" type_identifier identifier ;) (declaration "EvaluationCost EVar4;" type_identifier identifier ;) (declaration "predicate *ppVar5;" type_identifier (pointer_declarator "*ppVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "predicate *node;" type_identifier (pointer_declarator "*node" * identifier) ;) (declaration "predicate *ppVar7;" type_identifier (pointer_declarator "*ppVar7" * identifier) ;) (declaration "predicate *ppVar8;" type_identifier (pointer_declarator "*ppVar8" * identifier) ;) (declaration "predicate *ppVar9;" type_identifier (pointer_declarator "*ppVar9" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "predicate *ppVar10;" type_identifier (pointer_declarator "*ppVar10" * identifier) ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "ppVar8 = list->head;" (assignment_expression "ppVar8 = list->head" identifier = (field_expression "list->head" identifier -> field_identifier)) ;) (if_statement "if (ppVar8 != (predicate *)0x0) {\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36afd);\n      print_tree((FILE *)*puVar6,list->head,2);\n      ppVar8 = list->head;\n    }\n    calculate_derived_rates(ppVar8);\n    ppVar10 = (predicate *)0x0;\n    node = (predicate *)0x0;\n    ppVar8 = list->head;\njoined_r0x00019172:\n    ppVar7 = ppVar8;\n    if (ppVar7 != (predicate *)0x0) {\n      ppVar8 = ppVar7->pred_left;\n      list->head = ppVar8;\n      ppVar7->pred_left = (predicate *)0x0;\n      if (node != (predicate *)0x0) {\n        EVar3 = ppVar7->pred_right->p_cost;\n        ppVar9 = node;\n        do {\n          EVar4 = ppVar9->pred_right->p_cost;\n          if (EVar4 != EVar3) {\n            if (EVar4 < EVar3) goto LAB_000191f0;\nLAB_0001926c:\n            ppVar5 = ppVar9->pred_left;\n            ppVar7->pred_left = ppVar5;\n            if (ppVar5 == (predicate *)0x0) {\n              ppVar10 = ppVar7;\n            }\n            ppVar9->pred_left = ppVar7;\n            goto joined_r0x00019172;\n          }\n          fVar1 = ppVar9->pred_right->est_success_rate;\n          fVar2 = ppVar7->pred_right->est_success_rate;\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (ppVar9->p_prec == OR_PREC) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          ppVar9 = ppVar9->pred_left;\n        } while (ppVar9 != (predicate *)0x0);\n      }\n      ppVar7->pred_left = node;\n      node = ppVar7;\n      if (ppVar10 == (predicate *)0x0) {\n        ppVar10 = ppVar7;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36b1d);\n      print_tree((FILE *)*puVar6,node,2);\n    }\n    calculate_derived_rates(node);\n    ppVar10->pred_left = *last;\n    *last = node;\n    list->tail = (predicate *)0x0;\n    list->head = (predicate *)0x0;\n  }" if (parenthesized_expression "(ppVar8 != (predicate *)0x0)" ( (binary_expression "ppVar8 != (predicate *)0x0" identifier != (cast_expression "(predicate *)0x0" ( (type_descriptor "predicate *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36afd);\n      print_tree((FILE *)*puVar6,list->head,2);\n      ppVar8 = list->head;\n    }\n    calculate_derived_rates(ppVar8);\n    ppVar10 = (predicate *)0x0;\n    node = (predicate *)0x0;\n    ppVar8 = list->head;\njoined_r0x00019172:\n    ppVar7 = ppVar8;\n    if (ppVar7 != (predicate *)0x0) {\n      ppVar8 = ppVar7->pred_left;\n      list->head = ppVar8;\n      ppVar7->pred_left = (predicate *)0x0;\n      if (node != (predicate *)0x0) {\n        EVar3 = ppVar7->pred_right->p_cost;\n        ppVar9 = node;\n        do {\n          EVar4 = ppVar9->pred_right->p_cost;\n          if (EVar4 != EVar3) {\n            if (EVar4 < EVar3) goto LAB_000191f0;\nLAB_0001926c:\n            ppVar5 = ppVar9->pred_left;\n            ppVar7->pred_left = ppVar5;\n            if (ppVar5 == (predicate *)0x0) {\n              ppVar10 = ppVar7;\n            }\n            ppVar9->pred_left = ppVar7;\n            goto joined_r0x00019172;\n          }\n          fVar1 = ppVar9->pred_right->est_success_rate;\n          fVar2 = ppVar7->pred_right->est_success_rate;\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (ppVar9->p_prec == OR_PREC) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          ppVar9 = ppVar9->pred_left;\n        } while (ppVar9 != (predicate *)0x0);\n      }\n      ppVar7->pred_left = node;\n      node = ppVar7;\n      if (ppVar10 == (predicate *)0x0) {\n        ppVar10 = ppVar7;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36b1d);\n      print_tree((FILE *)*puVar6,node,2);\n    }\n    calculate_derived_rates(node);\n    ppVar10->pred_left = *last;\n    *last = node;\n    list->tail = (predicate *)0x0;\n    list->head = (predicate *)0x0;\n  }" { (if_statement "if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36afd);\n      print_tree((FILE *)*puVar6,list->head,2);\n      ppVar8 = list->head;\n    }" if (parenthesized_expression "(("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0)" ( (binary_expression "("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0" (parenthesized_expression "("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U)" ( (binary_expression ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U" (subscript_expression ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d]" (string_literal ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."" " string_content ") [ (binary_expression "unaff_EDI + 0x3d" identifier + number_literal) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36afd);\n      print_tree((FILE *)*puVar6,list->head,2);\n      ppVar8 = list->head;\n    }" { (expression_statement "puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);" (assignment_expression "puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" identifier = (pointer_expression "*(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" * (cast_expression "(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "("invalid null argument to -size" + unaff_EDI + 0x1d)" ( (binary_expression ""invalid null argument to -size" + unaff_EDI + 0x1d" (binary_expression ""invalid null argument to -size" + unaff_EDI" (string_literal ""invalid null argument to -size"" " string_content ") + identifier) + number_literal) ))))) ;) (expression_statement "__fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36afd);" (call_expression "__fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36afd)" identifier (argument_list "(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36afd)" ( (pointer_expression "*puVar6" * identifier) , number_literal , (binary_expression "unaff_EDI + 0x36b18" identifier + number_literal) , (binary_expression "unaff_EDI + 0x36afd" identifier + number_literal) ))) ;) (expression_statement "print_tree((FILE *)*puVar6,list->head,2);" (call_expression "print_tree((FILE *)*puVar6,list->head,2)" identifier (argument_list "((FILE *)*puVar6,list->head,2)" ( (cast_expression "(FILE *)*puVar6" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier)) , (field_expression "list->head" identifier -> field_identifier) , number_literal ))) ;) (expression_statement "ppVar8 = list->head;" (assignment_expression "ppVar8 = list->head" identifier = (field_expression "list->head" identifier -> field_identifier)) ;) })) (expression_statement "calculate_derived_rates(ppVar8);" (call_expression "calculate_derived_rates(ppVar8)" identifier (argument_list "(ppVar8)" ( identifier ))) ;) (expression_statement "ppVar10 = (predicate *)0x0;" (assignment_expression "ppVar10 = (predicate *)0x0" identifier = (cast_expression "(predicate *)0x0" ( (type_descriptor "predicate *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "node = (predicate *)0x0;" (assignment_expression "node = (predicate *)0x0" identifier = (cast_expression "(predicate *)0x0" ( (type_descriptor "predicate *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "ppVar8 = list->head;" (assignment_expression "ppVar8 = list->head" identifier = (field_expression "list->head" identifier -> field_identifier)) ;) (labeled_statement "joined_r0x00019172:\n    ppVar7 = ppVar8;" statement_identifier : (expression_statement "ppVar7 = ppVar8;" (assignment_expression "ppVar7 = ppVar8" identifier = identifier) ;)) (if_statement "if (ppVar7 != (predicate *)0x0) {\n      ppVar8 = ppVar7->pred_left;\n      list->head = ppVar8;\n      ppVar7->pred_left = (predicate *)0x0;\n      if (node != (predicate *)0x0) {\n        EVar3 = ppVar7->pred_right->p_cost;\n        ppVar9 = node;\n        do {\n          EVar4 = ppVar9->pred_right->p_cost;\n          if (EVar4 != EVar3) {\n            if (EVar4 < EVar3) goto LAB_000191f0;\nLAB_0001926c:\n            ppVar5 = ppVar9->pred_left;\n            ppVar7->pred_left = ppVar5;\n            if (ppVar5 == (predicate *)0x0) {\n              ppVar10 = ppVar7;\n            }\n            ppVar9->pred_left = ppVar7;\n            goto joined_r0x00019172;\n          }\n          fVar1 = ppVar9->pred_right->est_success_rate;\n          fVar2 = ppVar7->pred_right->est_success_rate;\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (ppVar9->p_prec == OR_PREC) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          ppVar9 = ppVar9->pred_left;\n        } while (ppVar9 != (predicate *)0x0);\n      }\n      ppVar7->pred_left = node;\n      node = ppVar7;\n      if (ppVar10 == (predicate *)0x0) {\n        ppVar10 = ppVar7;\n      }\n      goto joined_r0x00019172;\n    }" if (parenthesized_expression "(ppVar7 != (predicate *)0x0)" ( (binary_expression "ppVar7 != (predicate *)0x0" identifier != (cast_expression "(predicate *)0x0" ( (type_descriptor "predicate *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      ppVar8 = ppVar7->pred_left;\n      list->head = ppVar8;\n      ppVar7->pred_left = (predicate *)0x0;\n      if (node != (predicate *)0x0) {\n        EVar3 = ppVar7->pred_right->p_cost;\n        ppVar9 = node;\n        do {\n          EVar4 = ppVar9->pred_right->p_cost;\n          if (EVar4 != EVar3) {\n            if (EVar4 < EVar3) goto LAB_000191f0;\nLAB_0001926c:\n            ppVar5 = ppVar9->pred_left;\n            ppVar7->pred_left = ppVar5;\n            if (ppVar5 == (predicate *)0x0) {\n              ppVar10 = ppVar7;\n            }\n            ppVar9->pred_left = ppVar7;\n            goto joined_r0x00019172;\n          }\n          fVar1 = ppVar9->pred_right->est_success_rate;\n          fVar2 = ppVar7->pred_right->est_success_rate;\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (ppVar9->p_prec == OR_PREC) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          ppVar9 = ppVar9->pred_left;\n        } while (ppVar9 != (predicate *)0x0);\n      }\n      ppVar7->pred_left = node;\n      node = ppVar7;\n      if (ppVar10 == (predicate *)0x0) {\n        ppVar10 = ppVar7;\n      }\n      goto joined_r0x00019172;\n    }" { (expression_statement "ppVar8 = ppVar7->pred_left;" (assignment_expression "ppVar8 = ppVar7->pred_left" identifier = (field_expression "ppVar7->pred_left" identifier -> field_identifier)) ;) (expression_statement "list->head = ppVar8;" (assignment_expression "list->head = ppVar8" (field_expression "list->head" identifier -> field_identifier) = identifier) ;) (expression_statement "ppVar7->pred_left = (predicate *)0x0;" (assignment_expression "ppVar7->pred_left = (predicate *)0x0" (field_expression "ppVar7->pred_left" identifier -> field_identifier) = (cast_expression "(predicate *)0x0" ( (type_descriptor "predicate *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (node != (predicate *)0x0) {\n        EVar3 = ppVar7->pred_right->p_cost;\n        ppVar9 = node;\n        do {\n          EVar4 = ppVar9->pred_right->p_cost;\n          if (EVar4 != EVar3) {\n            if (EVar4 < EVar3) goto LAB_000191f0;\nLAB_0001926c:\n            ppVar5 = ppVar9->pred_left;\n            ppVar7->pred_left = ppVar5;\n            if (ppVar5 == (predicate *)0x0) {\n              ppVar10 = ppVar7;\n            }\n            ppVar9->pred_left = ppVar7;\n            goto joined_r0x00019172;\n          }\n          fVar1 = ppVar9->pred_right->est_success_rate;\n          fVar2 = ppVar7->pred_right->est_success_rate;\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (ppVar9->p_prec == OR_PREC) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          ppVar9 = ppVar9->pred_left;\n        } while (ppVar9 != (predicate *)0x0);\n      }" if (parenthesized_expression "(node != (predicate *)0x0)" ( (binary_expression "node != (predicate *)0x0" identifier != (cast_expression "(predicate *)0x0" ( (type_descriptor "predicate *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        EVar3 = ppVar7->pred_right->p_cost;\n        ppVar9 = node;\n        do {\n          EVar4 = ppVar9->pred_right->p_cost;\n          if (EVar4 != EVar3) {\n            if (EVar4 < EVar3) goto LAB_000191f0;\nLAB_0001926c:\n            ppVar5 = ppVar9->pred_left;\n            ppVar7->pred_left = ppVar5;\n            if (ppVar5 == (predicate *)0x0) {\n              ppVar10 = ppVar7;\n            }\n            ppVar9->pred_left = ppVar7;\n            goto joined_r0x00019172;\n          }\n          fVar1 = ppVar9->pred_right->est_success_rate;\n          fVar2 = ppVar7->pred_right->est_success_rate;\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (ppVar9->p_prec == OR_PREC) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          ppVar9 = ppVar9->pred_left;\n        } while (ppVar9 != (predicate *)0x0);\n      }" { (expression_statement "EVar3 = ppVar7->pred_right->p_cost;" (assignment_expression "EVar3 = ppVar7->pred_right->p_cost" identifier = (field_expression "ppVar7->pred_right->p_cost" (field_expression "ppVar7->pred_right" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "ppVar9 = node;" (assignment_expression "ppVar9 = node" identifier = identifier) ;) (do_statement "do {\n          EVar4 = ppVar9->pred_right->p_cost;\n          if (EVar4 != EVar3) {\n            if (EVar4 < EVar3) goto LAB_000191f0;\nLAB_0001926c:\n            ppVar5 = ppVar9->pred_left;\n            ppVar7->pred_left = ppVar5;\n            if (ppVar5 == (predicate *)0x0) {\n              ppVar10 = ppVar7;\n            }\n            ppVar9->pred_left = ppVar7;\n            goto joined_r0x00019172;\n          }\n          fVar1 = ppVar9->pred_right->est_success_rate;\n          fVar2 = ppVar7->pred_right->est_success_rate;\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (ppVar9->p_prec == OR_PREC) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          ppVar9 = ppVar9->pred_left;\n        } while (ppVar9 != (predicate *)0x0);" do (compound_statement "{\n          EVar4 = ppVar9->pred_right->p_cost;\n          if (EVar4 != EVar3) {\n            if (EVar4 < EVar3) goto LAB_000191f0;\nLAB_0001926c:\n            ppVar5 = ppVar9->pred_left;\n            ppVar7->pred_left = ppVar5;\n            if (ppVar5 == (predicate *)0x0) {\n              ppVar10 = ppVar7;\n            }\n            ppVar9->pred_left = ppVar7;\n            goto joined_r0x00019172;\n          }\n          fVar1 = ppVar9->pred_right->est_success_rate;\n          fVar2 = ppVar7->pred_right->est_success_rate;\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (ppVar9->p_prec == OR_PREC) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          ppVar9 = ppVar9->pred_left;\n        }" { (expression_statement "EVar4 = ppVar9->pred_right->p_cost;" (assignment_expression "EVar4 = ppVar9->pred_right->p_cost" identifier = (field_expression "ppVar9->pred_right->p_cost" (field_expression "ppVar9->pred_right" identifier -> field_identifier) -> field_identifier)) ;) (if_statement "if (EVar4 != EVar3) {\n            if (EVar4 < EVar3) goto LAB_000191f0;\nLAB_0001926c:\n            ppVar5 = ppVar9->pred_left;\n            ppVar7->pred_left = ppVar5;\n            if (ppVar5 == (predicate *)0x0) {\n              ppVar10 = ppVar7;\n            }\n            ppVar9->pred_left = ppVar7;\n            goto joined_r0x00019172;\n          }" if (parenthesized_expression "(EVar4 != EVar3)" ( (binary_expression "EVar4 != EVar3" identifier != identifier) )) (compound_statement "{\n            if (EVar4 < EVar3) goto LAB_000191f0;\nLAB_0001926c:\n            ppVar5 = ppVar9->pred_left;\n            ppVar7->pred_left = ppVar5;\n            if (ppVar5 == (predicate *)0x0) {\n              ppVar10 = ppVar7;\n            }\n            ppVar9->pred_left = ppVar7;\n            goto joined_r0x00019172;\n          }" { (if_statement "if (EVar4 < EVar3) goto LAB_000191f0;" if (parenthesized_expression "(EVar4 < EVar3)" ( (binary_expression "EVar4 < EVar3" identifier < identifier) )) (goto_statement "goto LAB_000191f0;" goto statement_identifier ;)) (labeled_statement "LAB_0001926c:\n            ppVar5 = ppVar9->pred_left;" statement_identifier : (expression_statement "ppVar5 = ppVar9->pred_left;" (assignment_expression "ppVar5 = ppVar9->pred_left" identifier = (field_expression "ppVar9->pred_left" identifier -> field_identifier)) ;)) (expression_statement "ppVar7->pred_left = ppVar5;" (assignment_expression "ppVar7->pred_left = ppVar5" (field_expression "ppVar7->pred_left" identifier -> field_identifier) = identifier) ;) (if_statement "if (ppVar5 == (predicate *)0x0) {\n              ppVar10 = ppVar7;\n            }" if (parenthesized_expression "(ppVar5 == (predicate *)0x0)" ( (binary_expression "ppVar5 == (predicate *)0x0" identifier == (cast_expression "(predicate *)0x0" ( (type_descriptor "predicate *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              ppVar10 = ppVar7;\n            }" { (expression_statement "ppVar10 = ppVar7;" (assignment_expression "ppVar10 = ppVar7" identifier = identifier) ;) })) (expression_statement "ppVar9->pred_left = ppVar7;" (assignment_expression "ppVar9->pred_left = ppVar7" (field_expression "ppVar9->pred_left" identifier -> field_identifier) = identifier) ;) (goto_statement "goto joined_r0x00019172;" goto statement_identifier ;) })) (expression_statement "fVar1 = ppVar9->pred_right->est_success_rate;" (assignment_expression "fVar1 = ppVar9->pred_right->est_success_rate" identifier = (field_expression "ppVar9->pred_right->est_success_rate" (field_expression "ppVar9->pred_right" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "fVar2 = ppVar7->pred_right->est_success_rate;" (assignment_expression "fVar2 = ppVar7->pred_right->est_success_rate" identifier = (field_expression "ppVar7->pred_right->est_success_rate" (field_expression "ppVar7->pred_right" identifier -> field_identifier) -> field_identifier)) ;) (if_statement "if (fVar1 == fVar2) goto LAB_0001926c;" if (parenthesized_expression "(fVar1 == fVar2)" ( (binary_expression "fVar1 == fVar2" identifier == identifier) )) (goto_statement "goto LAB_0001926c;" goto statement_identifier ;)) (if_statement "if (ppVar9->p_prec == OR_PREC) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;" if (parenthesized_expression "(ppVar9->p_prec == OR_PREC)" ( (binary_expression "ppVar9->p_prec == OR_PREC" (field_expression "ppVar9->p_prec" identifier -> field_identifier) == identifier) )) (compound_statement "{\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }" { (if_statement "if (fVar1 < fVar2) goto LAB_0001926c;" if (parenthesized_expression "(fVar1 < fVar2)" ( (binary_expression "fVar1 < fVar2" identifier < identifier) )) (goto_statement "goto LAB_0001926c;" goto statement_identifier ;)) }) (else_clause "else if (fVar2 <= fVar1) goto LAB_0001926c;" else (if_statement "if (fVar2 <= fVar1) goto LAB_0001926c;" if (parenthesized_expression "(fVar2 <= fVar1)" ( (binary_expression "fVar2 <= fVar1" identifier <= identifier) )) (goto_statement "goto LAB_0001926c;" goto statement_identifier ;)))) (labeled_statement "LAB_000191f0:\n          ppVar9 = ppVar9->pred_left;" statement_identifier : (expression_statement "ppVar9 = ppVar9->pred_left;" (assignment_expression "ppVar9 = ppVar9->pred_left" identifier = (field_expression "ppVar9->pred_left" identifier -> field_identifier)) ;)) }) while (parenthesized_expression "(ppVar9 != (predicate *)0x0)" ( (binary_expression "ppVar9 != (predicate *)0x0" identifier != (cast_expression "(predicate *)0x0" ( (type_descriptor "predicate *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "ppVar7->pred_left = node;" (assignment_expression "ppVar7->pred_left = node" (field_expression "ppVar7->pred_left" identifier -> field_identifier) = identifier) ;) (expression_statement "node = ppVar7;" (assignment_expression "node = ppVar7" identifier = identifier) ;) (if_statement "if (ppVar10 == (predicate *)0x0) {\n        ppVar10 = ppVar7;\n      }" if (parenthesized_expression "(ppVar10 == (predicate *)0x0)" ( (binary_expression "ppVar10 == (predicate *)0x0" identifier == (cast_expression "(predicate *)0x0" ( (type_descriptor "predicate *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        ppVar10 = ppVar7;\n      }" { (expression_statement "ppVar10 = ppVar7;" (assignment_expression "ppVar10 = ppVar7" identifier = identifier) ;) })) (goto_statement "goto joined_r0x00019172;" goto statement_identifier ;) })) (if_statement "if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36b1d);\n      print_tree((FILE *)*puVar6,node,2);\n    }" if (parenthesized_expression "(("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0)" ( (binary_expression "("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0" (parenthesized_expression "("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U)" ( (binary_expression ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U" (subscript_expression ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d]" (string_literal ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."" " string_content ") [ (binary_expression "unaff_EDI + 0x3d" identifier + number_literal) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36b1d);\n      print_tree((FILE *)*puVar6,node,2);\n    }" { (expression_statement "puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);" (assignment_expression "puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" identifier = (pointer_expression "*(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" * (cast_expression "(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "("invalid null argument to -size" + unaff_EDI + 0x1d)" ( (binary_expression ""invalid null argument to -size" + unaff_EDI + 0x1d" (binary_expression ""invalid null argument to -size" + unaff_EDI" (string_literal ""invalid null argument to -size"" " string_content ") + identifier) + number_literal) ))))) ;) (expression_statement "__fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36b1d);" (call_expression "__fprintf_chk(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36b1d)" identifier (argument_list "(*puVar6,1,unaff_EDI + 0x36b18,unaff_EDI + 0x36b1d)" ( (pointer_expression "*puVar6" * identifier) , number_literal , (binary_expression "unaff_EDI + 0x36b18" identifier + number_literal) , (binary_expression "unaff_EDI + 0x36b1d" identifier + number_literal) ))) ;) (expression_statement "print_tree((FILE *)*puVar6,node,2);" (call_expression "print_tree((FILE *)*puVar6,node,2)" identifier (argument_list "((FILE *)*puVar6,node,2)" ( (cast_expression "(FILE *)*puVar6" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier)) , identifier , number_literal ))) ;) })) (expression_statement "calculate_derived_rates(node);" (call_expression "calculate_derived_rates(node)" identifier (argument_list "(node)" ( identifier ))) ;) (expression_statement "ppVar10->pred_left = *last;" (assignment_expression "ppVar10->pred_left = *last" (field_expression "ppVar10->pred_left" identifier -> field_identifier) = (pointer_expression "*last" * identifier)) ;) (expression_statement "*last = node;" (assignment_expression "*last = node" (pointer_expression "*last" * identifier) = identifier) ;) (expression_statement "list->tail = (predicate *)0x0;" (assignment_expression "list->tail = (predicate *)0x0" (field_expression "list->tail" identifier -> field_identifier) = (cast_expression "(predicate *)0x0" ( (type_descriptor "predicate *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "list->head = (predicate *)0x0;" (assignment_expression "list->head = (predicate *)0x0" (field_expression "list->head" identifier -> field_identifier) = (cast_expression "(predicate *)0x0" ( (type_descriptor "predicate *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00019120(int *param_1,int *param_2)\n\n{\n  float fVar1;\n  float fVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int unaff_EDI;\n  int iVar11;\n  \n  FUN_0001a21d();\n  iVar9 = *param_1;\n  if (iVar9 != 0) {\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }\n    FUN_00018830(iVar9);\n    iVar11 = 0;\n    iVar7 = 0;\n    iVar9 = *param_1;\njoined_r0x00019172:\n    iVar8 = iVar9;\n    if (iVar8 != 0) {\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }\n    FUN_00018830(iVar7);\n    *(int *)(iVar11 + 0x9c) = *param_2;\n    *param_2 = iVar7;\n    param_1[1] = 0;\n    *param_1 = 0;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00019120(int *param_1,int *param_2)\n\n{\n  float fVar1;\n  float fVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int unaff_EDI;\n  int iVar11;\n  \n  FUN_0001a21d();\n  iVar9 = *param_1;\n  if (iVar9 != 0) {\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }\n    FUN_00018830(iVar9);\n    iVar11 = 0;\n    iVar7 = 0;\n    iVar9 = *param_1;\njoined_r0x00019172:\n    iVar8 = iVar9;\n    if (iVar8 != 0) {\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }\n    FUN_00018830(iVar7);\n    *(int *)(iVar11 + 0x9c) = *param_2;\n    *param_2 = iVar7;\n    param_1[1] = 0;\n    *param_1 = 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00019120(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  float fVar1;\n  float fVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int unaff_EDI;\n  int iVar11;\n  \n  FUN_0001a21d();\n  iVar9 = *param_1;\n  if (iVar9 != 0) {\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }\n    FUN_00018830(iVar9);\n    iVar11 = 0;\n    iVar7 = 0;\n    iVar9 = *param_1;\njoined_r0x00019172:\n    iVar8 = iVar9;\n    if (iVar8 != 0) {\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }\n    FUN_00018830(iVar7);\n    *(int *)(iVar11 + 0x9c) = *param_2;\n    *param_2 = iVar7;\n    param_1[1] = 0;\n    *param_1 = 0;\n  }\n  return;\n}" { (declaration "float fVar1;" primitive_type identifier ;) (declaration "float fVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * 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 unaff_EDI;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (expression_statement "FUN_0001a21d();" (call_expression "FUN_0001a21d()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar9 = *param_1;" (assignment_expression "iVar9 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar9 != 0) {\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }\n    FUN_00018830(iVar9);\n    iVar11 = 0;\n    iVar7 = 0;\n    iVar9 = *param_1;\njoined_r0x00019172:\n    iVar8 = iVar9;\n    if (iVar8 != 0) {\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }\n    FUN_00018830(iVar7);\n    *(int *)(iVar11 + 0x9c) = *param_2;\n    *param_2 = iVar7;\n    param_1[1] = 0;\n    *param_1 = 0;\n  }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }\n    FUN_00018830(iVar9);\n    iVar11 = 0;\n    iVar7 = 0;\n    iVar9 = *param_1;\njoined_r0x00019172:\n    iVar8 = iVar9;\n    if (iVar8 != 0) {\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }\n    FUN_00018830(iVar7);\n    *(int *)(iVar11 + 0x9c) = *param_2;\n    *param_2 = iVar7;\n    param_1[1] = 0;\n    *param_1 = 0;\n  }" { (if_statement "if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }" if (parenthesized_expression "(("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0)" ( (binary_expression "("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0" (parenthesized_expression "("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U)" ( (binary_expression ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U" (subscript_expression ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d]" (string_literal ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."" " string_content ") [ (binary_expression "unaff_EDI + 0x3d" identifier + number_literal) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }" { (expression_statement "puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);" (assignment_expression "puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" identifier = (pointer_expression "*(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" * (cast_expression "(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "("invalid null argument to -size" + unaff_EDI + 0x1d)" ( (binary_expression ""invalid null argument to -size" + unaff_EDI + 0x1d" (binary_expression ""invalid null argument to -size" + unaff_EDI" (string_literal ""invalid null argument to -size"" " string_content ") + identifier) + number_literal) ))))) ;) (expression_statement "__fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);" (call_expression "__fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI)" identifier (argument_list "(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI)" ( (pointer_expression "*puVar6" * identifier) , number_literal , (binary_expression "&UNK_00036b18 + unaff_EDI" (pointer_expression "&UNK_00036b18" & identifier) + identifier) , (binary_expression "&UNK_00036afd + unaff_EDI" (pointer_expression "&UNK_00036afd" & identifier) + identifier) ))) ;) (expression_statement "FUN_00018d30(*puVar6,*param_1,2);" (call_expression "FUN_00018d30(*puVar6,*param_1,2)" identifier (argument_list "(*puVar6,*param_1,2)" ( (pointer_expression "*puVar6" * identifier) , (pointer_expression "*param_1" * identifier) , number_literal ))) ;) (expression_statement "iVar9 = *param_1;" (assignment_expression "iVar9 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "FUN_00018830(iVar9);" (call_expression "FUN_00018830(iVar9)" identifier (argument_list "(iVar9)" ( identifier ))) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "iVar9 = *param_1;" (assignment_expression "iVar9 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (labeled_statement "joined_r0x00019172:\n    iVar8 = iVar9;" statement_identifier : (expression_statement "iVar8 = iVar9;" (assignment_expression "iVar8 = iVar9" identifier = identifier) ;)) (if_statement "if (iVar8 != 0) {\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }" { (expression_statement "iVar9 = *(int *)(iVar8 + 0x9c);" (assignment_expression "iVar9 = *(int *)(iVar8 + 0x9c)" identifier = (pointer_expression "*(int *)(iVar8 + 0x9c)" * (cast_expression "(int *)(iVar8 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x9c)" ( (binary_expression "iVar8 + 0x9c" identifier + number_literal) ))))) ;) (expression_statement "*param_1 = iVar9;" (assignment_expression "*param_1 = iVar9" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)(iVar8 + 0x9c) = 0;" (assignment_expression "*(undefined4 *)(iVar8 + 0x9c) = 0" (pointer_expression "*(undefined4 *)(iVar8 + 0x9c)" * (cast_expression "(undefined4 *)(iVar8 + 0x9c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x9c)" ( (binary_expression "iVar8 + 0x9c" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }" { (expression_statement "uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);" (assignment_expression "uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18)" identifier = (pointer_expression "*(uint *)(*(int *)(iVar8 + 0xa0) + 0x18)" * (cast_expression "(uint *)(*(int *)(iVar8 + 0xa0) + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar8 + 0xa0) + 0x18)" ( (binary_expression "*(int *)(iVar8 + 0xa0) + 0x18" (pointer_expression "*(int *)(iVar8 + 0xa0)" * (cast_expression "(int *)(iVar8 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0xa0)" ( (binary_expression "iVar8 + 0xa0" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar10 = iVar7;" (assignment_expression "iVar10 = iVar7" identifier = identifier) ;) (do_statement "do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);" do (compound_statement "{\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        }" { (expression_statement "uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);" (assignment_expression "uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18)" identifier = (pointer_expression "*(uint *)(*(int *)(iVar10 + 0xa0) + 0x18)" * (cast_expression "(uint *)(*(int *)(iVar10 + 0xa0) + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar10 + 0xa0) + 0x18)" ( (binary_expression "*(int *)(iVar10 + 0xa0) + 0x18" (pointer_expression "*(int *)(iVar10 + 0xa0)" * (cast_expression "(int *)(iVar10 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xa0)" ( (binary_expression "iVar10 + 0xa0" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }" if (parenthesized_expression "(uVar4 != uVar3)" ( (binary_expression "uVar4 != uVar3" identifier != identifier) )) (compound_statement "{\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }" { (if_statement "if (uVar4 < uVar3) goto LAB_000191f0;" if (parenthesized_expression "(uVar4 < uVar3)" ( (binary_expression "uVar4 < uVar3" identifier < identifier) )) (goto_statement "goto LAB_000191f0;" goto statement_identifier ;)) (labeled_statement "LAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);" statement_identifier : (expression_statement "iVar5 = *(int *)(iVar10 + 0x9c);" (assignment_expression "iVar5 = *(int *)(iVar10 + 0x9c)" identifier = (pointer_expression "*(int *)(iVar10 + 0x9c)" * (cast_expression "(int *)(iVar10 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x9c)" ( (binary_expression "iVar10 + 0x9c" identifier + number_literal) ))))) ;)) (expression_statement "*(int *)(iVar8 + 0x9c) = iVar5;" (assignment_expression "*(int *)(iVar8 + 0x9c) = iVar5" (pointer_expression "*(int *)(iVar8 + 0x9c)" * (cast_expression "(int *)(iVar8 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x9c)" ( (binary_expression "iVar8 + 0x9c" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n              iVar11 = iVar8;\n            }" { (expression_statement "iVar11 = iVar8;" (assignment_expression "iVar11 = iVar8" identifier = identifier) ;) })) (expression_statement "*(int *)(iVar10 + 0x9c) = iVar8;" (assignment_expression "*(int *)(iVar10 + 0x9c) = iVar8" (pointer_expression "*(int *)(iVar10 + 0x9c)" * (cast_expression "(int *)(iVar10 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x9c)" ( (binary_expression "iVar10 + 0x9c" identifier + number_literal) )))) = identifier) ;) (goto_statement "goto joined_r0x00019172;" goto statement_identifier ;) })) (expression_statement "fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);" (assignment_expression "fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c)" identifier = (pointer_expression "*(float *)(*(int *)(iVar10 + 0xa0) + 0x1c)" * (cast_expression "(float *)(*(int *)(iVar10 + 0xa0) + 0x1c)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar10 + 0xa0) + 0x1c)" ( (binary_expression "*(int *)(iVar10 + 0xa0) + 0x1c" (pointer_expression "*(int *)(iVar10 + 0xa0)" * (cast_expression "(int *)(iVar10 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xa0)" ( (binary_expression "iVar10 + 0xa0" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);" (assignment_expression "fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c)" identifier = (pointer_expression "*(float *)(*(int *)(iVar8 + 0xa0) + 0x1c)" * (cast_expression "(float *)(*(int *)(iVar8 + 0xa0) + 0x1c)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar8 + 0xa0) + 0x1c)" ( (binary_expression "*(int *)(iVar8 + 0xa0) + 0x1c" (pointer_expression "*(int *)(iVar8 + 0xa0)" * (cast_expression "(int *)(iVar8 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0xa0)" ( (binary_expression "iVar8 + 0xa0" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (fVar1 == fVar2) goto LAB_0001926c;" if (parenthesized_expression "(fVar1 == fVar2)" ( (binary_expression "fVar1 == fVar2" identifier == identifier) )) (goto_statement "goto LAB_0001926c;" goto statement_identifier ;)) (if_statement "if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;" if (parenthesized_expression "(*(int *)(iVar10 + 0xc) == 2)" ( (binary_expression "*(int *)(iVar10 + 0xc) == 2" (pointer_expression "*(int *)(iVar10 + 0xc)" * (cast_expression "(int *)(iVar10 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xc)" ( (binary_expression "iVar10 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }" { (if_statement "if (fVar1 < fVar2) goto LAB_0001926c;" if (parenthesized_expression "(fVar1 < fVar2)" ( (binary_expression "fVar1 < fVar2" identifier < identifier) )) (goto_statement "goto LAB_0001926c;" goto statement_identifier ;)) }) (else_clause "else if (fVar2 <= fVar1) goto LAB_0001926c;" else (if_statement "if (fVar2 <= fVar1) goto LAB_0001926c;" if (parenthesized_expression "(fVar2 <= fVar1)" ( (binary_expression "fVar2 <= fVar1" identifier <= identifier) )) (goto_statement "goto LAB_0001926c;" goto statement_identifier ;)))) (labeled_statement "LAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);" statement_identifier : (expression_statement "iVar10 = *(int *)(iVar10 + 0x9c);" (assignment_expression "iVar10 = *(int *)(iVar10 + 0x9c)" identifier = (pointer_expression "*(int *)(iVar10 + 0x9c)" * (cast_expression "(int *)(iVar10 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x9c)" ( (binary_expression "iVar10 + 0x9c" identifier + number_literal) ))))) ;)) }) while (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) ;) })) (expression_statement "*(int *)(iVar8 + 0x9c) = iVar7;" (assignment_expression "*(int *)(iVar8 + 0x9c) = iVar7" (pointer_expression "*(int *)(iVar8 + 0x9c)" * (cast_expression "(int *)(iVar8 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x9c)" ( (binary_expression "iVar8 + 0x9c" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar7 = iVar8;" (assignment_expression "iVar7 = iVar8" identifier = identifier) ;) (if_statement "if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar11 = iVar8;\n      }" { (expression_statement "iVar11 = iVar8;" (assignment_expression "iVar11 = iVar8" identifier = identifier) ;) })) (goto_statement "goto joined_r0x00019172;" goto statement_identifier ;) })) (if_statement "if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }" if (parenthesized_expression "(("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0)" ( (binary_expression "("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0" (parenthesized_expression "("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U)" ( (binary_expression ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U" (subscript_expression ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d]" (string_literal ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."" " string_content ") [ (binary_expression "unaff_EDI + 0x3d" identifier + number_literal) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }" { (expression_statement "puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);" (assignment_expression "puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" identifier = (pointer_expression "*(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" * (cast_expression "(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "("invalid null argument to -size" + unaff_EDI + 0x1d)" ( (binary_expression ""invalid null argument to -size" + unaff_EDI + 0x1d" (binary_expression ""invalid null argument to -size" + unaff_EDI" (string_literal ""invalid null argument to -size"" " string_content ") + identifier) + number_literal) ))))) ;) (expression_statement "__fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);" (call_expression "__fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI)" identifier (argument_list "(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI)" ( (pointer_expression "*puVar6" * identifier) , number_literal , (binary_expression "&UNK_00036b18 + unaff_EDI" (pointer_expression "&UNK_00036b18" & identifier) + identifier) , (binary_expression "&UNK_00036b1d + unaff_EDI" (pointer_expression "&UNK_00036b1d" & identifier) + identifier) ))) ;) (expression_statement "FUN_00018d30(*puVar6,iVar7,2);" (call_expression "FUN_00018d30(*puVar6,iVar7,2)" identifier (argument_list "(*puVar6,iVar7,2)" ( (pointer_expression "*puVar6" * identifier) , identifier , number_literal ))) ;) })) (expression_statement "FUN_00018830(iVar7);" (call_expression "FUN_00018830(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "*(int *)(iVar11 + 0x9c) = *param_2;" (assignment_expression "*(int *)(iVar11 + 0x9c) = *param_2" (pointer_expression "*(int *)(iVar11 + 0x9c)" * (cast_expression "(int *)(iVar11 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x9c)" ( (binary_expression "iVar11 + 0x9c" identifier + number_literal) )))) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_2 = iVar7;" (assignment_expression "*param_2 = iVar7" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (string_literal " string_content ") [ (binary_expression IDENT + LIT) ]) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (string_literal " string_content ") + IDENT) + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , LIT , (binary_expression (pointer_expression & IDENT) + IDENT) , (binary_expression (pointer_expression & IDENT) + IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (pointer_expression * IDENT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (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 IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = 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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (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) ))))) ;)) (expression_statement (assignment_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 == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (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 IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)))) (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) ))))) ;)) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (string_literal " string_content ") [ (binary_expression IDENT + LIT) ]) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (string_literal " string_content ") + IDENT) + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , LIT , (binary_expression (pointer_expression & IDENT) + IDENT) , (binary_expression (pointer_expression & IDENT) + IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT , LIT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00019120(int *param_1,int *param_2)\n\n{\n  float fVar1;\n  float fVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int unaff_EDI;\n  int iVar11;\n  \n  FUN_0001a21d();\n  iVar9 = *param_1;\n  if (iVar9 != 0) {\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }\n    FUN_00018830(iVar9);\n    iVar11 = 0;\n    iVar7 = 0;\n    iVar9 = *param_1;\njoined_r0x00019172:\n    iVar8 = iVar9;\n    if (iVar8 != 0) {\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }\n    FUN_00018830(iVar7);\n    *(int *)(iVar11 + 0x9c) = *param_2;\n    *param_2 = iVar7;\n    param_1[1] = 0;\n    *param_1 = 0;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00019120(int *param_1,int *param_2)" (identifier "FUN_00019120") (parameter_list "(int *param_1,int *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  float fVar1;\n  float fVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int unaff_EDI;\n  int iVar11;\n  \n  FUN_0001a21d();\n  iVar9 = *param_1;\n  if (iVar9 != 0) {\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }\n    FUN_00018830(iVar9);\n    iVar11 = 0;\n    iVar7 = 0;\n    iVar9 = *param_1;\njoined_r0x00019172:\n    iVar8 = iVar9;\n    if (iVar8 != 0) {\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }\n    FUN_00018830(iVar7);\n    *(int *)(iVar11 + 0x9c) = *param_2;\n    *param_2 = iVar7;\n    param_1[1] = 0;\n    *param_1 = 0;\n  }\n  return;\n}" ({ "{") (declaration "float fVar1;" (primitive_type "float") (identifier "fVar1") (; ";")) (declaration "float fVar2;" (primitive_type "float") (identifier "fVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (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 unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (expression_statement "FUN_0001a21d();" (call_expression "FUN_0001a21d()" (identifier "FUN_0001a21d") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar9 = *param_1;" (assignment_expression "iVar9 = *param_1" (identifier "iVar9") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (iVar9 != 0) {\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }\n    FUN_00018830(iVar9);\n    iVar11 = 0;\n    iVar7 = 0;\n    iVar9 = *param_1;\njoined_r0x00019172:\n    iVar8 = iVar9;\n    if (iVar8 != 0) {\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }\n    FUN_00018830(iVar7);\n    *(int *)(iVar11 + 0x9c) = *param_2;\n    *param_2 = iVar7;\n    param_1[1] = 0;\n    *param_1 = 0;\n  }" (if "if") (parenthesized_expression "(iVar9 != 0)" (( "(") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }\n    FUN_00018830(iVar9);\n    iVar11 = 0;\n    iVar7 = 0;\n    iVar9 = *param_1;\njoined_r0x00019172:\n    iVar8 = iVar9;\n    if (iVar8 != 0) {\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }\n    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }\n    FUN_00018830(iVar7);\n    *(int *)(iVar11 + 0x9c) = *param_2;\n    *param_2 = iVar7;\n    param_1[1] = 0;\n    *param_1 = 0;\n  }" ({ "{") (if_statement "if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }" (if "if") (parenthesized_expression "(("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0)" (( "(") (binary_expression "("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0" (parenthesized_expression "("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U)" (( "(") (binary_expression ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U" (subscript_expression ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d]" (string_literal ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."" (" """) (string_content "File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem.") (" """)) ([ "[") (binary_expression "unaff_EDI + 0x3d" (identifier "unaff_EDI") (+ "+") (number_literal "0x3d")) (] "]")) (& "&") (number_literal "8U")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);\n      FUN_00018d30(*puVar6,*param_1,2);\n      iVar9 = *param_1;\n    }" ({ "{") (expression_statement "puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);" (assignment_expression "puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" (identifier "puVar6") (= "=") (pointer_expression "*(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" (* "*") (cast_expression "(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "("invalid null argument to -size" + unaff_EDI + 0x1d)" (( "(") (binary_expression ""invalid null argument to -size" + unaff_EDI + 0x1d" (binary_expression ""invalid null argument to -size" + unaff_EDI" (string_literal ""invalid null argument to -size"" (" """) (string_content "invalid null argument to -size") (" """)) (+ "+") (identifier "unaff_EDI")) (+ "+") (number_literal "0x1d")) () ")"))))) (; ";")) (expression_statement "__fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);" (call_expression "__fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI)" (identifier "__fprintf_chk") (argument_list "(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI)" (( "(") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (, ",") (number_literal "1") (, ",") (binary_expression "&UNK_00036b18 + unaff_EDI" (pointer_expression "&UNK_00036b18" (& "&") (identifier "UNK_00036b18")) (+ "+") (identifier "unaff_EDI")) (, ",") (binary_expression "&UNK_00036afd + unaff_EDI" (pointer_expression "&UNK_00036afd" (& "&") (identifier "UNK_00036afd")) (+ "+") (identifier "unaff_EDI")) () ")"))) (; ";")) (expression_statement "FUN_00018d30(*puVar6,*param_1,2);" (call_expression "FUN_00018d30(*puVar6,*param_1,2)" (identifier "FUN_00018d30") (argument_list "(*puVar6,*param_1,2)" (( "(") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (number_literal "2") () ")"))) (; ";")) (expression_statement "iVar9 = *param_1;" (assignment_expression "iVar9 = *param_1" (identifier "iVar9") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}"))) (expression_statement "FUN_00018830(iVar9);" (call_expression "FUN_00018830(iVar9)" (identifier "FUN_00018830") (argument_list "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";")) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar9 = *param_1;" (assignment_expression "iVar9 = *param_1" (identifier "iVar9") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (labeled_statement "joined_r0x00019172:\n    iVar8 = iVar9;" (statement_identifier "joined_r0x00019172") (: ":") (expression_statement "iVar8 = iVar9;" (assignment_expression "iVar8 = iVar9" (identifier "iVar8") (= "=") (identifier "iVar9")) (; ";"))) (if_statement "if (iVar8 != 0) {\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }" (if "if") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar9 = *(int *)(iVar8 + 0x9c);\n      *param_1 = iVar9;\n      *(undefined4 *)(iVar8 + 0x9c) = 0;\n      if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }\n      *(int *)(iVar8 + 0x9c) = iVar7;\n      iVar7 = iVar8;\n      if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }\n      goto joined_r0x00019172;\n    }" ({ "{") (expression_statement "iVar9 = *(int *)(iVar8 + 0x9c);" (assignment_expression "iVar9 = *(int *)(iVar8 + 0x9c)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(iVar8 + 0x9c)" (* "*") (cast_expression "(int *)(iVar8 + 0x9c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0x9c)" (( "(") (binary_expression "iVar8 + 0x9c" (identifier "iVar8") (+ "+") (number_literal "0x9c")) () ")"))))) (; ";")) (expression_statement "*param_1 = iVar9;" (assignment_expression "*param_1 = iVar9" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "*(undefined4 *)(iVar8 + 0x9c) = 0;" (assignment_expression "*(undefined4 *)(iVar8 + 0x9c) = 0" (pointer_expression "*(undefined4 *)(iVar8 + 0x9c)" (* "*") (cast_expression "(undefined4 *)(iVar8 + 0x9c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0x9c)" (( "(") (binary_expression "iVar8 + 0x9c" (identifier "iVar8") (+ "+") (number_literal "0x9c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar7 != 0) {\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);\n        iVar10 = iVar7;\n        do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);\n      }" ({ "{") (expression_statement "uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);" (assignment_expression "uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(*(int *)(iVar8 + 0xa0) + 0x18)" (* "*") (cast_expression "(uint *)(*(int *)(iVar8 + 0xa0) + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar8 + 0xa0) + 0x18)" (( "(") (binary_expression "*(int *)(iVar8 + 0xa0) + 0x18" (pointer_expression "*(int *)(iVar8 + 0xa0)" (* "*") (cast_expression "(int *)(iVar8 + 0xa0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0xa0)" (( "(") (binary_expression "iVar8 + 0xa0" (identifier "iVar8") (+ "+") (number_literal "0xa0")) () ")")))) (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "iVar10 = iVar7;" (assignment_expression "iVar10 = iVar7" (identifier "iVar10") (= "=") (identifier "iVar7")) (; ";")) (do_statement "do {\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        } while (iVar10 != 0);" (do "do") (compound_statement "{\n          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);\n          if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }\n          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);\n          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);\n          if (fVar1 == fVar2) goto LAB_0001926c;\n          if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;\nLAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);\n        }" ({ "{") (expression_statement "uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);" (assignment_expression "uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(*(int *)(iVar10 + 0xa0) + 0x18)" (* "*") (cast_expression "(uint *)(*(int *)(iVar10 + 0xa0) + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar10 + 0xa0) + 0x18)" (( "(") (binary_expression "*(int *)(iVar10 + 0xa0) + 0x18" (pointer_expression "*(int *)(iVar10 + 0xa0)" (* "*") (cast_expression "(int *)(iVar10 + 0xa0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0xa0)" (( "(") (binary_expression "iVar10 + 0xa0" (identifier "iVar10") (+ "+") (number_literal "0xa0")) () ")")))) (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (uVar4 != uVar3) {\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }" (if "if") (parenthesized_expression "(uVar4 != uVar3)" (( "(") (binary_expression "uVar4 != uVar3" (identifier "uVar4") (!= "!=") (identifier "uVar3")) () ")")) (compound_statement "{\n            if (uVar4 < uVar3) goto LAB_000191f0;\nLAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);\n            *(int *)(iVar8 + 0x9c) = iVar5;\n            if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }\n            *(int *)(iVar10 + 0x9c) = iVar8;\n            goto joined_r0x00019172;\n          }" ({ "{") (if_statement "if (uVar4 < uVar3) goto LAB_000191f0;" (if "if") (parenthesized_expression "(uVar4 < uVar3)" (( "(") (binary_expression "uVar4 < uVar3" (identifier "uVar4") (< "<") (identifier "uVar3")) () ")")) (goto_statement "goto LAB_000191f0;" (goto "goto") (statement_identifier "LAB_000191f0") (; ";"))) (labeled_statement "LAB_0001926c:\n            iVar5 = *(int *)(iVar10 + 0x9c);" (statement_identifier "LAB_0001926c") (: ":") (expression_statement "iVar5 = *(int *)(iVar10 + 0x9c);" (assignment_expression "iVar5 = *(int *)(iVar10 + 0x9c)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar10 + 0x9c)" (* "*") (cast_expression "(int *)(iVar10 + 0x9c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x9c)" (( "(") (binary_expression "iVar10 + 0x9c" (identifier "iVar10") (+ "+") (number_literal "0x9c")) () ")"))))) (; ";"))) (expression_statement "*(int *)(iVar8 + 0x9c) = iVar5;" (assignment_expression "*(int *)(iVar8 + 0x9c) = iVar5" (pointer_expression "*(int *)(iVar8 + 0x9c)" (* "*") (cast_expression "(int *)(iVar8 + 0x9c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0x9c)" (( "(") (binary_expression "iVar8 + 0x9c" (identifier "iVar8") (+ "+") (number_literal "0x9c")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (if_statement "if (iVar5 == 0) {\n              iVar11 = iVar8;\n            }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              iVar11 = iVar8;\n            }" ({ "{") (expression_statement "iVar11 = iVar8;" (assignment_expression "iVar11 = iVar8" (identifier "iVar11") (= "=") (identifier "iVar8")) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar10 + 0x9c) = iVar8;" (assignment_expression "*(int *)(iVar10 + 0x9c) = iVar8" (pointer_expression "*(int *)(iVar10 + 0x9c)" (* "*") (cast_expression "(int *)(iVar10 + 0x9c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x9c)" (( "(") (binary_expression "iVar10 + 0x9c" (identifier "iVar10") (+ "+") (number_literal "0x9c")) () ")")))) (= "=") (identifier "iVar8")) (; ";")) (goto_statement "goto joined_r0x00019172;" (goto "goto") (statement_identifier "joined_r0x00019172") (; ";")) (} "}"))) (expression_statement "fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);" (assignment_expression "fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c)" (identifier "fVar1") (= "=") (pointer_expression "*(float *)(*(int *)(iVar10 + 0xa0) + 0x1c)" (* "*") (cast_expression "(float *)(*(int *)(iVar10 + 0xa0) + 0x1c)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar10 + 0xa0) + 0x1c)" (( "(") (binary_expression "*(int *)(iVar10 + 0xa0) + 0x1c" (pointer_expression "*(int *)(iVar10 + 0xa0)" (* "*") (cast_expression "(int *)(iVar10 + 0xa0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0xa0)" (( "(") (binary_expression "iVar10 + 0xa0" (identifier "iVar10") (+ "+") (number_literal "0xa0")) () ")")))) (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);" (assignment_expression "fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c)" (identifier "fVar2") (= "=") (pointer_expression "*(float *)(*(int *)(iVar8 + 0xa0) + 0x1c)" (* "*") (cast_expression "(float *)(*(int *)(iVar8 + 0xa0) + 0x1c)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar8 + 0xa0) + 0x1c)" (( "(") (binary_expression "*(int *)(iVar8 + 0xa0) + 0x1c" (pointer_expression "*(int *)(iVar8 + 0xa0)" (* "*") (cast_expression "(int *)(iVar8 + 0xa0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0xa0)" (( "(") (binary_expression "iVar8 + 0xa0" (identifier "iVar8") (+ "+") (number_literal "0xa0")) () ")")))) (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (fVar1 == fVar2) goto LAB_0001926c;" (if "if") (parenthesized_expression "(fVar1 == fVar2)" (( "(") (binary_expression "fVar1 == fVar2" (identifier "fVar1") (== "==") (identifier "fVar2")) () ")")) (goto_statement "goto LAB_0001926c;" (goto "goto") (statement_identifier "LAB_0001926c") (; ";"))) (if_statement "if (*(int *)(iVar10 + 0xc) == 2) {\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }\n          else if (fVar2 <= fVar1) goto LAB_0001926c;" (if "if") (parenthesized_expression "(*(int *)(iVar10 + 0xc) == 2)" (( "(") (binary_expression "*(int *)(iVar10 + 0xc) == 2" (pointer_expression "*(int *)(iVar10 + 0xc)" (* "*") (cast_expression "(int *)(iVar10 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0xc)" (( "(") (binary_expression "iVar10 + 0xc" (identifier "iVar10") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n            if (fVar1 < fVar2) goto LAB_0001926c;\n          }" ({ "{") (if_statement "if (fVar1 < fVar2) goto LAB_0001926c;" (if "if") (parenthesized_expression "(fVar1 < fVar2)" (( "(") (binary_expression "fVar1 < fVar2" (identifier "fVar1") (< "<") (identifier "fVar2")) () ")")) (goto_statement "goto LAB_0001926c;" (goto "goto") (statement_identifier "LAB_0001926c") (; ";"))) (} "}")) (else_clause "else if (fVar2 <= fVar1) goto LAB_0001926c;" (else "else") (if_statement "if (fVar2 <= fVar1) goto LAB_0001926c;" (if "if") (parenthesized_expression "(fVar2 <= fVar1)" (( "(") (binary_expression "fVar2 <= fVar1" (identifier "fVar2") (<= "<=") (identifier "fVar1")) () ")")) (goto_statement "goto LAB_0001926c;" (goto "goto") (statement_identifier "LAB_0001926c") (; ";"))))) (labeled_statement "LAB_000191f0:\n          iVar10 = *(int *)(iVar10 + 0x9c);" (statement_identifier "LAB_000191f0") (: ":") (expression_statement "iVar10 = *(int *)(iVar10 + 0x9c);" (assignment_expression "iVar10 = *(int *)(iVar10 + 0x9c)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(iVar10 + 0x9c)" (* "*") (cast_expression "(int *)(iVar10 + 0x9c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x9c)" (( "(") (binary_expression "iVar10 + 0x9c" (identifier "iVar10") (+ "+") (number_literal "0x9c")) () ")"))))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar8 + 0x9c) = iVar7;" (assignment_expression "*(int *)(iVar8 + 0x9c) = iVar7" (pointer_expression "*(int *)(iVar8 + 0x9c)" (* "*") (cast_expression "(int *)(iVar8 + 0x9c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0x9c)" (( "(") (binary_expression "iVar8 + 0x9c" (identifier "iVar8") (+ "+") (number_literal "0x9c")) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "iVar7 = iVar8;" (assignment_expression "iVar7 = iVar8" (identifier "iVar7") (= "=") (identifier "iVar8")) (; ";")) (if_statement "if (iVar11 == 0) {\n        iVar11 = iVar8;\n      }" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar11 = iVar8;\n      }" ({ "{") (expression_statement "iVar11 = iVar8;" (assignment_expression "iVar11 = iVar8" (identifier "iVar11") (= "=") (identifier "iVar8")) (; ";")) (} "}"))) (goto_statement "goto joined_r0x00019172;" (goto "goto") (statement_identifier "joined_r0x00019172") (; ";")) (} "}"))) (if_statement "if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0) {\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }" (if "if") (parenthesized_expression "(("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0)" (( "(") (binary_expression "("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U) != 0" (parenthesized_expression "("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U)" (( "(") (binary_expression ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d] & 8U" (subscript_expression ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."\n         [unaff_EDI + 0x3d]" (string_literal ""File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."" (" """) (string_content "File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem.") (" """)) ([ "[") (binary_expression "unaff_EDI + 0x3d" (identifier "unaff_EDI") (+ "+") (number_literal "0x3d")) (] "]")) (& "&") (number_literal "8U")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);\n      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);\n      FUN_00018d30(*puVar6,iVar7,2);\n    }" ({ "{") (expression_statement "puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);" (assignment_expression "puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" (identifier "puVar6") (= "=") (pointer_expression "*(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" (* "*") (cast_expression "(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "("invalid null argument to -size" + unaff_EDI + 0x1d)" (( "(") (binary_expression ""invalid null argument to -size" + unaff_EDI + 0x1d" (binary_expression ""invalid null argument to -size" + unaff_EDI" (string_literal ""invalid null argument to -size"" (" """) (string_content "invalid null argument to -size") (" """)) (+ "+") (identifier "unaff_EDI")) (+ "+") (number_literal "0x1d")) () ")"))))) (; ";")) (expression_statement "__fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);" (call_expression "__fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI)" (identifier "__fprintf_chk") (argument_list "(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI)" (( "(") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (, ",") (number_literal "1") (, ",") (binary_expression "&UNK_00036b18 + unaff_EDI" (pointer_expression "&UNK_00036b18" (& "&") (identifier "UNK_00036b18")) (+ "+") (identifier "unaff_EDI")) (, ",") (binary_expression "&UNK_00036b1d + unaff_EDI" (pointer_expression "&UNK_00036b1d" (& "&") (identifier "UNK_00036b1d")) (+ "+") (identifier "unaff_EDI")) () ")"))) (; ";")) (expression_statement "FUN_00018d30(*puVar6,iVar7,2);" (call_expression "FUN_00018d30(*puVar6,iVar7,2)" (identifier "FUN_00018d30") (argument_list "(*puVar6,iVar7,2)" (( "(") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (, ",") (identifier "iVar7") (, ",") (number_literal "2") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00018830(iVar7);" (call_expression "FUN_00018830(iVar7)" (identifier "FUN_00018830") (argument_list "(iVar7)" (( "(") (identifier "iVar7") () ")"))) (; ";")) (expression_statement "*(int *)(iVar11 + 0x9c) = *param_2;" (assignment_expression "*(int *)(iVar11 + 0x9c) = *param_2" (pointer_expression "*(int *)(iVar11 + 0x9c)" (* "*") (cast_expression "(int *)(iVar11 + 0x9c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x9c)" (( "(") (binary_expression "iVar11 + 0x9c" (identifier "iVar11") (+ "+") (number_literal "0x9c")) () ")")))) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*param_2 = iVar7;" (assignment_expression "*param_2 = iVar7" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 *list,type_2 **last)

{
  float var_12;
  float var_13;
  type_3 var_10;
  type_3 var_9;
  type_2 *var_11;
  type_4 *puVar6;
  type_2 *var_8;
  type_2 *var_7;
  type_2 *var_2;
  type_2 *var_15;
  int var_3;
  type_2 *var_16;
  
  var_1();
  var_2 = list->head;
  if (var_2 != (type_2 *)0x0) {
    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."
         [var_3 + 0x3d] & 8U) != 0) {
      puVar6 = *(type_4 **)("invalid null argument to -size" + var_3 + 0x1d);
      var_4(*puVar6,1,var_3 + 0x36b18,var_3 + 0x36afd);
      var_5((type_5 *)*puVar6,list->head,2);
      var_2 = list->head;
    }
    var_6(var_2);
    var_16 = (type_2 *)0x0;
    var_8 = (type_2 *)0x0;
    var_2 = list->head;
joined_r0x00019172:
    var_7 = var_2;
    if (var_7 != (type_2 *)0x0) {
      var_2 = var_7->pred_left;
      list->head = var_2;
      var_7->pred_left = (type_2 *)0x0;
      if (var_8 != (type_2 *)0x0) {
        var_10 = var_7->pred_right->p_cost;
        var_15 = var_8;
        do {
          var_9 = var_15->pred_right->p_cost;
          if (var_9 != var_10) {
            if (var_9 < var_10) goto LAB_000191f0;
LAB_0001926c:
            var_11 = var_15->pred_left;
            var_7->pred_left = var_11;
            if (var_11 == (type_2 *)0x0) {
              var_16 = var_7;
            }
            var_15->pred_left = var_7;
            goto joined_r0x00019172;
          }
          var_12 = var_15->pred_right->est_success_rate;
          var_13 = var_7->pred_right->est_success_rate;
          if (var_12 == var_13) goto LAB_0001926c;
          if (var_15->p_prec == var_14) {
            if (var_12 < var_13) goto LAB_0001926c;
          }
          else if (var_13 <= var_12) goto LAB_0001926c;
LAB_000191f0:
          var_15 = var_15->pred_left;
        } while (var_15 != (type_2 *)0x0);
      }
      var_7->pred_left = var_8;
      var_8 = var_7;
      if (var_16 == (type_2 *)0x0) {
        var_16 = var_7;
      }
      goto joined_r0x00019172;
    }
    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."
         [var_3 + 0x3d] & 8U) != 0) {
      puVar6 = *(type_4 **)("invalid null argument to -size" + var_3 + 0x1d);
      var_4(*puVar6,1,var_3 + 0x36b18,var_3 + 0x36b1d);
      var_5((type_5 *)*puVar6,var_8,2);
    }
    var_6(var_8);
    var_16->pred_left = *last;
    *last = var_8;
    list->tail = (type_2 *)0x0;
    list->head = (type_2 *)0x0;
  }
  return;
}


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

void MASKED(int *param_1,int *param_2)

{
  float fVar1;
  float fVar2;
  uint uVar3;
  uint uVar4;
  int iVar5;
  undefined4 *puVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int unaff_EDI;
  int iVar11;
  
  FUN_0001a21d();
  iVar9 = *param_1;
  if (iVar9 != 0) {
    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."
         [unaff_EDI + 0x3d] & 8U) != 0) {
      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);
      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036afd + unaff_EDI);
      FUN_00018d30(*puVar6,*param_1,2);
      iVar9 = *param_1;
    }
    FUN_00018830(iVar9);
    iVar11 = 0;
    iVar7 = 0;
    iVar9 = *param_1;
joined_r0x00019172:
    iVar8 = iVar9;
    if (iVar8 != 0) {
      iVar9 = *(int *)(iVar8 + 0x9c);
      *param_1 = iVar9;
      *(undefined4 *)(iVar8 + 0x9c) = 0;
      if (iVar7 != 0) {
        uVar3 = *(uint *)(*(int *)(iVar8 + 0xa0) + 0x18);
        iVar10 = iVar7;
        do {
          uVar4 = *(uint *)(*(int *)(iVar10 + 0xa0) + 0x18);
          if (uVar4 != uVar3) {
            if (uVar4 < uVar3) goto LAB_000191f0;
LAB_0001926c:
            iVar5 = *(int *)(iVar10 + 0x9c);
            *(int *)(iVar8 + 0x9c) = iVar5;
            if (iVar5 == 0) {
              iVar11 = iVar8;
            }
            *(int *)(iVar10 + 0x9c) = iVar8;
            goto joined_r0x00019172;
          }
          fVar1 = *(float *)(*(int *)(iVar10 + 0xa0) + 0x1c);
          fVar2 = *(float *)(*(int *)(iVar8 + 0xa0) + 0x1c);
          if (fVar1 == fVar2) goto LAB_0001926c;
          if (*(int *)(iVar10 + 0xc) == 2) {
            if (fVar1 < fVar2) goto LAB_0001926c;
          }
          else if (fVar2 <= fVar1) goto LAB_0001926c;
LAB_000191f0:
          iVar10 = *(int *)(iVar10 + 0x9c);
        } while (iVar10 != 0);
      }
      *(int *)(iVar8 + 0x9c) = iVar7;
      iVar7 = iVar8;
      if (iVar11 == 0) {
        iVar11 = iVar8;
      }
      goto joined_r0x00019172;
    }
    if (("File descriptor %d will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem."
         [unaff_EDI + 0x3d] & 8U) != 0) {
      puVar6 = *(undefined4 **)("invalid null argument to -size" + unaff_EDI + 0x1d);
      __fprintf_chk(*puVar6,1,&UNK_00036b18 + unaff_EDI,&UNK_00036b1d + unaff_EDI);
      FUN_00018d30(*puVar6,iVar7,2);
    }
    FUN_00018830(iVar7);
    *(int *)(iVar11 + 0x9c) = *param_2;
    *param_2 = iVar7;
    param_1[1] = 0;
    *param_1 = 0;
  }
  return;
}

