
void linked_list_iterate(linked_list **plist,_func_int_void_ptr_void_ptr *itr,void *data)

{
  undefined *puVar1;
  linked_list *plVar2;
  int iVar3;
  linked_list_entry *plVar4;
  linked_list *plist_00;
  linked_list_entry *ent;
  linked_list_entry *plVar5;
  linked_list *list;
  linked_list_entry *local_24;
  
  puVar1 = PTR___stack_chk_guard_00045cc8;
  plVar2 = *plist;
  local_24 = *(linked_list_entry **)PTR___stack_chk_guard_00045cc8;
  plist_00 = (linked_list *)plist;
  plVar4 = (linked_list_entry *)itr;
  if (plVar2 != (linked_list *)0x0) {
    ent = plVar2->head;
    list = plVar2;
    if (plVar2->head != (linked_list_entry *)0x0) {
      do {
        while( true ) {
          plist_00 = (linked_list *)ent->data;
          plVar5 = ent->next;
          plVar4 = (linked_list_entry *)data;
          iVar3 = (*itr)(plist_00,data);
          if (iVar3 == 0) break;
          plist_00 = list;
          linked_list_unlink(list,ent);
          plVar4 = ent;
          ent = plVar5;
          if (plVar5 == (linked_list_entry *)0x0) goto LAB_00018750;
        }
        ent = plVar5;
      } while (plVar5 != (linked_list_entry *)0x0);
LAB_00018750:
      itr = (_func_int_void_ptr_void_ptr *)plVar4;
      if (list->head != (linked_list_entry *)0x0) {
        *plist = list;
        goto LAB_00018764;
      }
    }
    plist_00 = (linked_list *)&list;
    linked_list_destroy((linked_list **)plist_00);
    *plist = list;
    plVar4 = (linked_list_entry *)itr;
  }
LAB_00018764:
  if (local_24 == *(linked_list_entry **)puVar1) {
    return;
  }
  (*(code *)PTR___stack_chk_fail_00045ca8)();
  if ((plVar4 != (linked_list_entry *)0x0) &&
     (plVar4 = plVar4->prev, plVar4 != (linked_list_entry *)0x0)) {
    if (plist_00 == (linked_list *)plVar4->data) {
      return;
    }
    do {
      plVar4 = plVar4->next;
      if (plVar4 == (linked_list_entry *)0x0) {
        return;
      }
    } while ((linked_list *)plVar4->data != plist_00);
    return;
  }
  return;
}



int linked_list_iterate(int *****param_1,int ****param_2,int ****param_3)

{
  undefined *puVar1;
  int *****pppppiVar2;
  int iVar3;
  int ***pppiVar4;
  int *****pppppiVar5;
  int ****ppppiVar6;
  int ****ppppiVar7;
  int ****ppppiVar8;
  int ****local_28;
  int local_24;
  
  puVar1 = PTR___stack_chk_guard_00045cc8;
  pppppiVar2 = (int *****)*param_1;
  local_24 = *(int *)PTR___stack_chk_guard_00045cc8;
  pppppiVar5 = param_1;
  ppppiVar6 = param_2;
  if (pppppiVar2 != (int *****)0x0) {
    ppppiVar7 = pppppiVar2[1];
    local_28 = (int ****)pppppiVar2;
    if (pppppiVar2[1] != (int ****)0x0) {
      do {
        while( true ) {
          pppppiVar5 = (int *****)ppppiVar7[3];
          ppppiVar8 = (int ****)*ppppiVar7;
          ppppiVar6 = param_3;
          iVar3 = (*(code *)param_2)();
          if (iVar3 == 0) break;
          pppppiVar5 = (int *****)local_28;
          linked_list_unlink();
          ppppiVar6 = ppppiVar7;
          ppppiVar7 = ppppiVar8;
          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;
        }
        ppppiVar7 = ppppiVar8;
      } while (ppppiVar8 != (int ****)0x0);
LAB_00018750:
      param_2 = ppppiVar6;
      if ((int ****)local_28[1] != (int ****)0x0) {
        *param_1 = local_28;
        goto LAB_00018764;
      }
    }
    pppppiVar5 = &local_28;
    linked_list_destroy();
    *param_1 = local_28;
    ppppiVar6 = param_2;
  }
LAB_00018764:
  if (local_24 == *(int *)puVar1) {
    return *(int *)puVar1;
  }
  (*(code *)PTR___stack_chk_fail_00045ca8)();
  if ((ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)) {
    if (pppppiVar5 == (int *****)pppiVar4[3]) {
      return 1;
    }
    do {
      pppiVar4 = (int ***)*pppiVar4;
      if (pppiVar4 == (int ***)0x0) {
        return 0;
      }
    } while ((int *****)pppiVar4[3] != pppppiVar5);
    return 1;
  }
  return 0;
}


lui gp,0x3
addiu gp,gp,0x518c
addu gp,gp,t9
addiu sp,sp,-0x40
lw v0,0x0(a0)
sw s5,0x34(sp)
lw s5,-0x7b68(gp)
sw gp,0x10(sp)
sw ra,0x3c(sp)
sw s6,0x38(sp)
sw s4,0x30(sp)
sw s3,0x2c(sp)
sw s2,0x28(sp)
sw s1,0x24(sp)
sw s0,0x20(sp)
lw v1,0x0(s5)
sw v1,0x1c(sp)
beq v0,zero,0x00018764
_or s6,a0,zero
lw s0,0x4(v0)
or s2,a1,zero
lw s4,-0x7f08(gp)
or s3,a2,zero
bne s0,zero,0x00018718
_sw v0,0x18(sp)
b 0x00018798
_lw t9,-0x7e5c(gp)
beq s1,zero,0x00018750
_or s0,s1,zero
lw a0,0xc(s0)
or a1,s3,zero
or t9,s2,zero
jalr t9
_lw s1,0x0(s0)
beq v0,zero,0x00018710
_lw gp,0x10(sp)
lw a0,0x18(sp)
or a1,s0,zero
or t9,s4,zero
bal 0x00018624
_or s0,s1,zero
bne s1,zero,0x00018718
_lw gp,0x10(sp)
lw v0,0x18(sp)
lw v1,0x4(v0)
beq v1,zero,0x00018798
_lw t9,-0x7e5c(gp)
sw v0,0x0(s6)
lw v1,0x1c(sp)
lw v0,0x0(s5)
bne v1,v0,0x000187b0
_lw ra,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x40
bal 0x00018578
_addiu a0,sp,0x18
lw v0,0x18(sp)
lw gp,0x10(sp)
b 0x00018764
_sw v0,0x0(s6)
lw t9,-0x7b88(gp)
jalr t9
_nop
(translation_unit "int linked_list_iterate(int *****param_1,int ****param_2,int ****param_3)\n\n{\n  undefined *puVar1;\n  int *****pppppiVar2;\n  int iVar3;\n  int ***pppiVar4;\n  int *****pppppiVar5;\n  int ****ppppiVar6;\n  int ****ppppiVar7;\n  int ****ppppiVar8;\n  int ****local_28;\n  int local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00045cc8;\n  pppppiVar2 = (int *****)*param_1;\n  local_24 = *(int *)PTR___stack_chk_guard_00045cc8;\n  pppppiVar5 = param_1;\n  ppppiVar6 = param_2;\n  if (pppppiVar2 != (int *****)0x0) {\n    ppppiVar7 = pppppiVar2[1];\n    local_28 = (int ****)pppppiVar2;\n    if (pppppiVar2[1] != (int ****)0x0) {\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }\n    pppppiVar5 = &local_28;\n    linked_list_destroy();\n    *param_1 = local_28;\n    ppppiVar6 = param_2;\n  }\nLAB_00018764:\n  if (local_24 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_00045ca8)();\n  if ((ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)) {\n    if (pppppiVar5 == (int *****)pppiVar4[3]) {\n      return 1;\n    }\n    do {\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    } while ((int *****)pppiVar4[3] != pppppiVar5);\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "int linked_list_iterate(int *****param_1,int ****param_2,int ****param_3)\n\n{\n  undefined *puVar1;\n  int *****pppppiVar2;\n  int iVar3;\n  int ***pppiVar4;\n  int *****pppppiVar5;\n  int ****ppppiVar6;\n  int ****ppppiVar7;\n  int ****ppppiVar8;\n  int ****local_28;\n  int local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00045cc8;\n  pppppiVar2 = (int *****)*param_1;\n  local_24 = *(int *)PTR___stack_chk_guard_00045cc8;\n  pppppiVar5 = param_1;\n  ppppiVar6 = param_2;\n  if (pppppiVar2 != (int *****)0x0) {\n    ppppiVar7 = pppppiVar2[1];\n    local_28 = (int ****)pppppiVar2;\n    if (pppppiVar2[1] != (int ****)0x0) {\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }\n    pppppiVar5 = &local_28;\n    linked_list_destroy();\n    *param_1 = local_28;\n    ppppiVar6 = param_2;\n  }\nLAB_00018764:\n  if (local_24 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_00045ca8)();\n  if ((ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)) {\n    if (pppppiVar5 == (int *****)pppiVar4[3]) {\n      return 1;\n    }\n    do {\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    } while ((int *****)pppiVar4[3] != pppppiVar5);\n    return 1;\n  }\n  return 0;\n}" primitive_type (function_declarator "linked_list_iterate(int *****param_1,int ****param_2,int ****param_3)" identifier (parameter_list "(int *****param_1,int ****param_2,int ****param_3)" ( (parameter_declaration "int *****param_1" primitive_type (pointer_declarator "*****param_1" * (pointer_declarator "****param_1" * (pointer_declarator "***param_1" * (pointer_declarator "**param_1" * (pointer_declarator "*param_1" * identifier)))))) , (parameter_declaration "int ****param_2" primitive_type (pointer_declarator "****param_2" * (pointer_declarator "***param_2" * (pointer_declarator "**param_2" * (pointer_declarator "*param_2" * identifier))))) , (parameter_declaration "int ****param_3" primitive_type (pointer_declarator "****param_3" * (pointer_declarator "***param_3" * (pointer_declarator "**param_3" * (pointer_declarator "*param_3" * identifier))))) ))) (compound_statement "{\n  undefined *puVar1;\n  int *****pppppiVar2;\n  int iVar3;\n  int ***pppiVar4;\n  int *****pppppiVar5;\n  int ****ppppiVar6;\n  int ****ppppiVar7;\n  int ****ppppiVar8;\n  int ****local_28;\n  int local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00045cc8;\n  pppppiVar2 = (int *****)*param_1;\n  local_24 = *(int *)PTR___stack_chk_guard_00045cc8;\n  pppppiVar5 = param_1;\n  ppppiVar6 = param_2;\n  if (pppppiVar2 != (int *****)0x0) {\n    ppppiVar7 = pppppiVar2[1];\n    local_28 = (int ****)pppppiVar2;\n    if (pppppiVar2[1] != (int ****)0x0) {\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }\n    pppppiVar5 = &local_28;\n    linked_list_destroy();\n    *param_1 = local_28;\n    ppppiVar6 = param_2;\n  }\nLAB_00018764:\n  if (local_24 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_00045ca8)();\n  if ((ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)) {\n    if (pppppiVar5 == (int *****)pppiVar4[3]) {\n      return 1;\n    }\n    do {\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    } while ((int *****)pppiVar4[3] != pppppiVar5);\n    return 1;\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *****pppppiVar2;" primitive_type (pointer_declarator "*****pppppiVar2" * (pointer_declarator "****pppppiVar2" * (pointer_declarator "***pppppiVar2" * (pointer_declarator "**pppppiVar2" * (pointer_declarator "*pppppiVar2" * identifier))))) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int ***pppiVar4;" primitive_type (pointer_declarator "***pppiVar4" * (pointer_declarator "**pppiVar4" * (pointer_declarator "*pppiVar4" * identifier))) ;) (declaration "int *****pppppiVar5;" primitive_type (pointer_declarator "*****pppppiVar5" * (pointer_declarator "****pppppiVar5" * (pointer_declarator "***pppppiVar5" * (pointer_declarator "**pppppiVar5" * (pointer_declarator "*pppppiVar5" * identifier))))) ;) (declaration "int ****ppppiVar6;" primitive_type (pointer_declarator "****ppppiVar6" * (pointer_declarator "***ppppiVar6" * (pointer_declarator "**ppppiVar6" * (pointer_declarator "*ppppiVar6" * identifier)))) ;) (declaration "int ****ppppiVar7;" primitive_type (pointer_declarator "****ppppiVar7" * (pointer_declarator "***ppppiVar7" * (pointer_declarator "**ppppiVar7" * (pointer_declarator "*ppppiVar7" * identifier)))) ;) (declaration "int ****ppppiVar8;" primitive_type (pointer_declarator "****ppppiVar8" * (pointer_declarator "***ppppiVar8" * (pointer_declarator "**ppppiVar8" * (pointer_declarator "*ppppiVar8" * identifier)))) ;) (declaration "int ****local_28;" primitive_type (pointer_declarator "****local_28" * (pointer_declarator "***local_28" * (pointer_declarator "**local_28" * (pointer_declarator "*local_28" * identifier)))) ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00045cc8;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00045cc8" identifier = identifier) ;) (expression_statement "pppppiVar2 = (int *****)*param_1;" (assignment_expression "pppppiVar2 = (int *****)*param_1" identifier = (cast_expression "(int *****)*param_1" ( (type_descriptor "int *****" primitive_type (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))))) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_00045cc8;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_00045cc8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00045cc8" * (cast_expression "(int *)PTR___stack_chk_guard_00045cc8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pppppiVar5 = param_1;" (assignment_expression "pppppiVar5 = param_1" identifier = identifier) ;) (expression_statement "ppppiVar6 = param_2;" (assignment_expression "ppppiVar6 = param_2" identifier = identifier) ;) (if_statement "if (pppppiVar2 != (int *****)0x0) {\n    ppppiVar7 = pppppiVar2[1];\n    local_28 = (int ****)pppppiVar2;\n    if (pppppiVar2[1] != (int ****)0x0) {\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }\n    pppppiVar5 = &local_28;\n    linked_list_destroy();\n    *param_1 = local_28;\n    ppppiVar6 = param_2;\n  }" if (parenthesized_expression "(pppppiVar2 != (int *****)0x0)" ( (binary_expression "pppppiVar2 != (int *****)0x0" identifier != (cast_expression "(int *****)0x0" ( (type_descriptor "int *****" primitive_type (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))))) ) number_literal)) )) (compound_statement "{\n    ppppiVar7 = pppppiVar2[1];\n    local_28 = (int ****)pppppiVar2;\n    if (pppppiVar2[1] != (int ****)0x0) {\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }\n    pppppiVar5 = &local_28;\n    linked_list_destroy();\n    *param_1 = local_28;\n    ppppiVar6 = param_2;\n  }" { (expression_statement "ppppiVar7 = pppppiVar2[1];" (assignment_expression "ppppiVar7 = pppppiVar2[1]" identifier = (subscript_expression "pppppiVar2[1]" identifier [ number_literal ])) ;) (expression_statement "local_28 = (int ****)pppppiVar2;" (assignment_expression "local_28 = (int ****)pppppiVar2" identifier = (cast_expression "(int ****)pppppiVar2" ( (type_descriptor "int ****" primitive_type (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))) ) identifier)) ;) (if_statement "if (pppppiVar2[1] != (int ****)0x0) {\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }" if (parenthesized_expression "(pppppiVar2[1] != (int ****)0x0)" ( (binary_expression "pppppiVar2[1] != (int ****)0x0" (subscript_expression "pppppiVar2[1]" identifier [ number_literal ]) != (cast_expression "(int ****)0x0" ( (type_descriptor "int ****" primitive_type (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))) ) number_literal)) )) (compound_statement "{\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }" { (do_statement "do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);" do (compound_statement "{\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      }" { (while_statement "while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }" { (expression_statement "pppppiVar5 = (int *****)ppppiVar7[3];" (assignment_expression "pppppiVar5 = (int *****)ppppiVar7[3]" identifier = (cast_expression "(int *****)ppppiVar7[3]" ( (type_descriptor "int *****" primitive_type (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))))) ) (subscript_expression "ppppiVar7[3]" identifier [ number_literal ]))) ;) (expression_statement "ppppiVar8 = (int ****)*ppppiVar7;" (assignment_expression "ppppiVar8 = (int ****)*ppppiVar7" identifier = (cast_expression "(int ****)*ppppiVar7" ( (type_descriptor "int ****" primitive_type (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))) ) (pointer_expression "*ppppiVar7" * identifier))) ;) (expression_statement "ppppiVar6 = param_3;" (assignment_expression "ppppiVar6 = param_3" identifier = identifier) ;) (expression_statement "iVar3 = (*(code *)param_2)();" (assignment_expression "iVar3 = (*(code *)param_2)()" identifier = (call_expression "(*(code *)param_2)()" (parenthesized_expression "(*(code *)param_2)" ( (pointer_expression "*(code *)param_2" * (cast_expression "(code *)param_2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pppppiVar5 = (int *****)local_28;" (assignment_expression "pppppiVar5 = (int *****)local_28" identifier = (cast_expression "(int *****)local_28" ( (type_descriptor "int *****" primitive_type (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))))) ) identifier)) ;) (expression_statement "linked_list_unlink();" (call_expression "linked_list_unlink()" identifier (argument_list "()" ( ))) ;) (expression_statement "ppppiVar6 = ppppiVar7;" (assignment_expression "ppppiVar6 = ppppiVar7" identifier = identifier) ;) (expression_statement "ppppiVar7 = ppppiVar8;" (assignment_expression "ppppiVar7 = ppppiVar8" identifier = identifier) ;) (if_statement "if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;" if (parenthesized_expression "(ppppiVar8 == (int ****)0x0)" ( (binary_expression "ppppiVar8 == (int ****)0x0" identifier == (cast_expression "(int ****)0x0" ( (type_descriptor "int ****" primitive_type (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))) ) number_literal)) )) (goto_statement "goto LAB_00018750;" goto statement_identifier ;)) })) (expression_statement "ppppiVar7 = ppppiVar8;" (assignment_expression "ppppiVar7 = ppppiVar8" identifier = identifier) ;) }) while (parenthesized_expression "(ppppiVar8 != (int ****)0x0)" ( (binary_expression "ppppiVar8 != (int ****)0x0" identifier != (cast_expression "(int ****)0x0" ( (type_descriptor "int ****" primitive_type (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))) ) number_literal)) )) ;) (labeled_statement "LAB_00018750:\n      param_2 = ppppiVar6;" statement_identifier : (expression_statement "param_2 = ppppiVar6;" (assignment_expression "param_2 = ppppiVar6" identifier = identifier) ;)) (if_statement "if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }" if (parenthesized_expression "((int ****)local_28[1] != (int ****)0x0)" ( (binary_expression "(int ****)local_28[1] != (int ****)0x0" (cast_expression "(int ****)local_28[1]" ( (type_descriptor "int ****" primitive_type (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))) ) (subscript_expression "local_28[1]" identifier [ number_literal ])) != (cast_expression "(int ****)0x0" ( (type_descriptor "int ****" primitive_type (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))) ) number_literal)) )) (compound_statement "{\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }" { (expression_statement "*param_1 = local_28;" (assignment_expression "*param_1 = local_28" (pointer_expression "*param_1" * identifier) = identifier) ;) (goto_statement "goto LAB_00018764;" goto statement_identifier ;) })) })) (expression_statement "pppppiVar5 = &local_28;" (assignment_expression "pppppiVar5 = &local_28" identifier = (pointer_expression "&local_28" & identifier)) ;) (expression_statement "linked_list_destroy();" (call_expression "linked_list_destroy()" identifier (argument_list "()" ( ))) ;) (expression_statement "*param_1 = local_28;" (assignment_expression "*param_1 = local_28" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "ppppiVar6 = param_2;" (assignment_expression "ppppiVar6 = param_2" identifier = identifier) ;) })) (labeled_statement "LAB_00018764:\n  if (local_24 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }" statement_identifier : (if_statement "if (local_24 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }" if (parenthesized_expression "(local_24 == *(int *)puVar1)" ( (binary_expression "local_24 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(int *)puVar1;\n  }" { (return_statement "return *(int *)puVar1;" return (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (expression_statement "(*(code *)PTR___stack_chk_fail_00045ca8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00045ca8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00045ca8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00045ca8" * (cast_expression "(code *)PTR___stack_chk_fail_00045ca8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if ((ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)) {\n    if (pppppiVar5 == (int *****)pppiVar4[3]) {\n      return 1;\n    }\n    do {\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    } while ((int *****)pppiVar4[3] != pppppiVar5);\n    return 1;\n  }" if (parenthesized_expression "((ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0))" ( (binary_expression "(ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)" (parenthesized_expression "(ppppiVar6 != (int ****)0x0)" ( (binary_expression "ppppiVar6 != (int ****)0x0" identifier != (cast_expression "(int ****)0x0" ( (type_descriptor "int ****" primitive_type (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))) ) number_literal)) )) && (parenthesized_expression "(pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)" ( (comma_expression "pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0" (assignment_expression "pppiVar4 = ppppiVar6[1]" identifier = (subscript_expression "ppppiVar6[1]" identifier [ number_literal ])) , (binary_expression "pppiVar4 != (int ***)0x0" identifier != (cast_expression "(int ***)0x0" ( (type_descriptor "int ***" primitive_type (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) number_literal))) ))) )) (compound_statement "{\n    if (pppppiVar5 == (int *****)pppiVar4[3]) {\n      return 1;\n    }\n    do {\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    } while ((int *****)pppiVar4[3] != pppppiVar5);\n    return 1;\n  }" { (if_statement "if (pppppiVar5 == (int *****)pppiVar4[3]) {\n      return 1;\n    }" if (parenthesized_expression "(pppppiVar5 == (int *****)pppiVar4[3])" ( (binary_expression "pppppiVar5 == (int *****)pppiVar4[3]" identifier == (cast_expression "(int *****)pppiVar4[3]" ( (type_descriptor "int *****" primitive_type (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))))) ) (subscript_expression "pppiVar4[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (do_statement "do {\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    } while ((int *****)pppiVar4[3] != pppppiVar5);" do (compound_statement "{\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    }" { (expression_statement "pppiVar4 = (int ***)*pppiVar4;" (assignment_expression "pppiVar4 = (int ***)*pppiVar4" identifier = (cast_expression "(int ***)*pppiVar4" ( (type_descriptor "int ***" primitive_type (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (pointer_expression "*pppiVar4" * identifier))) ;) (if_statement "if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }" if (parenthesized_expression "(pppiVar4 == (int ***)0x0)" ( (binary_expression "pppiVar4 == (int ***)0x0" identifier == (cast_expression "(int ***)0x0" ( (type_descriptor "int ***" primitive_type (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) number_literal)) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) }) while (parenthesized_expression "((int *****)pppiVar4[3] != pppppiVar5)" ( (binary_expression "(int *****)pppiVar4[3] != pppppiVar5" (cast_expression "(int *****)pppiVar4[3]" ( (type_descriptor "int *****" primitive_type (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))))) ) (subscript_expression "pppiVar4[3]" identifier [ number_literal ])) != identifier) )) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "void linked_list_iterate(linked_list **plist,_func_int_void_ptr_void_ptr *itr,void *data)\n\n{\n  undefined *puVar1;\n  linked_list *plVar2;\n  int iVar3;\n  linked_list_entry *plVar4;\n  linked_list *plist_00;\n  linked_list_entry *ent;\n  linked_list_entry *plVar5;\n  linked_list *list;\n  linked_list_entry *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00045cc8;\n  plVar2 = *plist;\n  local_24 = *(linked_list_entry **)PTR___stack_chk_guard_00045cc8;\n  plist_00 = (linked_list *)plist;\n  plVar4 = (linked_list_entry *)itr;\n  if (plVar2 != (linked_list *)0x0) {\n    ent = plVar2->head;\n    list = plVar2;\n    if (plVar2->head != (linked_list_entry *)0x0) {\n      do {\n        while( true ) {\n          plist_00 = (linked_list *)ent->data;\n          plVar5 = ent->next;\n          plVar4 = (linked_list_entry *)data;\n          iVar3 = (*itr)(plist_00,data);\n          if (iVar3 == 0) break;\n          plist_00 = list;\n          linked_list_unlink(list,ent);\n          plVar4 = ent;\n          ent = plVar5;\n          if (plVar5 == (linked_list_entry *)0x0) goto LAB_00018750;\n        }\n        ent = plVar5;\n      } while (plVar5 != (linked_list_entry *)0x0);\nLAB_00018750:\n      itr = (_func_int_void_ptr_void_ptr *)plVar4;\n      if (list->head != (linked_list_entry *)0x0) {\n        *plist = list;\n        goto LAB_00018764;\n      }\n    }\n    plist_00 = (linked_list *)&list;\n    linked_list_destroy((linked_list **)plist_00);\n    *plist = list;\n    plVar4 = (linked_list_entry *)itr;\n  }\nLAB_00018764:\n  if (local_24 == *(linked_list_entry **)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00045ca8)();\n  if ((plVar4 != (linked_list_entry *)0x0) &&\n     (plVar4 = plVar4->prev, plVar4 != (linked_list_entry *)0x0)) {\n    if (plist_00 == (linked_list *)plVar4->data) {\n      return;\n    }\n    do {\n      plVar4 = plVar4->next;\n      if (plVar4 == (linked_list_entry *)0x0) {\n        return;\n      }\n    } while ((linked_list *)plVar4->data != plist_00);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void linked_list_iterate(linked_list **plist,_func_int_void_ptr_void_ptr *itr,void *data)\n\n{\n  undefined *puVar1;\n  linked_list *plVar2;\n  int iVar3;\n  linked_list_entry *plVar4;\n  linked_list *plist_00;\n  linked_list_entry *ent;\n  linked_list_entry *plVar5;\n  linked_list *list;\n  linked_list_entry *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00045cc8;\n  plVar2 = *plist;\n  local_24 = *(linked_list_entry **)PTR___stack_chk_guard_00045cc8;\n  plist_00 = (linked_list *)plist;\n  plVar4 = (linked_list_entry *)itr;\n  if (plVar2 != (linked_list *)0x0) {\n    ent = plVar2->head;\n    list = plVar2;\n    if (plVar2->head != (linked_list_entry *)0x0) {\n      do {\n        while( true ) {\n          plist_00 = (linked_list *)ent->data;\n          plVar5 = ent->next;\n          plVar4 = (linked_list_entry *)data;\n          iVar3 = (*itr)(plist_00,data);\n          if (iVar3 == 0) break;\n          plist_00 = list;\n          linked_list_unlink(list,ent);\n          plVar4 = ent;\n          ent = plVar5;\n          if (plVar5 == (linked_list_entry *)0x0) goto LAB_00018750;\n        }\n        ent = plVar5;\n      } while (plVar5 != (linked_list_entry *)0x0);\nLAB_00018750:\n      itr = (_func_int_void_ptr_void_ptr *)plVar4;\n      if (list->head != (linked_list_entry *)0x0) {\n        *plist = list;\n        goto LAB_00018764;\n      }\n    }\n    plist_00 = (linked_list *)&list;\n    linked_list_destroy((linked_list **)plist_00);\n    *plist = list;\n    plVar4 = (linked_list_entry *)itr;\n  }\nLAB_00018764:\n  if (local_24 == *(linked_list_entry **)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00045ca8)();\n  if ((plVar4 != (linked_list_entry *)0x0) &&\n     (plVar4 = plVar4->prev, plVar4 != (linked_list_entry *)0x0)) {\n    if (plist_00 == (linked_list *)plVar4->data) {\n      return;\n    }\n    do {\n      plVar4 = plVar4->next;\n      if (plVar4 == (linked_list_entry *)0x0) {\n        return;\n      }\n    } while ((linked_list *)plVar4->data != plist_00);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "linked_list_iterate(linked_list **plist,_func_int_void_ptr_void_ptr *itr,void *data)" identifier (parameter_list "(linked_list **plist,_func_int_void_ptr_void_ptr *itr,void *data)" ( (parameter_declaration "linked_list **plist" type_identifier (pointer_declarator "**plist" * (pointer_declarator "*plist" * identifier))) , (parameter_declaration "_func_int_void_ptr_void_ptr *itr" type_identifier (pointer_declarator "*itr" * identifier)) , (parameter_declaration "void *data" primitive_type (pointer_declarator "*data" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  linked_list *plVar2;\n  int iVar3;\n  linked_list_entry *plVar4;\n  linked_list *plist_00;\n  linked_list_entry *ent;\n  linked_list_entry *plVar5;\n  linked_list *list;\n  linked_list_entry *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00045cc8;\n  plVar2 = *plist;\n  local_24 = *(linked_list_entry **)PTR___stack_chk_guard_00045cc8;\n  plist_00 = (linked_list *)plist;\n  plVar4 = (linked_list_entry *)itr;\n  if (plVar2 != (linked_list *)0x0) {\n    ent = plVar2->head;\n    list = plVar2;\n    if (plVar2->head != (linked_list_entry *)0x0) {\n      do {\n        while( true ) {\n          plist_00 = (linked_list *)ent->data;\n          plVar5 = ent->next;\n          plVar4 = (linked_list_entry *)data;\n          iVar3 = (*itr)(plist_00,data);\n          if (iVar3 == 0) break;\n          plist_00 = list;\n          linked_list_unlink(list,ent);\n          plVar4 = ent;\n          ent = plVar5;\n          if (plVar5 == (linked_list_entry *)0x0) goto LAB_00018750;\n        }\n        ent = plVar5;\n      } while (plVar5 != (linked_list_entry *)0x0);\nLAB_00018750:\n      itr = (_func_int_void_ptr_void_ptr *)plVar4;\n      if (list->head != (linked_list_entry *)0x0) {\n        *plist = list;\n        goto LAB_00018764;\n      }\n    }\n    plist_00 = (linked_list *)&list;\n    linked_list_destroy((linked_list **)plist_00);\n    *plist = list;\n    plVar4 = (linked_list_entry *)itr;\n  }\nLAB_00018764:\n  if (local_24 == *(linked_list_entry **)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00045ca8)();\n  if ((plVar4 != (linked_list_entry *)0x0) &&\n     (plVar4 = plVar4->prev, plVar4 != (linked_list_entry *)0x0)) {\n    if (plist_00 == (linked_list *)plVar4->data) {\n      return;\n    }\n    do {\n      plVar4 = plVar4->next;\n      if (plVar4 == (linked_list_entry *)0x0) {\n        return;\n      }\n    } while ((linked_list *)plVar4->data != plist_00);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "linked_list *plVar2;" type_identifier (pointer_declarator "*plVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "linked_list_entry *plVar4;" type_identifier (pointer_declarator "*plVar4" * identifier) ;) (declaration "linked_list *plist_00;" type_identifier (pointer_declarator "*plist_00" * identifier) ;) (declaration "linked_list_entry *ent;" type_identifier (pointer_declarator "*ent" * identifier) ;) (declaration "linked_list_entry *plVar5;" type_identifier (pointer_declarator "*plVar5" * identifier) ;) (declaration "linked_list *list;" type_identifier (pointer_declarator "*list" * identifier) ;) (declaration "linked_list_entry *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00045cc8;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00045cc8" identifier = identifier) ;) (expression_statement "plVar2 = *plist;" (assignment_expression "plVar2 = *plist" identifier = (pointer_expression "*plist" * identifier)) ;) (expression_statement "local_24 = *(linked_list_entry **)PTR___stack_chk_guard_00045cc8;" (assignment_expression "local_24 = *(linked_list_entry **)PTR___stack_chk_guard_00045cc8" identifier = (pointer_expression "*(linked_list_entry **)PTR___stack_chk_guard_00045cc8" * (cast_expression "(linked_list_entry **)PTR___stack_chk_guard_00045cc8" ( (type_descriptor "linked_list_entry **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "plist_00 = (linked_list *)plist;" (assignment_expression "plist_00 = (linked_list *)plist" identifier = (cast_expression "(linked_list *)plist" ( (type_descriptor "linked_list *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "plVar4 = (linked_list_entry *)itr;" (assignment_expression "plVar4 = (linked_list_entry *)itr" identifier = (cast_expression "(linked_list_entry *)itr" ( (type_descriptor "linked_list_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (plVar2 != (linked_list *)0x0) {\n    ent = plVar2->head;\n    list = plVar2;\n    if (plVar2->head != (linked_list_entry *)0x0) {\n      do {\n        while( true ) {\n          plist_00 = (linked_list *)ent->data;\n          plVar5 = ent->next;\n          plVar4 = (linked_list_entry *)data;\n          iVar3 = (*itr)(plist_00,data);\n          if (iVar3 == 0) break;\n          plist_00 = list;\n          linked_list_unlink(list,ent);\n          plVar4 = ent;\n          ent = plVar5;\n          if (plVar5 == (linked_list_entry *)0x0) goto LAB_00018750;\n        }\n        ent = plVar5;\n      } while (plVar5 != (linked_list_entry *)0x0);\nLAB_00018750:\n      itr = (_func_int_void_ptr_void_ptr *)plVar4;\n      if (list->head != (linked_list_entry *)0x0) {\n        *plist = list;\n        goto LAB_00018764;\n      }\n    }\n    plist_00 = (linked_list *)&list;\n    linked_list_destroy((linked_list **)plist_00);\n    *plist = list;\n    plVar4 = (linked_list_entry *)itr;\n  }" if (parenthesized_expression "(plVar2 != (linked_list *)0x0)" ( (binary_expression "plVar2 != (linked_list *)0x0" identifier != (cast_expression "(linked_list *)0x0" ( (type_descriptor "linked_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    ent = plVar2->head;\n    list = plVar2;\n    if (plVar2->head != (linked_list_entry *)0x0) {\n      do {\n        while( true ) {\n          plist_00 = (linked_list *)ent->data;\n          plVar5 = ent->next;\n          plVar4 = (linked_list_entry *)data;\n          iVar3 = (*itr)(plist_00,data);\n          if (iVar3 == 0) break;\n          plist_00 = list;\n          linked_list_unlink(list,ent);\n          plVar4 = ent;\n          ent = plVar5;\n          if (plVar5 == (linked_list_entry *)0x0) goto LAB_00018750;\n        }\n        ent = plVar5;\n      } while (plVar5 != (linked_list_entry *)0x0);\nLAB_00018750:\n      itr = (_func_int_void_ptr_void_ptr *)plVar4;\n      if (list->head != (linked_list_entry *)0x0) {\n        *plist = list;\n        goto LAB_00018764;\n      }\n    }\n    plist_00 = (linked_list *)&list;\n    linked_list_destroy((linked_list **)plist_00);\n    *plist = list;\n    plVar4 = (linked_list_entry *)itr;\n  }" { (expression_statement "ent = plVar2->head;" (assignment_expression "ent = plVar2->head" identifier = (field_expression "plVar2->head" identifier -> field_identifier)) ;) (expression_statement "list = plVar2;" (assignment_expression "list = plVar2" identifier = identifier) ;) (if_statement "if (plVar2->head != (linked_list_entry *)0x0) {\n      do {\n        while( true ) {\n          plist_00 = (linked_list *)ent->data;\n          plVar5 = ent->next;\n          plVar4 = (linked_list_entry *)data;\n          iVar3 = (*itr)(plist_00,data);\n          if (iVar3 == 0) break;\n          plist_00 = list;\n          linked_list_unlink(list,ent);\n          plVar4 = ent;\n          ent = plVar5;\n          if (plVar5 == (linked_list_entry *)0x0) goto LAB_00018750;\n        }\n        ent = plVar5;\n      } while (plVar5 != (linked_list_entry *)0x0);\nLAB_00018750:\n      itr = (_func_int_void_ptr_void_ptr *)plVar4;\n      if (list->head != (linked_list_entry *)0x0) {\n        *plist = list;\n        goto LAB_00018764;\n      }\n    }" if (parenthesized_expression "(plVar2->head != (linked_list_entry *)0x0)" ( (binary_expression "plVar2->head != (linked_list_entry *)0x0" (field_expression "plVar2->head" identifier -> field_identifier) != (cast_expression "(linked_list_entry *)0x0" ( (type_descriptor "linked_list_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      do {\n        while( true ) {\n          plist_00 = (linked_list *)ent->data;\n          plVar5 = ent->next;\n          plVar4 = (linked_list_entry *)data;\n          iVar3 = (*itr)(plist_00,data);\n          if (iVar3 == 0) break;\n          plist_00 = list;\n          linked_list_unlink(list,ent);\n          plVar4 = ent;\n          ent = plVar5;\n          if (plVar5 == (linked_list_entry *)0x0) goto LAB_00018750;\n        }\n        ent = plVar5;\n      } while (plVar5 != (linked_list_entry *)0x0);\nLAB_00018750:\n      itr = (_func_int_void_ptr_void_ptr *)plVar4;\n      if (list->head != (linked_list_entry *)0x0) {\n        *plist = list;\n        goto LAB_00018764;\n      }\n    }" { (do_statement "do {\n        while( true ) {\n          plist_00 = (linked_list *)ent->data;\n          plVar5 = ent->next;\n          plVar4 = (linked_list_entry *)data;\n          iVar3 = (*itr)(plist_00,data);\n          if (iVar3 == 0) break;\n          plist_00 = list;\n          linked_list_unlink(list,ent);\n          plVar4 = ent;\n          ent = plVar5;\n          if (plVar5 == (linked_list_entry *)0x0) goto LAB_00018750;\n        }\n        ent = plVar5;\n      } while (plVar5 != (linked_list_entry *)0x0);" do (compound_statement "{\n        while( true ) {\n          plist_00 = (linked_list *)ent->data;\n          plVar5 = ent->next;\n          plVar4 = (linked_list_entry *)data;\n          iVar3 = (*itr)(plist_00,data);\n          if (iVar3 == 0) break;\n          plist_00 = list;\n          linked_list_unlink(list,ent);\n          plVar4 = ent;\n          ent = plVar5;\n          if (plVar5 == (linked_list_entry *)0x0) goto LAB_00018750;\n        }\n        ent = plVar5;\n      }" { (while_statement "while( true ) {\n          plist_00 = (linked_list *)ent->data;\n          plVar5 = ent->next;\n          plVar4 = (linked_list_entry *)data;\n          iVar3 = (*itr)(plist_00,data);\n          if (iVar3 == 0) break;\n          plist_00 = list;\n          linked_list_unlink(list,ent);\n          plVar4 = ent;\n          ent = plVar5;\n          if (plVar5 == (linked_list_entry *)0x0) goto LAB_00018750;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          plist_00 = (linked_list *)ent->data;\n          plVar5 = ent->next;\n          plVar4 = (linked_list_entry *)data;\n          iVar3 = (*itr)(plist_00,data);\n          if (iVar3 == 0) break;\n          plist_00 = list;\n          linked_list_unlink(list,ent);\n          plVar4 = ent;\n          ent = plVar5;\n          if (plVar5 == (linked_list_entry *)0x0) goto LAB_00018750;\n        }" { (expression_statement "plist_00 = (linked_list *)ent->data;" (assignment_expression "plist_00 = (linked_list *)ent->data" identifier = (cast_expression "(linked_list *)ent->data" ( (type_descriptor "linked_list *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "ent->data" identifier -> field_identifier))) ;) (expression_statement "plVar5 = ent->next;" (assignment_expression "plVar5 = ent->next" identifier = (field_expression "ent->next" identifier -> field_identifier)) ;) (expression_statement "plVar4 = (linked_list_entry *)data;" (assignment_expression "plVar4 = (linked_list_entry *)data" identifier = (cast_expression "(linked_list_entry *)data" ( (type_descriptor "linked_list_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "iVar3 = (*itr)(plist_00,data);" (assignment_expression "iVar3 = (*itr)(plist_00,data)" identifier = (call_expression "(*itr)(plist_00,data)" (parenthesized_expression "(*itr)" ( (pointer_expression "*itr" * identifier) )) (argument_list "(plist_00,data)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "plist_00 = list;" (assignment_expression "plist_00 = list" identifier = identifier) ;) (expression_statement "linked_list_unlink(list,ent);" (call_expression "linked_list_unlink(list,ent)" identifier (argument_list "(list,ent)" ( identifier , identifier ))) ;) (expression_statement "plVar4 = ent;" (assignment_expression "plVar4 = ent" identifier = identifier) ;) (expression_statement "ent = plVar5;" (assignment_expression "ent = plVar5" identifier = identifier) ;) (if_statement "if (plVar5 == (linked_list_entry *)0x0) goto LAB_00018750;" if (parenthesized_expression "(plVar5 == (linked_list_entry *)0x0)" ( (binary_expression "plVar5 == (linked_list_entry *)0x0" identifier == (cast_expression "(linked_list_entry *)0x0" ( (type_descriptor "linked_list_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00018750;" goto statement_identifier ;)) })) (expression_statement "ent = plVar5;" (assignment_expression "ent = plVar5" identifier = identifier) ;) }) while (parenthesized_expression "(plVar5 != (linked_list_entry *)0x0)" ( (binary_expression "plVar5 != (linked_list_entry *)0x0" identifier != (cast_expression "(linked_list_entry *)0x0" ( (type_descriptor "linked_list_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (labeled_statement "LAB_00018750:\n      itr = (_func_int_void_ptr_void_ptr *)plVar4;" statement_identifier : (expression_statement "itr = (_func_int_void_ptr_void_ptr *)plVar4;" (assignment_expression "itr = (_func_int_void_ptr_void_ptr *)plVar4" identifier = (cast_expression "(_func_int_void_ptr_void_ptr *)plVar4" ( (type_descriptor "_func_int_void_ptr_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;)) (if_statement "if (list->head != (linked_list_entry *)0x0) {\n        *plist = list;\n        goto LAB_00018764;\n      }" if (parenthesized_expression "(list->head != (linked_list_entry *)0x0)" ( (binary_expression "list->head != (linked_list_entry *)0x0" (field_expression "list->head" identifier -> field_identifier) != (cast_expression "(linked_list_entry *)0x0" ( (type_descriptor "linked_list_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *plist = list;\n        goto LAB_00018764;\n      }" { (expression_statement "*plist = list;" (assignment_expression "*plist = list" (pointer_expression "*plist" * identifier) = identifier) ;) (goto_statement "goto LAB_00018764;" goto statement_identifier ;) })) })) (expression_statement "plist_00 = (linked_list *)&list;" (assignment_expression "plist_00 = (linked_list *)&list" identifier = (cast_expression "(linked_list *)&list" ( (type_descriptor "linked_list *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&list" & identifier))) ;) (expression_statement "linked_list_destroy((linked_list **)plist_00);" (call_expression "linked_list_destroy((linked_list **)plist_00)" identifier (argument_list "((linked_list **)plist_00)" ( (cast_expression "(linked_list **)plist_00" ( (type_descriptor "linked_list **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier) ))) ;) (expression_statement "*plist = list;" (assignment_expression "*plist = list" (pointer_expression "*plist" * identifier) = identifier) ;) (expression_statement "plVar4 = (linked_list_entry *)itr;" (assignment_expression "plVar4 = (linked_list_entry *)itr" identifier = (cast_expression "(linked_list_entry *)itr" ( (type_descriptor "linked_list_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (labeled_statement "LAB_00018764:\n  if (local_24 == *(linked_list_entry **)puVar1) {\n    return;\n  }" statement_identifier : (if_statement "if (local_24 == *(linked_list_entry **)puVar1) {\n    return;\n  }" if (parenthesized_expression "(local_24 == *(linked_list_entry **)puVar1)" ( (binary_expression "local_24 == *(linked_list_entry **)puVar1" identifier == (pointer_expression "*(linked_list_entry **)puVar1" * (cast_expression "(linked_list_entry **)puVar1" ( (type_descriptor "linked_list_entry **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) }))) (expression_statement "(*(code *)PTR___stack_chk_fail_00045ca8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00045ca8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00045ca8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00045ca8" * (cast_expression "(code *)PTR___stack_chk_fail_00045ca8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if ((plVar4 != (linked_list_entry *)0x0) &&\n     (plVar4 = plVar4->prev, plVar4 != (linked_list_entry *)0x0)) {\n    if (plist_00 == (linked_list *)plVar4->data) {\n      return;\n    }\n    do {\n      plVar4 = plVar4->next;\n      if (plVar4 == (linked_list_entry *)0x0) {\n        return;\n      }\n    } while ((linked_list *)plVar4->data != plist_00);\n    return;\n  }" if (parenthesized_expression "((plVar4 != (linked_list_entry *)0x0) &&\n     (plVar4 = plVar4->prev, plVar4 != (linked_list_entry *)0x0))" ( (binary_expression "(plVar4 != (linked_list_entry *)0x0) &&\n     (plVar4 = plVar4->prev, plVar4 != (linked_list_entry *)0x0)" (parenthesized_expression "(plVar4 != (linked_list_entry *)0x0)" ( (binary_expression "plVar4 != (linked_list_entry *)0x0" identifier != (cast_expression "(linked_list_entry *)0x0" ( (type_descriptor "linked_list_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(plVar4 = plVar4->prev, plVar4 != (linked_list_entry *)0x0)" ( (comma_expression "plVar4 = plVar4->prev, plVar4 != (linked_list_entry *)0x0" (assignment_expression "plVar4 = plVar4->prev" identifier = (field_expression "plVar4->prev" identifier -> field_identifier)) , (binary_expression "plVar4 != (linked_list_entry *)0x0" identifier != (cast_expression "(linked_list_entry *)0x0" ( (type_descriptor "linked_list_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    if (plist_00 == (linked_list *)plVar4->data) {\n      return;\n    }\n    do {\n      plVar4 = plVar4->next;\n      if (plVar4 == (linked_list_entry *)0x0) {\n        return;\n      }\n    } while ((linked_list *)plVar4->data != plist_00);\n    return;\n  }" { (if_statement "if (plist_00 == (linked_list *)plVar4->data) {\n      return;\n    }" if (parenthesized_expression "(plist_00 == (linked_list *)plVar4->data)" ( (binary_expression "plist_00 == (linked_list *)plVar4->data" identifier == (cast_expression "(linked_list *)plVar4->data" ( (type_descriptor "linked_list *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "plVar4->data" identifier -> field_identifier))) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (do_statement "do {\n      plVar4 = plVar4->next;\n      if (plVar4 == (linked_list_entry *)0x0) {\n        return;\n      }\n    } while ((linked_list *)plVar4->data != plist_00);" do (compound_statement "{\n      plVar4 = plVar4->next;\n      if (plVar4 == (linked_list_entry *)0x0) {\n        return;\n      }\n    }" { (expression_statement "plVar4 = plVar4->next;" (assignment_expression "plVar4 = plVar4->next" identifier = (field_expression "plVar4->next" identifier -> field_identifier)) ;) (if_statement "if (plVar4 == (linked_list_entry *)0x0) {\n        return;\n      }" if (parenthesized_expression "(plVar4 == (linked_list_entry *)0x0)" ( (binary_expression "plVar4 == (linked_list_entry *)0x0" identifier == (cast_expression "(linked_list_entry *)0x0" ( (type_descriptor "linked_list_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) while (parenthesized_expression "((linked_list *)plVar4->data != plist_00)" ( (binary_expression "(linked_list *)plVar4->data != plist_00" (cast_expression "(linked_list *)plVar4->data" ( (type_descriptor "linked_list *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "plVar4->data" identifier -> field_identifier)) != identifier) )) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "int linked_list_iterate(int *****param_1,int ****param_2,int ****param_3)\n\n{\n  undefined *puVar1;\n  int *****pppppiVar2;\n  int iVar3;\n  int ***pppiVar4;\n  int *****pppppiVar5;\n  int ****ppppiVar6;\n  int ****ppppiVar7;\n  int ****ppppiVar8;\n  int ****local_28;\n  int local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00045cc8;\n  pppppiVar2 = (int *****)*param_1;\n  local_24 = *(int *)PTR___stack_chk_guard_00045cc8;\n  pppppiVar5 = param_1;\n  ppppiVar6 = param_2;\n  if (pppppiVar2 != (int *****)0x0) {\n    ppppiVar7 = pppppiVar2[1];\n    local_28 = (int ****)pppppiVar2;\n    if (pppppiVar2[1] != (int ****)0x0) {\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }\n    pppppiVar5 = &local_28;\n    linked_list_destroy();\n    *param_1 = local_28;\n    ppppiVar6 = param_2;\n  }\nLAB_00018764:\n  if (local_24 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_00045ca8)();\n  if ((ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)) {\n    if (pppppiVar5 == (int *****)pppiVar4[3]) {\n      return 1;\n    }\n    do {\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    } while ((int *****)pppiVar4[3] != pppppiVar5);\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "int linked_list_iterate(int *****param_1,int ****param_2,int ****param_3)\n\n{\n  undefined *puVar1;\n  int *****pppppiVar2;\n  int iVar3;\n  int ***pppiVar4;\n  int *****pppppiVar5;\n  int ****ppppiVar6;\n  int ****ppppiVar7;\n  int ****ppppiVar8;\n  int ****local_28;\n  int local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00045cc8;\n  pppppiVar2 = (int *****)*param_1;\n  local_24 = *(int *)PTR___stack_chk_guard_00045cc8;\n  pppppiVar5 = param_1;\n  ppppiVar6 = param_2;\n  if (pppppiVar2 != (int *****)0x0) {\n    ppppiVar7 = pppppiVar2[1];\n    local_28 = (int ****)pppppiVar2;\n    if (pppppiVar2[1] != (int ****)0x0) {\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }\n    pppppiVar5 = &local_28;\n    linked_list_destroy();\n    *param_1 = local_28;\n    ppppiVar6 = param_2;\n  }\nLAB_00018764:\n  if (local_24 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_00045ca8)();\n  if ((ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)) {\n    if (pppppiVar5 == (int *****)pppiVar4[3]) {\n      return 1;\n    }\n    do {\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    } while ((int *****)pppiVar4[3] != pppppiVar5);\n    return 1;\n  }\n  return 0;\n}" primitive_type (function_declarator "linked_list_iterate(int *****param_1,int ****param_2,int ****param_3)" identifier (parameter_list "(int *****param_1,int ****param_2,int ****param_3)" ( (parameter_declaration "int *****param_1" primitive_type (pointer_declarator "*****param_1" * (pointer_declarator "****param_1" * (pointer_declarator "***param_1" * (pointer_declarator "**param_1" * (pointer_declarator "*param_1" * identifier)))))) , (parameter_declaration "int ****param_2" primitive_type (pointer_declarator "****param_2" * (pointer_declarator "***param_2" * (pointer_declarator "**param_2" * (pointer_declarator "*param_2" * identifier))))) , (parameter_declaration "int ****param_3" primitive_type (pointer_declarator "****param_3" * (pointer_declarator "***param_3" * (pointer_declarator "**param_3" * (pointer_declarator "*param_3" * identifier))))) ))) (compound_statement "{\n  undefined *puVar1;\n  int *****pppppiVar2;\n  int iVar3;\n  int ***pppiVar4;\n  int *****pppppiVar5;\n  int ****ppppiVar6;\n  int ****ppppiVar7;\n  int ****ppppiVar8;\n  int ****local_28;\n  int local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00045cc8;\n  pppppiVar2 = (int *****)*param_1;\n  local_24 = *(int *)PTR___stack_chk_guard_00045cc8;\n  pppppiVar5 = param_1;\n  ppppiVar6 = param_2;\n  if (pppppiVar2 != (int *****)0x0) {\n    ppppiVar7 = pppppiVar2[1];\n    local_28 = (int ****)pppppiVar2;\n    if (pppppiVar2[1] != (int ****)0x0) {\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }\n    pppppiVar5 = &local_28;\n    linked_list_destroy();\n    *param_1 = local_28;\n    ppppiVar6 = param_2;\n  }\nLAB_00018764:\n  if (local_24 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_00045ca8)();\n  if ((ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)) {\n    if (pppppiVar5 == (int *****)pppiVar4[3]) {\n      return 1;\n    }\n    do {\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    } while ((int *****)pppiVar4[3] != pppppiVar5);\n    return 1;\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *****pppppiVar2;" primitive_type (pointer_declarator "*****pppppiVar2" * (pointer_declarator "****pppppiVar2" * (pointer_declarator "***pppppiVar2" * (pointer_declarator "**pppppiVar2" * (pointer_declarator "*pppppiVar2" * identifier))))) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int ***pppiVar4;" primitive_type (pointer_declarator "***pppiVar4" * (pointer_declarator "**pppiVar4" * (pointer_declarator "*pppiVar4" * identifier))) ;) (declaration "int *****pppppiVar5;" primitive_type (pointer_declarator "*****pppppiVar5" * (pointer_declarator "****pppppiVar5" * (pointer_declarator "***pppppiVar5" * (pointer_declarator "**pppppiVar5" * (pointer_declarator "*pppppiVar5" * identifier))))) ;) (declaration "int ****ppppiVar6;" primitive_type (pointer_declarator "****ppppiVar6" * (pointer_declarator "***ppppiVar6" * (pointer_declarator "**ppppiVar6" * (pointer_declarator "*ppppiVar6" * identifier)))) ;) (declaration "int ****ppppiVar7;" primitive_type (pointer_declarator "****ppppiVar7" * (pointer_declarator "***ppppiVar7" * (pointer_declarator "**ppppiVar7" * (pointer_declarator "*ppppiVar7" * identifier)))) ;) (declaration "int ****ppppiVar8;" primitive_type (pointer_declarator "****ppppiVar8" * (pointer_declarator "***ppppiVar8" * (pointer_declarator "**ppppiVar8" * (pointer_declarator "*ppppiVar8" * identifier)))) ;) (declaration "int ****local_28;" primitive_type (pointer_declarator "****local_28" * (pointer_declarator "***local_28" * (pointer_declarator "**local_28" * (pointer_declarator "*local_28" * identifier)))) ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00045cc8;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00045cc8" identifier = identifier) ;) (expression_statement "pppppiVar2 = (int *****)*param_1;" (assignment_expression "pppppiVar2 = (int *****)*param_1" identifier = (cast_expression "(int *****)*param_1" ( (type_descriptor "int *****" primitive_type (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))))) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_00045cc8;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_00045cc8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00045cc8" * (cast_expression "(int *)PTR___stack_chk_guard_00045cc8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pppppiVar5 = param_1;" (assignment_expression "pppppiVar5 = param_1" identifier = identifier) ;) (expression_statement "ppppiVar6 = param_2;" (assignment_expression "ppppiVar6 = param_2" identifier = identifier) ;) (if_statement "if (pppppiVar2 != (int *****)0x0) {\n    ppppiVar7 = pppppiVar2[1];\n    local_28 = (int ****)pppppiVar2;\n    if (pppppiVar2[1] != (int ****)0x0) {\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }\n    pppppiVar5 = &local_28;\n    linked_list_destroy();\n    *param_1 = local_28;\n    ppppiVar6 = param_2;\n  }" if (parenthesized_expression "(pppppiVar2 != (int *****)0x0)" ( (binary_expression "pppppiVar2 != (int *****)0x0" identifier != (cast_expression "(int *****)0x0" ( (type_descriptor "int *****" primitive_type (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))))) ) number_literal)) )) (compound_statement "{\n    ppppiVar7 = pppppiVar2[1];\n    local_28 = (int ****)pppppiVar2;\n    if (pppppiVar2[1] != (int ****)0x0) {\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }\n    pppppiVar5 = &local_28;\n    linked_list_destroy();\n    *param_1 = local_28;\n    ppppiVar6 = param_2;\n  }" { (expression_statement "ppppiVar7 = pppppiVar2[1];" (assignment_expression "ppppiVar7 = pppppiVar2[1]" identifier = (subscript_expression "pppppiVar2[1]" identifier [ number_literal ])) ;) (expression_statement "local_28 = (int ****)pppppiVar2;" (assignment_expression "local_28 = (int ****)pppppiVar2" identifier = (cast_expression "(int ****)pppppiVar2" ( (type_descriptor "int ****" primitive_type (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))) ) identifier)) ;) (if_statement "if (pppppiVar2[1] != (int ****)0x0) {\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }" if (parenthesized_expression "(pppppiVar2[1] != (int ****)0x0)" ( (binary_expression "pppppiVar2[1] != (int ****)0x0" (subscript_expression "pppppiVar2[1]" identifier [ number_literal ]) != (cast_expression "(int ****)0x0" ( (type_descriptor "int ****" primitive_type (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))) ) number_literal)) )) (compound_statement "{\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }" { (do_statement "do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);" do (compound_statement "{\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      }" { (while_statement "while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }" { (expression_statement "pppppiVar5 = (int *****)ppppiVar7[3];" (assignment_expression "pppppiVar5 = (int *****)ppppiVar7[3]" identifier = (cast_expression "(int *****)ppppiVar7[3]" ( (type_descriptor "int *****" primitive_type (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))))) ) (subscript_expression "ppppiVar7[3]" identifier [ number_literal ]))) ;) (expression_statement "ppppiVar8 = (int ****)*ppppiVar7;" (assignment_expression "ppppiVar8 = (int ****)*ppppiVar7" identifier = (cast_expression "(int ****)*ppppiVar7" ( (type_descriptor "int ****" primitive_type (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))) ) (pointer_expression "*ppppiVar7" * identifier))) ;) (expression_statement "ppppiVar6 = param_3;" (assignment_expression "ppppiVar6 = param_3" identifier = identifier) ;) (expression_statement "iVar3 = (*(code *)param_2)();" (assignment_expression "iVar3 = (*(code *)param_2)()" identifier = (call_expression "(*(code *)param_2)()" (parenthesized_expression "(*(code *)param_2)" ( (pointer_expression "*(code *)param_2" * (cast_expression "(code *)param_2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pppppiVar5 = (int *****)local_28;" (assignment_expression "pppppiVar5 = (int *****)local_28" identifier = (cast_expression "(int *****)local_28" ( (type_descriptor "int *****" primitive_type (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))))) ) identifier)) ;) (expression_statement "linked_list_unlink();" (call_expression "linked_list_unlink()" identifier (argument_list "()" ( ))) ;) (expression_statement "ppppiVar6 = ppppiVar7;" (assignment_expression "ppppiVar6 = ppppiVar7" identifier = identifier) ;) (expression_statement "ppppiVar7 = ppppiVar8;" (assignment_expression "ppppiVar7 = ppppiVar8" identifier = identifier) ;) (if_statement "if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;" if (parenthesized_expression "(ppppiVar8 == (int ****)0x0)" ( (binary_expression "ppppiVar8 == (int ****)0x0" identifier == (cast_expression "(int ****)0x0" ( (type_descriptor "int ****" primitive_type (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))) ) number_literal)) )) (goto_statement "goto LAB_00018750;" goto statement_identifier ;)) })) (expression_statement "ppppiVar7 = ppppiVar8;" (assignment_expression "ppppiVar7 = ppppiVar8" identifier = identifier) ;) }) while (parenthesized_expression "(ppppiVar8 != (int ****)0x0)" ( (binary_expression "ppppiVar8 != (int ****)0x0" identifier != (cast_expression "(int ****)0x0" ( (type_descriptor "int ****" primitive_type (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))) ) number_literal)) )) ;) (labeled_statement "LAB_00018750:\n      param_2 = ppppiVar6;" statement_identifier : (expression_statement "param_2 = ppppiVar6;" (assignment_expression "param_2 = ppppiVar6" identifier = identifier) ;)) (if_statement "if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }" if (parenthesized_expression "((int ****)local_28[1] != (int ****)0x0)" ( (binary_expression "(int ****)local_28[1] != (int ****)0x0" (cast_expression "(int ****)local_28[1]" ( (type_descriptor "int ****" primitive_type (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))) ) (subscript_expression "local_28[1]" identifier [ number_literal ])) != (cast_expression "(int ****)0x0" ( (type_descriptor "int ****" primitive_type (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))) ) number_literal)) )) (compound_statement "{\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }" { (expression_statement "*param_1 = local_28;" (assignment_expression "*param_1 = local_28" (pointer_expression "*param_1" * identifier) = identifier) ;) (goto_statement "goto LAB_00018764;" goto statement_identifier ;) })) })) (expression_statement "pppppiVar5 = &local_28;" (assignment_expression "pppppiVar5 = &local_28" identifier = (pointer_expression "&local_28" & identifier)) ;) (expression_statement "linked_list_destroy();" (call_expression "linked_list_destroy()" identifier (argument_list "()" ( ))) ;) (expression_statement "*param_1 = local_28;" (assignment_expression "*param_1 = local_28" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "ppppiVar6 = param_2;" (assignment_expression "ppppiVar6 = param_2" identifier = identifier) ;) })) (labeled_statement "LAB_00018764:\n  if (local_24 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }" statement_identifier : (if_statement "if (local_24 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }" if (parenthesized_expression "(local_24 == *(int *)puVar1)" ( (binary_expression "local_24 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(int *)puVar1;\n  }" { (return_statement "return *(int *)puVar1;" return (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (expression_statement "(*(code *)PTR___stack_chk_fail_00045ca8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00045ca8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00045ca8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00045ca8" * (cast_expression "(code *)PTR___stack_chk_fail_00045ca8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if ((ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)) {\n    if (pppppiVar5 == (int *****)pppiVar4[3]) {\n      return 1;\n    }\n    do {\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    } while ((int *****)pppiVar4[3] != pppppiVar5);\n    return 1;\n  }" if (parenthesized_expression "((ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0))" ( (binary_expression "(ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)" (parenthesized_expression "(ppppiVar6 != (int ****)0x0)" ( (binary_expression "ppppiVar6 != (int ****)0x0" identifier != (cast_expression "(int ****)0x0" ( (type_descriptor "int ****" primitive_type (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))) ) number_literal)) )) && (parenthesized_expression "(pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)" ( (comma_expression "pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0" (assignment_expression "pppiVar4 = ppppiVar6[1]" identifier = (subscript_expression "ppppiVar6[1]" identifier [ number_literal ])) , (binary_expression "pppiVar4 != (int ***)0x0" identifier != (cast_expression "(int ***)0x0" ( (type_descriptor "int ***" primitive_type (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) number_literal))) ))) )) (compound_statement "{\n    if (pppppiVar5 == (int *****)pppiVar4[3]) {\n      return 1;\n    }\n    do {\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    } while ((int *****)pppiVar4[3] != pppppiVar5);\n    return 1;\n  }" { (if_statement "if (pppppiVar5 == (int *****)pppiVar4[3]) {\n      return 1;\n    }" if (parenthesized_expression "(pppppiVar5 == (int *****)pppiVar4[3])" ( (binary_expression "pppppiVar5 == (int *****)pppiVar4[3]" identifier == (cast_expression "(int *****)pppiVar4[3]" ( (type_descriptor "int *****" primitive_type (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))))) ) (subscript_expression "pppiVar4[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (do_statement "do {\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    } while ((int *****)pppiVar4[3] != pppppiVar5);" do (compound_statement "{\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    }" { (expression_statement "pppiVar4 = (int ***)*pppiVar4;" (assignment_expression "pppiVar4 = (int ***)*pppiVar4" identifier = (cast_expression "(int ***)*pppiVar4" ( (type_descriptor "int ***" primitive_type (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (pointer_expression "*pppiVar4" * identifier))) ;) (if_statement "if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }" if (parenthesized_expression "(pppiVar4 == (int ***)0x0)" ( (binary_expression "pppiVar4 == (int ***)0x0" identifier == (cast_expression "(int ***)0x0" ( (type_descriptor "int ***" primitive_type (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) number_literal)) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) }) while (parenthesized_expression "((int *****)pppiVar4[3] != pppppiVar5)" ( (binary_expression "(int *****)pppiVar4[3] != pppppiVar5" (cast_expression "(int *****)pppiVar4[3]" ( (type_descriptor "int *****" primitive_type (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))))) ) (subscript_expression "pppiVar4[3]" identifier [ number_literal ])) != identifier) )) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * IDENT)))))) , (parameter_declaration TYPE (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * IDENT))))) , (parameter_declaration TYPE (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * IDENT))))) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * IDENT))))) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * (pointer_declarator * IDENT))) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * IDENT))))) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * IDENT)))) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * IDENT)))) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * IDENT)))) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * IDENT)))) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *)))))) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *)))))) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *))))) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *))))) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *)))))) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *))))) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *)))))) ) IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *))))) ) LIT)) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *))))) ) LIT)) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *))))) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *))))) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *))))) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *)))) ) LIT))) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *)))))) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (return_statement return LIT ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *)))) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *)))) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *)))))) ) (subscript_expression IDENT [ LIT ])) != IDENT) )) ;) (return_statement return LIT ;) })) (return_statement return LIT ;) })))
(function_definition "int linked_list_iterate(int *****param_1,int ****param_2,int ****param_3)\n\n{\n  undefined *puVar1;\n  int *****pppppiVar2;\n  int iVar3;\n  int ***pppiVar4;\n  int *****pppppiVar5;\n  int ****ppppiVar6;\n  int ****ppppiVar7;\n  int ****ppppiVar8;\n  int ****local_28;\n  int local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00045cc8;\n  pppppiVar2 = (int *****)*param_1;\n  local_24 = *(int *)PTR___stack_chk_guard_00045cc8;\n  pppppiVar5 = param_1;\n  ppppiVar6 = param_2;\n  if (pppppiVar2 != (int *****)0x0) {\n    ppppiVar7 = pppppiVar2[1];\n    local_28 = (int ****)pppppiVar2;\n    if (pppppiVar2[1] != (int ****)0x0) {\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }\n    pppppiVar5 = &local_28;\n    linked_list_destroy();\n    *param_1 = local_28;\n    ppppiVar6 = param_2;\n  }\nLAB_00018764:\n  if (local_24 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_00045ca8)();\n  if ((ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)) {\n    if (pppppiVar5 == (int *****)pppiVar4[3]) {\n      return 1;\n    }\n    do {\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    } while ((int *****)pppiVar4[3] != pppppiVar5);\n    return 1;\n  }\n  return 0;\n}" (primitive_type "int") (function_declarator "linked_list_iterate(int *****param_1,int ****param_2,int ****param_3)" (identifier "linked_list_iterate") (parameter_list "(int *****param_1,int ****param_2,int ****param_3)" (( "(") (parameter_declaration "int *****param_1" (primitive_type "int") (pointer_declarator "*****param_1" (* "*") (pointer_declarator "****param_1" (* "*") (pointer_declarator "***param_1" (* "*") (pointer_declarator "**param_1" (* "*") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))))))) (, ",") (parameter_declaration "int ****param_2" (primitive_type "int") (pointer_declarator "****param_2" (* "*") (pointer_declarator "***param_2" (* "*") (pointer_declarator "**param_2" (* "*") (pointer_declarator "*param_2" (* "*") (identifier "param_2")))))) (, ",") (parameter_declaration "int ****param_3" (primitive_type "int") (pointer_declarator "****param_3" (* "*") (pointer_declarator "***param_3" (* "*") (pointer_declarator "**param_3" (* "*") (pointer_declarator "*param_3" (* "*") (identifier "param_3")))))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int *****pppppiVar2;\n  int iVar3;\n  int ***pppiVar4;\n  int *****pppppiVar5;\n  int ****ppppiVar6;\n  int ****ppppiVar7;\n  int ****ppppiVar8;\n  int ****local_28;\n  int local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00045cc8;\n  pppppiVar2 = (int *****)*param_1;\n  local_24 = *(int *)PTR___stack_chk_guard_00045cc8;\n  pppppiVar5 = param_1;\n  ppppiVar6 = param_2;\n  if (pppppiVar2 != (int *****)0x0) {\n    ppppiVar7 = pppppiVar2[1];\n    local_28 = (int ****)pppppiVar2;\n    if (pppppiVar2[1] != (int ****)0x0) {\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }\n    pppppiVar5 = &local_28;\n    linked_list_destroy();\n    *param_1 = local_28;\n    ppppiVar6 = param_2;\n  }\nLAB_00018764:\n  if (local_24 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_00045ca8)();\n  if ((ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)) {\n    if (pppppiVar5 == (int *****)pppiVar4[3]) {\n      return 1;\n    }\n    do {\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    } while ((int *****)pppiVar4[3] != pppppiVar5);\n    return 1;\n  }\n  return 0;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *****pppppiVar2;" (primitive_type "int") (pointer_declarator "*****pppppiVar2" (* "*") (pointer_declarator "****pppppiVar2" (* "*") (pointer_declarator "***pppppiVar2" (* "*") (pointer_declarator "**pppppiVar2" (* "*") (pointer_declarator "*pppppiVar2" (* "*") (identifier "pppppiVar2")))))) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int ***pppiVar4;" (primitive_type "int") (pointer_declarator "***pppiVar4" (* "*") (pointer_declarator "**pppiVar4" (* "*") (pointer_declarator "*pppiVar4" (* "*") (identifier "pppiVar4")))) (; ";")) (declaration "int *****pppppiVar5;" (primitive_type "int") (pointer_declarator "*****pppppiVar5" (* "*") (pointer_declarator "****pppppiVar5" (* "*") (pointer_declarator "***pppppiVar5" (* "*") (pointer_declarator "**pppppiVar5" (* "*") (pointer_declarator "*pppppiVar5" (* "*") (identifier "pppppiVar5")))))) (; ";")) (declaration "int ****ppppiVar6;" (primitive_type "int") (pointer_declarator "****ppppiVar6" (* "*") (pointer_declarator "***ppppiVar6" (* "*") (pointer_declarator "**ppppiVar6" (* "*") (pointer_declarator "*ppppiVar6" (* "*") (identifier "ppppiVar6"))))) (; ";")) (declaration "int ****ppppiVar7;" (primitive_type "int") (pointer_declarator "****ppppiVar7" (* "*") (pointer_declarator "***ppppiVar7" (* "*") (pointer_declarator "**ppppiVar7" (* "*") (pointer_declarator "*ppppiVar7" (* "*") (identifier "ppppiVar7"))))) (; ";")) (declaration "int ****ppppiVar8;" (primitive_type "int") (pointer_declarator "****ppppiVar8" (* "*") (pointer_declarator "***ppppiVar8" (* "*") (pointer_declarator "**ppppiVar8" (* "*") (pointer_declarator "*ppppiVar8" (* "*") (identifier "ppppiVar8"))))) (; ";")) (declaration "int ****local_28;" (primitive_type "int") (pointer_declarator "****local_28" (* "*") (pointer_declarator "***local_28" (* "*") (pointer_declarator "**local_28" (* "*") (pointer_declarator "*local_28" (* "*") (identifier "local_28"))))) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_00045cc8;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00045cc8" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_00045cc8")) (; ";")) (expression_statement "pppppiVar2 = (int *****)*param_1;" (assignment_expression "pppppiVar2 = (int *****)*param_1" (identifier "pppppiVar2") (= "=") (cast_expression "(int *****)*param_1" (( "(") (type_descriptor "int *****" (primitive_type "int") (abstract_pointer_declarator "*****" (* "*") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_00045cc8;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_00045cc8" (identifier "local_24") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_00045cc8" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00045cc8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00045cc8")))) (; ";")) (expression_statement "pppppiVar5 = param_1;" (assignment_expression "pppppiVar5 = param_1" (identifier "pppppiVar5") (= "=") (identifier "param_1")) (; ";")) (expression_statement "ppppiVar6 = param_2;" (assignment_expression "ppppiVar6 = param_2" (identifier "ppppiVar6") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (pppppiVar2 != (int *****)0x0) {\n    ppppiVar7 = pppppiVar2[1];\n    local_28 = (int ****)pppppiVar2;\n    if (pppppiVar2[1] != (int ****)0x0) {\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }\n    pppppiVar5 = &local_28;\n    linked_list_destroy();\n    *param_1 = local_28;\n    ppppiVar6 = param_2;\n  }" (if "if") (parenthesized_expression "(pppppiVar2 != (int *****)0x0)" (( "(") (binary_expression "pppppiVar2 != (int *****)0x0" (identifier "pppppiVar2") (!= "!=") (cast_expression "(int *****)0x0" (( "(") (type_descriptor "int *****" (primitive_type "int") (abstract_pointer_declarator "*****" (* "*") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    ppppiVar7 = pppppiVar2[1];\n    local_28 = (int ****)pppppiVar2;\n    if (pppppiVar2[1] != (int ****)0x0) {\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }\n    pppppiVar5 = &local_28;\n    linked_list_destroy();\n    *param_1 = local_28;\n    ppppiVar6 = param_2;\n  }" ({ "{") (expression_statement "ppppiVar7 = pppppiVar2[1];" (assignment_expression "ppppiVar7 = pppppiVar2[1]" (identifier "ppppiVar7") (= "=") (subscript_expression "pppppiVar2[1]" (identifier "pppppiVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "local_28 = (int ****)pppppiVar2;" (assignment_expression "local_28 = (int ****)pppppiVar2" (identifier "local_28") (= "=") (cast_expression "(int ****)pppppiVar2" (( "(") (type_descriptor "int ****" (primitive_type "int") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))))) () ")") (identifier "pppppiVar2"))) (; ";")) (if_statement "if (pppppiVar2[1] != (int ****)0x0) {\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }" (if "if") (parenthesized_expression "(pppppiVar2[1] != (int ****)0x0)" (( "(") (binary_expression "pppppiVar2[1] != (int ****)0x0" (subscript_expression "pppppiVar2[1]" (identifier "pppppiVar2") ([ "[") (number_literal "1") (] "]")) (!= "!=") (cast_expression "(int ****)0x0" (( "(") (type_descriptor "int ****" (primitive_type "int") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);\nLAB_00018750:\n      param_2 = ppppiVar6;\n      if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }\n    }" ({ "{") (do_statement "do {\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      } while (ppppiVar8 != (int ****)0x0);" (do "do") (compound_statement "{\n        while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }\n        ppppiVar7 = ppppiVar8;\n      }" ({ "{") (while_statement "while( true ) {\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          pppppiVar5 = (int *****)ppppiVar7[3];\n          ppppiVar8 = (int ****)*ppppiVar7;\n          ppppiVar6 = param_3;\n          iVar3 = (*(code *)param_2)();\n          if (iVar3 == 0) break;\n          pppppiVar5 = (int *****)local_28;\n          linked_list_unlink();\n          ppppiVar6 = ppppiVar7;\n          ppppiVar7 = ppppiVar8;\n          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;\n        }" ({ "{") (expression_statement "pppppiVar5 = (int *****)ppppiVar7[3];" (assignment_expression "pppppiVar5 = (int *****)ppppiVar7[3]" (identifier "pppppiVar5") (= "=") (cast_expression "(int *****)ppppiVar7[3]" (( "(") (type_descriptor "int *****" (primitive_type "int") (abstract_pointer_declarator "*****" (* "*") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))))) () ")") (subscript_expression "ppppiVar7[3]" (identifier "ppppiVar7") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "ppppiVar8 = (int ****)*ppppiVar7;" (assignment_expression "ppppiVar8 = (int ****)*ppppiVar7" (identifier "ppppiVar8") (= "=") (cast_expression "(int ****)*ppppiVar7" (( "(") (type_descriptor "int ****" (primitive_type "int") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))))) () ")") (pointer_expression "*ppppiVar7" (* "*") (identifier "ppppiVar7")))) (; ";")) (expression_statement "ppppiVar6 = param_3;" (assignment_expression "ppppiVar6 = param_3" (identifier "ppppiVar6") (= "=") (identifier "param_3")) (; ";")) (expression_statement "iVar3 = (*(code *)param_2)();" (assignment_expression "iVar3 = (*(code *)param_2)()" (identifier "iVar3") (= "=") (call_expression "(*(code *)param_2)()" (parenthesized_expression "(*(code *)param_2)" (( "(") (pointer_expression "*(code *)param_2" (* "*") (cast_expression "(code *)param_2" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_2"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) break;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pppppiVar5 = (int *****)local_28;" (assignment_expression "pppppiVar5 = (int *****)local_28" (identifier "pppppiVar5") (= "=") (cast_expression "(int *****)local_28" (( "(") (type_descriptor "int *****" (primitive_type "int") (abstract_pointer_declarator "*****" (* "*") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))))) () ")") (identifier "local_28"))) (; ";")) (expression_statement "linked_list_unlink();" (call_expression "linked_list_unlink()" (identifier "linked_list_unlink") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "ppppiVar6 = ppppiVar7;" (assignment_expression "ppppiVar6 = ppppiVar7" (identifier "ppppiVar6") (= "=") (identifier "ppppiVar7")) (; ";")) (expression_statement "ppppiVar7 = ppppiVar8;" (assignment_expression "ppppiVar7 = ppppiVar8" (identifier "ppppiVar7") (= "=") (identifier "ppppiVar8")) (; ";")) (if_statement "if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;" (if "if") (parenthesized_expression "(ppppiVar8 == (int ****)0x0)" (( "(") (binary_expression "ppppiVar8 == (int ****)0x0" (identifier "ppppiVar8") (== "==") (cast_expression "(int ****)0x0" (( "(") (type_descriptor "int ****" (primitive_type "int") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00018750;" (goto "goto") (statement_identifier "LAB_00018750") (; ";"))) (} "}"))) (expression_statement "ppppiVar7 = ppppiVar8;" (assignment_expression "ppppiVar7 = ppppiVar8" (identifier "ppppiVar7") (= "=") (identifier "ppppiVar8")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(ppppiVar8 != (int ****)0x0)" (( "(") (binary_expression "ppppiVar8 != (int ****)0x0" (identifier "ppppiVar8") (!= "!=") (cast_expression "(int ****)0x0" (( "(") (type_descriptor "int ****" (primitive_type "int") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (labeled_statement "LAB_00018750:\n      param_2 = ppppiVar6;" (statement_identifier "LAB_00018750") (: ":") (expression_statement "param_2 = ppppiVar6;" (assignment_expression "param_2 = ppppiVar6" (identifier "param_2") (= "=") (identifier "ppppiVar6")) (; ";"))) (if_statement "if ((int ****)local_28[1] != (int ****)0x0) {\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }" (if "if") (parenthesized_expression "((int ****)local_28[1] != (int ****)0x0)" (( "(") (binary_expression "(int ****)local_28[1] != (int ****)0x0" (cast_expression "(int ****)local_28[1]" (( "(") (type_descriptor "int ****" (primitive_type "int") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))))) () ")") (subscript_expression "local_28[1]" (identifier "local_28") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (cast_expression "(int ****)0x0" (( "(") (type_descriptor "int ****" (primitive_type "int") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        *param_1 = local_28;\n        goto LAB_00018764;\n      }" ({ "{") (expression_statement "*param_1 = local_28;" (assignment_expression "*param_1 = local_28" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_28")) (; ";")) (goto_statement "goto LAB_00018764;" (goto "goto") (statement_identifier "LAB_00018764") (; ";")) (} "}"))) (} "}"))) (expression_statement "pppppiVar5 = &local_28;" (assignment_expression "pppppiVar5 = &local_28" (identifier "pppppiVar5") (= "=") (pointer_expression "&local_28" (& "&") (identifier "local_28"))) (; ";")) (expression_statement "linked_list_destroy();" (call_expression "linked_list_destroy()" (identifier "linked_list_destroy") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*param_1 = local_28;" (assignment_expression "*param_1 = local_28" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_28")) (; ";")) (expression_statement "ppppiVar6 = param_2;" (assignment_expression "ppppiVar6 = param_2" (identifier "ppppiVar6") (= "=") (identifier "param_2")) (; ";")) (} "}"))) (labeled_statement "LAB_00018764:\n  if (local_24 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }" (statement_identifier "LAB_00018764") (: ":") (if_statement "if (local_24 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }" (if "if") (parenthesized_expression "(local_24 == *(int *)puVar1)" (( "(") (binary_expression "local_24 == *(int *)puVar1" (identifier "local_24") (== "==") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n    return *(int *)puVar1;\n  }" ({ "{") (return_statement "return *(int *)puVar1;" (return "return") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR___stack_chk_fail_00045ca8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00045ca8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00045ca8)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00045ca8" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00045ca8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00045ca8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if ((ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)) {\n    if (pppppiVar5 == (int *****)pppiVar4[3]) {\n      return 1;\n    }\n    do {\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    } while ((int *****)pppiVar4[3] != pppppiVar5);\n    return 1;\n  }" (if "if") (parenthesized_expression "((ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0))" (( "(") (binary_expression "(ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)" (parenthesized_expression "(ppppiVar6 != (int ****)0x0)" (( "(") (binary_expression "ppppiVar6 != (int ****)0x0" (identifier "ppppiVar6") (!= "!=") (cast_expression "(int ****)0x0" (( "(") (type_descriptor "int ****" (primitive_type "int") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)" (( "(") (comma_expression "pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0" (assignment_expression "pppiVar4 = ppppiVar6[1]" (identifier "pppiVar4") (= "=") (subscript_expression "ppppiVar6[1]" (identifier "ppppiVar6") ([ "[") (number_literal "1") (] "]"))) (, ",") (binary_expression "pppiVar4 != (int ***)0x0" (identifier "pppiVar4") (!= "!=") (cast_expression "(int ***)0x0" (( "(") (type_descriptor "int ***" (primitive_type "int") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n    if (pppppiVar5 == (int *****)pppiVar4[3]) {\n      return 1;\n    }\n    do {\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    } while ((int *****)pppiVar4[3] != pppppiVar5);\n    return 1;\n  }" ({ "{") (if_statement "if (pppppiVar5 == (int *****)pppiVar4[3]) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(pppppiVar5 == (int *****)pppiVar4[3])" (( "(") (binary_expression "pppppiVar5 == (int *****)pppiVar4[3]" (identifier "pppppiVar5") (== "==") (cast_expression "(int *****)pppiVar4[3]" (( "(") (type_descriptor "int *****" (primitive_type "int") (abstract_pointer_declarator "*****" (* "*") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))))) () ")") (subscript_expression "pppiVar4[3]" (identifier "pppiVar4") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (do_statement "do {\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    } while ((int *****)pppiVar4[3] != pppppiVar5);" (do "do") (compound_statement "{\n      pppiVar4 = (int ***)*pppiVar4;\n      if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }\n    }" ({ "{") (expression_statement "pppiVar4 = (int ***)*pppiVar4;" (assignment_expression "pppiVar4 = (int ***)*pppiVar4" (identifier "pppiVar4") (= "=") (cast_expression "(int ***)*pppiVar4" (( "(") (type_descriptor "int ***" (primitive_type "int") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))) () ")") (pointer_expression "*pppiVar4" (* "*") (identifier "pppiVar4")))) (; ";")) (if_statement "if (pppiVar4 == (int ***)0x0) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(pppiVar4 == (int ***)0x0)" (( "(") (binary_expression "pppiVar4 == (int ***)0x0" (identifier "pppiVar4") (== "==") (cast_expression "(int ***)0x0" (( "(") (type_descriptor "int ***" (primitive_type "int") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "((int *****)pppiVar4[3] != pppppiVar5)" (( "(") (binary_expression "(int *****)pppiVar4[3] != pppppiVar5" (cast_expression "(int *****)pppiVar4[3]" (( "(") (type_descriptor "int *****" (primitive_type "int") (abstract_pointer_declarator "*****" (* "*") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))))) () ")") (subscript_expression "pppiVar4[3]" (identifier "pppiVar4") ([ "[") (number_literal "3") (] "]"))) (!= "!=") (identifier "pppppiVar5")) () ")")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

void function_1(type_1 **plist,type_2 *itr,void *data)

{
  type_3 *puVar1;
  type_1 *var_1;
  int var_2;
  type_4 *var_7;
  type_1 *var_8;
  type_4 *ent;
  type_4 *var_4;
  type_1 *list;
  type_4 *var_6;
  
  puVar1 = PTR___stack_chk_guard_00045cc8;
  var_1 = *plist;
  var_6 = *(type_4 **)PTR___stack_chk_guard_00045cc8;
  var_8 = (type_1 *)plist;
  var_7 = (type_4 *)itr;
  if (var_1 != (type_1 *)0x0) {
    ent = var_1->head;
    list = var_1;
    if (var_1->head != (type_4 *)0x0) {
      do {
        while( true ) {
          var_8 = (type_1 *)ent->data;
          var_4 = ent->next;
          var_7 = (type_4 *)data;
          var_2 = (*itr)(var_8,data);
          if (var_2 == 0) break;
          var_8 = list;
          var_3(list,ent);
          var_7 = ent;
          ent = var_4;
          if (var_4 == (type_4 *)0x0) goto LAB_00018750;
        }
        ent = var_4;
      } while (var_4 != (type_4 *)0x0);
LAB_00018750:
      itr = (type_2 *)var_7;
      if (list->head != (type_4 *)0x0) {
        *plist = list;
        goto LAB_00018764;
      }
    }
    var_8 = (type_1 *)&list;
    var_5((type_1 **)var_8);
    *plist = list;
    var_7 = (type_4 *)itr;
  }
LAB_00018764:
  if (var_6 == *(type_4 **)puVar1) {
    return;
  }
  (*(type_5 *)PTR___stack_chk_fail_00045ca8)();
  if ((var_7 != (type_4 *)0x0) &&
     (var_7 = var_7->prev, var_7 != (type_4 *)0x0)) {
    if (var_8 == (type_1 *)var_7->data) {
      return;
    }
    do {
      var_7 = var_7->next;
      if (var_7 == (type_4 *)0x0) {
        return;
      }
    } while ((type_1 *)var_7->data != var_8);
    return;
  }
  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: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier))))))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier))))))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier))))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier))))))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator)))))) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator)))))) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))))) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))))) value: (number_literal)))) consequence: (compound_statement (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator)))))) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))))) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator)))))) value: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))))) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))))) value: (number_literal))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))))) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))))) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))))) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator)))) value: (number_literal))))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator)))))) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (return_statement (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator)))) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator)))) value: (number_literal)))) consequence: (compound_statement (return_statement (number_literal))))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator)))))) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (return_statement (number_literal)))) (return_statement (number_literal)))))

int MASKED(int *****param_1,int ****param_2,int ****param_3)

{
  undefined *puVar1;
  int *****pppppiVar2;
  int iVar3;
  int ***pppiVar4;
  int *****pppppiVar5;
  int ****ppppiVar6;
  int ****ppppiVar7;
  int ****ppppiVar8;
  int ****local_28;
  int local_24;
  
  puVar1 = PTR___stack_chk_guard_00045cc8;
  pppppiVar2 = (int *****)*param_1;
  local_24 = *(int *)PTR___stack_chk_guard_00045cc8;
  pppppiVar5 = param_1;
  ppppiVar6 = param_2;
  if (pppppiVar2 != (int *****)0x0) {
    ppppiVar7 = pppppiVar2[1];
    local_28 = (int ****)pppppiVar2;
    if (pppppiVar2[1] != (int ****)0x0) {
      do {
        while( true ) {
          pppppiVar5 = (int *****)ppppiVar7[3];
          ppppiVar8 = (int ****)*ppppiVar7;
          ppppiVar6 = param_3;
          iVar3 = (*(code *)param_2)();
          if (iVar3 == 0) break;
          pppppiVar5 = (int *****)local_28;
          linked_list_unlink();
          ppppiVar6 = ppppiVar7;
          ppppiVar7 = ppppiVar8;
          if (ppppiVar8 == (int ****)0x0) goto LAB_00018750;
        }
        ppppiVar7 = ppppiVar8;
      } while (ppppiVar8 != (int ****)0x0);
LAB_00018750:
      param_2 = ppppiVar6;
      if ((int ****)local_28[1] != (int ****)0x0) {
        *param_1 = local_28;
        goto LAB_00018764;
      }
    }
    pppppiVar5 = &local_28;
    linked_list_destroy();
    *param_1 = local_28;
    ppppiVar6 = param_2;
  }
LAB_00018764:
  if (local_24 == *(int *)puVar1) {
    return *(int *)puVar1;
  }
  (*(code *)PTR___stack_chk_fail_00045ca8)();
  if ((ppppiVar6 != (int ****)0x0) && (pppiVar4 = ppppiVar6[1], pppiVar4 != (int ***)0x0)) {
    if (pppppiVar5 == (int *****)pppiVar4[3]) {
      return 1;
    }
    do {
      pppiVar4 = (int ***)*pppiVar4;
      if (pppiVar4 == (int ***)0x0) {
        return 0;
      }
    } while ((int *****)pppiVar4[3] != pppppiVar5);
    return 1;
  }
  return 0;
}

