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

WORD_LIST * assoc_keys_to_word_list(HASH_TABLE *h)

{
  WORD_DESC *word;
  int iVar1;
  int iVar2;
  bucket_contents *pbVar3;
  WORD_LIST *wlink;
  
  if (((h != (HASH_TABLE *)0x0) && (h->nentries != 0)) && (iVar1 = h->nbuckets, 0 < iVar1)) {
    wlink = (WORD_LIST *)0x0;
    iVar2 = 0;
    do {
      pbVar3 = h->bucket_array[iVar2];
      if (pbVar3 != (BUCKET_CONTENTS *)0x0) {
        do {
          word = make_bare_word(pbVar3->key);
          wlink = make_word_list(word,wlink);
          pbVar3 = pbVar3->next;
        } while (pbVar3 != (bucket_contents *)0x0);
        iVar1 = h->nbuckets;
      }
      iVar2 = iVar2 + 1;
    } while (iVar2 < iVar1);
    if (wlink != (WORD_LIST *)0x0) {
      if (wlink->next != (word_list *)0x0) {
        wlink = (WORD_LIST *)list_reverse((GENERIC_LIST *)wlink);
      }
      return wlink;
    }
  }
  return (WORD_LIST *)0x0;
}



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

int * assoc_keys_to_word_list(int *param_1)

{
  undefined4 uVar1;
  int iVar2;
  int iVar3;
  int *piVar4;
  int *piVar5;
  
  if (((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2)) {
    piVar5 = (int *)0x0;
    iVar3 = 0;
    do {
      piVar4 = *(int **)(*param_1 + iVar3 * 4);
      if (piVar4 != (int *)0x0) {
        do {
          uVar1 = make_bare_word(piVar4[1]);
          piVar5 = (int *)make_word_list(uVar1,piVar5);
          piVar4 = (int *)*piVar4;
        } while (piVar4 != (int *)0x0);
        iVar2 = param_1[1];
      }
      iVar3 = iVar3 + 1;
    } while (iVar3 < iVar2);
    if (piVar5 != (int *)0x0) {
      if (*piVar5 != 0) {
        piVar5 = (int *)list_reverse(piVar5);
      }
      return piVar5;
    }
  }
  return (int *)0x0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000312b0
ADD EBX,0xd9b37
SUB ESP,0x1c
MOV EBP,dword ptr [ESP + 0x30]
TEST EBP,EBP
JZ 0x00098558
MOV ESI,dword ptr [EBP + 0x8]
TEST ESI,ESI
JZ 0x00098558
MOV EAX,dword ptr [EBP + 0x4]
TEST EAX,EAX
JLE 0x00098558
XOR EDI,EDI
XOR EDX,EDX
LEA ESI,[ESI]
MOV ECX,dword ptr [EBP]
MOV ESI,dword ptr [ECX + EDX*0x4]
TEST ESI,ESI
JZ 0x0009852a
LEA ESI,[ESI]
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0xc
PUSH dword ptr [ESI + 0x4]
CALL 0x00043400
POP EDX
POP ECX
PUSH EDI
PUSH EAX
CALL 0x000438d0
MOV ESI,dword ptr [ESI]
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
MOV EDI,EAX
TEST ESI,ESI
JNZ 0x00098500
MOV EAX,dword ptr [EBP + 0x4]
ADD EDX,0x1
CMP EDX,EAX
JL 0x000984f0
TEST EDI,EDI
JZ 0x00098558
MOV EAX,dword ptr [EDI]
TEST EAX,EAX
JZ 0x00098549
SUB ESP,0xc
PUSH EDI
CALL 0x000a47f0
ADD ESP,0x10
MOV EDI,EAX
ADD ESP,0x1c
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0x1c
XOR EDI,EDI
POP EBX
MOV EAX,EDI
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * assoc_keys_to_word_list(int *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int *piVar5;\n  \n  if (((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2)) {\n    piVar5 = (int *)0x0;\n    iVar3 = 0;\n    do {\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar2);\n    if (piVar5 != (int *)0x0) {\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }\n  }\n  return (int *)0x0;\n}\n\n" comment (function_definition "int * assoc_keys_to_word_list(int *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int *piVar5;\n  \n  if (((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2)) {\n    piVar5 = (int *)0x0;\n    iVar3 = 0;\n    do {\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar2);\n    if (piVar5 != (int *)0x0) {\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }\n  }\n  return (int *)0x0;\n}" primitive_type (pointer_declarator "* assoc_keys_to_word_list(int *param_1)" * (function_declarator "assoc_keys_to_word_list(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int *piVar5;\n  \n  if (((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2)) {\n    piVar5 = (int *)0x0;\n    iVar3 = 0;\n    do {\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar2);\n    if (piVar5 != (int *)0x0) {\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }\n  }\n  return (int *)0x0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (if_statement "if (((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2)) {\n    piVar5 = (int *)0x0;\n    iVar3 = 0;\n    do {\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar2);\n    if (piVar5 != (int *)0x0) {\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }\n  }" if (parenthesized_expression "(((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2))" ( (binary_expression "((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2)" (parenthesized_expression "((param_1 != (int *)0x0) && (param_1[2] != 0))" ( (binary_expression "(param_1 != (int *)0x0) && (param_1[2] != 0)" (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(param_1[2] != 0)" ( (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) != number_literal) ))) )) && (parenthesized_expression "(iVar2 = param_1[1], 0 < iVar2)" ( (comma_expression "iVar2 = param_1[1], 0 < iVar2" (assignment_expression "iVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) , (binary_expression "0 < iVar2" number_literal < identifier)) ))) )) (compound_statement "{\n    piVar5 = (int *)0x0;\n    iVar3 = 0;\n    do {\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar2);\n    if (piVar5 != (int *)0x0) {\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }\n  }" { (expression_statement "piVar5 = (int *)0x0;" (assignment_expression "piVar5 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar2);" do (compound_statement "{\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    }" { (expression_statement "piVar4 = *(int **)(*param_1 + iVar3 * 4);" (assignment_expression "piVar4 = *(int **)(*param_1 + iVar3 * 4)" identifier = (pointer_expression "*(int **)(*param_1 + iVar3 * 4)" * (cast_expression "(int **)(*param_1 + iVar3 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + iVar3 * 4)" ( (binary_expression "*param_1 + iVar3 * 4" (pointer_expression "*param_1" * identifier) + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }" if (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }" { (do_statement "do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);" do (compound_statement "{\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        }" { (expression_statement "uVar1 = make_bare_word(piVar4[1]);" (assignment_expression "uVar1 = make_bare_word(piVar4[1])" identifier = (call_expression "make_bare_word(piVar4[1])" identifier (argument_list "(piVar4[1])" ( (subscript_expression "piVar4[1]" identifier [ number_literal ]) )))) ;) (expression_statement "piVar5 = (int *)make_word_list(uVar1,piVar5);" (assignment_expression "piVar5 = (int *)make_word_list(uVar1,piVar5)" identifier = (cast_expression "(int *)make_word_list(uVar1,piVar5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "make_word_list(uVar1,piVar5)" identifier (argument_list "(uVar1,piVar5)" ( identifier , identifier ))))) ;) (expression_statement "piVar4 = (int *)*piVar4;" (assignment_expression "piVar4 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) }) while (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < iVar2)" ( (binary_expression "iVar3 < iVar2" identifier < identifier) )) ;) (if_statement "if (piVar5 != (int *)0x0) {\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }" if (parenthesized_expression "(piVar5 != (int *)0x0)" ( (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }" { (if_statement "if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }" if (parenthesized_expression "(*piVar5 != 0)" ( (binary_expression "*piVar5 != 0" (pointer_expression "*piVar5" * identifier) != number_literal) )) (compound_statement "{\n        piVar5 = (int *)list_reverse(piVar5);\n      }" { (expression_statement "piVar5 = (int *)list_reverse(piVar5);" (assignment_expression "piVar5 = (int *)list_reverse(piVar5)" identifier = (cast_expression "(int *)list_reverse(piVar5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "list_reverse(piVar5)" identifier (argument_list "(piVar5)" ( identifier ))))) ;) })) (return_statement "return piVar5;" return identifier ;) })) })) (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nWORD_LIST * assoc_keys_to_word_list(HASH_TABLE *h)\n\n{\n  WORD_DESC *word;\n  int iVar1;\n  int iVar2;\n  bucket_contents *pbVar3;\n  WORD_LIST *wlink;\n  \n  if (((h != (HASH_TABLE *)0x0) && (h->nentries != 0)) && (iVar1 = h->nbuckets, 0 < iVar1)) {\n    wlink = (WORD_LIST *)0x0;\n    iVar2 = 0;\n    do {\n      pbVar3 = h->bucket_array[iVar2];\n      if (pbVar3 != (BUCKET_CONTENTS *)0x0) {\n        do {\n          word = make_bare_word(pbVar3->key);\n          wlink = make_word_list(word,wlink);\n          pbVar3 = pbVar3->next;\n        } while (pbVar3 != (bucket_contents *)0x0);\n        iVar1 = h->nbuckets;\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < iVar1);\n    if (wlink != (WORD_LIST *)0x0) {\n      if (wlink->next != (word_list *)0x0) {\n        wlink = (WORD_LIST *)list_reverse((GENERIC_LIST *)wlink);\n      }\n      return wlink;\n    }\n  }\n  return (WORD_LIST *)0x0;\n}\n\n" comment comment (function_definition "WORD_LIST * assoc_keys_to_word_list(HASH_TABLE *h)\n\n{\n  WORD_DESC *word;\n  int iVar1;\n  int iVar2;\n  bucket_contents *pbVar3;\n  WORD_LIST *wlink;\n  \n  if (((h != (HASH_TABLE *)0x0) && (h->nentries != 0)) && (iVar1 = h->nbuckets, 0 < iVar1)) {\n    wlink = (WORD_LIST *)0x0;\n    iVar2 = 0;\n    do {\n      pbVar3 = h->bucket_array[iVar2];\n      if (pbVar3 != (BUCKET_CONTENTS *)0x0) {\n        do {\n          word = make_bare_word(pbVar3->key);\n          wlink = make_word_list(word,wlink);\n          pbVar3 = pbVar3->next;\n        } while (pbVar3 != (bucket_contents *)0x0);\n        iVar1 = h->nbuckets;\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < iVar1);\n    if (wlink != (WORD_LIST *)0x0) {\n      if (wlink->next != (word_list *)0x0) {\n        wlink = (WORD_LIST *)list_reverse((GENERIC_LIST *)wlink);\n      }\n      return wlink;\n    }\n  }\n  return (WORD_LIST *)0x0;\n}" type_identifier (pointer_declarator "* assoc_keys_to_word_list(HASH_TABLE *h)" * (function_declarator "assoc_keys_to_word_list(HASH_TABLE *h)" identifier (parameter_list "(HASH_TABLE *h)" ( (parameter_declaration "HASH_TABLE *h" type_identifier (pointer_declarator "*h" * identifier)) )))) (compound_statement "{\n  WORD_DESC *word;\n  int iVar1;\n  int iVar2;\n  bucket_contents *pbVar3;\n  WORD_LIST *wlink;\n  \n  if (((h != (HASH_TABLE *)0x0) && (h->nentries != 0)) && (iVar1 = h->nbuckets, 0 < iVar1)) {\n    wlink = (WORD_LIST *)0x0;\n    iVar2 = 0;\n    do {\n      pbVar3 = h->bucket_array[iVar2];\n      if (pbVar3 != (BUCKET_CONTENTS *)0x0) {\n        do {\n          word = make_bare_word(pbVar3->key);\n          wlink = make_word_list(word,wlink);\n          pbVar3 = pbVar3->next;\n        } while (pbVar3 != (bucket_contents *)0x0);\n        iVar1 = h->nbuckets;\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < iVar1);\n    if (wlink != (WORD_LIST *)0x0) {\n      if (wlink->next != (word_list *)0x0) {\n        wlink = (WORD_LIST *)list_reverse((GENERIC_LIST *)wlink);\n      }\n      return wlink;\n    }\n  }\n  return (WORD_LIST *)0x0;\n}" { (declaration "WORD_DESC *word;" type_identifier (pointer_declarator "*word" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bucket_contents *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "WORD_LIST *wlink;" type_identifier (pointer_declarator "*wlink" * identifier) ;) (if_statement "if (((h != (HASH_TABLE *)0x0) && (h->nentries != 0)) && (iVar1 = h->nbuckets, 0 < iVar1)) {\n    wlink = (WORD_LIST *)0x0;\n    iVar2 = 0;\n    do {\n      pbVar3 = h->bucket_array[iVar2];\n      if (pbVar3 != (BUCKET_CONTENTS *)0x0) {\n        do {\n          word = make_bare_word(pbVar3->key);\n          wlink = make_word_list(word,wlink);\n          pbVar3 = pbVar3->next;\n        } while (pbVar3 != (bucket_contents *)0x0);\n        iVar1 = h->nbuckets;\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < iVar1);\n    if (wlink != (WORD_LIST *)0x0) {\n      if (wlink->next != (word_list *)0x0) {\n        wlink = (WORD_LIST *)list_reverse((GENERIC_LIST *)wlink);\n      }\n      return wlink;\n    }\n  }" if (parenthesized_expression "(((h != (HASH_TABLE *)0x0) && (h->nentries != 0)) && (iVar1 = h->nbuckets, 0 < iVar1))" ( (binary_expression "((h != (HASH_TABLE *)0x0) && (h->nentries != 0)) && (iVar1 = h->nbuckets, 0 < iVar1)" (parenthesized_expression "((h != (HASH_TABLE *)0x0) && (h->nentries != 0))" ( (binary_expression "(h != (HASH_TABLE *)0x0) && (h->nentries != 0)" (parenthesized_expression "(h != (HASH_TABLE *)0x0)" ( (binary_expression "h != (HASH_TABLE *)0x0" identifier != (cast_expression "(HASH_TABLE *)0x0" ( (type_descriptor "HASH_TABLE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(h->nentries != 0)" ( (binary_expression "h->nentries != 0" (field_expression "h->nentries" identifier -> field_identifier) != number_literal) ))) )) && (parenthesized_expression "(iVar1 = h->nbuckets, 0 < iVar1)" ( (comma_expression "iVar1 = h->nbuckets, 0 < iVar1" (assignment_expression "iVar1 = h->nbuckets" identifier = (field_expression "h->nbuckets" identifier -> field_identifier)) , (binary_expression "0 < iVar1" number_literal < identifier)) ))) )) (compound_statement "{\n    wlink = (WORD_LIST *)0x0;\n    iVar2 = 0;\n    do {\n      pbVar3 = h->bucket_array[iVar2];\n      if (pbVar3 != (BUCKET_CONTENTS *)0x0) {\n        do {\n          word = make_bare_word(pbVar3->key);\n          wlink = make_word_list(word,wlink);\n          pbVar3 = pbVar3->next;\n        } while (pbVar3 != (bucket_contents *)0x0);\n        iVar1 = h->nbuckets;\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < iVar1);\n    if (wlink != (WORD_LIST *)0x0) {\n      if (wlink->next != (word_list *)0x0) {\n        wlink = (WORD_LIST *)list_reverse((GENERIC_LIST *)wlink);\n      }\n      return wlink;\n    }\n  }" { (expression_statement "wlink = (WORD_LIST *)0x0;" (assignment_expression "wlink = (WORD_LIST *)0x0" identifier = (cast_expression "(WORD_LIST *)0x0" ( (type_descriptor "WORD_LIST *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      pbVar3 = h->bucket_array[iVar2];\n      if (pbVar3 != (BUCKET_CONTENTS *)0x0) {\n        do {\n          word = make_bare_word(pbVar3->key);\n          wlink = make_word_list(word,wlink);\n          pbVar3 = pbVar3->next;\n        } while (pbVar3 != (bucket_contents *)0x0);\n        iVar1 = h->nbuckets;\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < iVar1);" do (compound_statement "{\n      pbVar3 = h->bucket_array[iVar2];\n      if (pbVar3 != (BUCKET_CONTENTS *)0x0) {\n        do {\n          word = make_bare_word(pbVar3->key);\n          wlink = make_word_list(word,wlink);\n          pbVar3 = pbVar3->next;\n        } while (pbVar3 != (bucket_contents *)0x0);\n        iVar1 = h->nbuckets;\n      }\n      iVar2 = iVar2 + 1;\n    }" { (expression_statement "pbVar3 = h->bucket_array[iVar2];" (assignment_expression "pbVar3 = h->bucket_array[iVar2]" identifier = (subscript_expression "h->bucket_array[iVar2]" (field_expression "h->bucket_array" identifier -> field_identifier) [ identifier ])) ;) (if_statement "if (pbVar3 != (BUCKET_CONTENTS *)0x0) {\n        do {\n          word = make_bare_word(pbVar3->key);\n          wlink = make_word_list(word,wlink);\n          pbVar3 = pbVar3->next;\n        } while (pbVar3 != (bucket_contents *)0x0);\n        iVar1 = h->nbuckets;\n      }" if (parenthesized_expression "(pbVar3 != (BUCKET_CONTENTS *)0x0)" ( (binary_expression "pbVar3 != (BUCKET_CONTENTS *)0x0" identifier != (cast_expression "(BUCKET_CONTENTS *)0x0" ( (type_descriptor "BUCKET_CONTENTS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        do {\n          word = make_bare_word(pbVar3->key);\n          wlink = make_word_list(word,wlink);\n          pbVar3 = pbVar3->next;\n        } while (pbVar3 != (bucket_contents *)0x0);\n        iVar1 = h->nbuckets;\n      }" { (do_statement "do {\n          word = make_bare_word(pbVar3->key);\n          wlink = make_word_list(word,wlink);\n          pbVar3 = pbVar3->next;\n        } while (pbVar3 != (bucket_contents *)0x0);" do (compound_statement "{\n          word = make_bare_word(pbVar3->key);\n          wlink = make_word_list(word,wlink);\n          pbVar3 = pbVar3->next;\n        }" { (expression_statement "word = make_bare_word(pbVar3->key);" (assignment_expression "word = make_bare_word(pbVar3->key)" identifier = (call_expression "make_bare_word(pbVar3->key)" identifier (argument_list "(pbVar3->key)" ( (field_expression "pbVar3->key" identifier -> field_identifier) )))) ;) (expression_statement "wlink = make_word_list(word,wlink);" (assignment_expression "wlink = make_word_list(word,wlink)" identifier = (call_expression "make_word_list(word,wlink)" identifier (argument_list "(word,wlink)" ( identifier , identifier )))) ;) (expression_statement "pbVar3 = pbVar3->next;" (assignment_expression "pbVar3 = pbVar3->next" identifier = (field_expression "pbVar3->next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(pbVar3 != (bucket_contents *)0x0)" ( (binary_expression "pbVar3 != (bucket_contents *)0x0" identifier != (cast_expression "(bucket_contents *)0x0" ( (type_descriptor "bucket_contents *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar1 = h->nbuckets;" (assignment_expression "iVar1 = h->nbuckets" identifier = (field_expression "h->nbuckets" identifier -> field_identifier)) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 < iVar1)" ( (binary_expression "iVar2 < iVar1" identifier < identifier) )) ;) (if_statement "if (wlink != (WORD_LIST *)0x0) {\n      if (wlink->next != (word_list *)0x0) {\n        wlink = (WORD_LIST *)list_reverse((GENERIC_LIST *)wlink);\n      }\n      return wlink;\n    }" if (parenthesized_expression "(wlink != (WORD_LIST *)0x0)" ( (binary_expression "wlink != (WORD_LIST *)0x0" identifier != (cast_expression "(WORD_LIST *)0x0" ( (type_descriptor "WORD_LIST *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (wlink->next != (word_list *)0x0) {\n        wlink = (WORD_LIST *)list_reverse((GENERIC_LIST *)wlink);\n      }\n      return wlink;\n    }" { (if_statement "if (wlink->next != (word_list *)0x0) {\n        wlink = (WORD_LIST *)list_reverse((GENERIC_LIST *)wlink);\n      }" if (parenthesized_expression "(wlink->next != (word_list *)0x0)" ( (binary_expression "wlink->next != (word_list *)0x0" (field_expression "wlink->next" identifier -> field_identifier) != (cast_expression "(word_list *)0x0" ( (type_descriptor "word_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        wlink = (WORD_LIST *)list_reverse((GENERIC_LIST *)wlink);\n      }" { (expression_statement "wlink = (WORD_LIST *)list_reverse((GENERIC_LIST *)wlink);" (assignment_expression "wlink = (WORD_LIST *)list_reverse((GENERIC_LIST *)wlink)" identifier = (cast_expression "(WORD_LIST *)list_reverse((GENERIC_LIST *)wlink)" ( (type_descriptor "WORD_LIST *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "list_reverse((GENERIC_LIST *)wlink)" identifier (argument_list "((GENERIC_LIST *)wlink)" ( (cast_expression "(GENERIC_LIST *)wlink" ( (type_descriptor "GENERIC_LIST *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))))) ;) })) (return_statement "return wlink;" return identifier ;) })) })) (return_statement "return (WORD_LIST *)0x0;" return (cast_expression "(WORD_LIST *)0x0" ( (type_descriptor "WORD_LIST *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "int * assoc_keys_to_word_list(int *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int *piVar5;\n  \n  if (((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2)) {\n    piVar5 = (int *)0x0;\n    iVar3 = 0;\n    do {\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar2);\n    if (piVar5 != (int *)0x0) {\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }\n  }\n  return (int *)0x0;\n}\n\n" (function_definition "int * assoc_keys_to_word_list(int *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int *piVar5;\n  \n  if (((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2)) {\n    piVar5 = (int *)0x0;\n    iVar3 = 0;\n    do {\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar2);\n    if (piVar5 != (int *)0x0) {\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }\n  }\n  return (int *)0x0;\n}" primitive_type (pointer_declarator "* assoc_keys_to_word_list(int *param_1)" * (function_declarator "assoc_keys_to_word_list(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int *piVar5;\n  \n  if (((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2)) {\n    piVar5 = (int *)0x0;\n    iVar3 = 0;\n    do {\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar2);\n    if (piVar5 != (int *)0x0) {\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }\n  }\n  return (int *)0x0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (if_statement "if (((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2)) {\n    piVar5 = (int *)0x0;\n    iVar3 = 0;\n    do {\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar2);\n    if (piVar5 != (int *)0x0) {\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }\n  }" if (parenthesized_expression "(((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2))" ( (binary_expression "((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2)" (parenthesized_expression "((param_1 != (int *)0x0) && (param_1[2] != 0))" ( (binary_expression "(param_1 != (int *)0x0) && (param_1[2] != 0)" (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(param_1[2] != 0)" ( (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) != number_literal) ))) )) && (parenthesized_expression "(iVar2 = param_1[1], 0 < iVar2)" ( (comma_expression "iVar2 = param_1[1], 0 < iVar2" (assignment_expression "iVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) , (binary_expression "0 < iVar2" number_literal < identifier)) ))) )) (compound_statement "{\n    piVar5 = (int *)0x0;\n    iVar3 = 0;\n    do {\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar2);\n    if (piVar5 != (int *)0x0) {\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }\n  }" { (expression_statement "piVar5 = (int *)0x0;" (assignment_expression "piVar5 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar2);" do (compound_statement "{\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    }" { (expression_statement "piVar4 = *(int **)(*param_1 + iVar3 * 4);" (assignment_expression "piVar4 = *(int **)(*param_1 + iVar3 * 4)" identifier = (pointer_expression "*(int **)(*param_1 + iVar3 * 4)" * (cast_expression "(int **)(*param_1 + iVar3 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + iVar3 * 4)" ( (binary_expression "*param_1 + iVar3 * 4" (pointer_expression "*param_1" * identifier) + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }" if (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }" { (do_statement "do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);" do (compound_statement "{\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        }" { (expression_statement "uVar1 = make_bare_word(piVar4[1]);" (assignment_expression "uVar1 = make_bare_word(piVar4[1])" identifier = (call_expression "make_bare_word(piVar4[1])" identifier (argument_list "(piVar4[1])" ( (subscript_expression "piVar4[1]" identifier [ number_literal ]) )))) ;) (expression_statement "piVar5 = (int *)make_word_list(uVar1,piVar5);" (assignment_expression "piVar5 = (int *)make_word_list(uVar1,piVar5)" identifier = (cast_expression "(int *)make_word_list(uVar1,piVar5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "make_word_list(uVar1,piVar5)" identifier (argument_list "(uVar1,piVar5)" ( identifier , identifier ))))) ;) (expression_statement "piVar4 = (int *)*piVar4;" (assignment_expression "piVar4 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) }) while (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < iVar2)" ( (binary_expression "iVar3 < iVar2" identifier < identifier) )) ;) (if_statement "if (piVar5 != (int *)0x0) {\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }" if (parenthesized_expression "(piVar5 != (int *)0x0)" ( (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }" { (if_statement "if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }" if (parenthesized_expression "(*piVar5 != 0)" ( (binary_expression "*piVar5 != 0" (pointer_expression "*piVar5" * identifier) != number_literal) )) (compound_statement "{\n        piVar5 = (int *)list_reverse(piVar5);\n      }" { (expression_statement "piVar5 = (int *)list_reverse(piVar5);" (assignment_expression "piVar5 = (int *)list_reverse(piVar5)" identifier = (cast_expression "(int *)list_reverse(piVar5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "list_reverse(piVar5)" identifier (argument_list "(piVar5)" ( identifier ))))) ;) })) (return_statement "return piVar5;" return identifier ;) })) })) (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) , (binary_expression LIT < IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) })) (return_statement return IDENT ;) })) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })))
(function_definition "int * assoc_keys_to_word_list(int *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int *piVar5;\n  \n  if (((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2)) {\n    piVar5 = (int *)0x0;\n    iVar3 = 0;\n    do {\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar2);\n    if (piVar5 != (int *)0x0) {\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }\n  }\n  return (int *)0x0;\n}" (primitive_type "int") (pointer_declarator "* assoc_keys_to_word_list(int *param_1)" (* "*") (function_declarator "assoc_keys_to_word_list(int *param_1)" (identifier "assoc_keys_to_word_list") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int *piVar5;\n  \n  if (((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2)) {\n    piVar5 = (int *)0x0;\n    iVar3 = 0;\n    do {\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar2);\n    if (piVar5 != (int *)0x0) {\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }\n  }\n  return (int *)0x0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (if_statement "if (((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2)) {\n    piVar5 = (int *)0x0;\n    iVar3 = 0;\n    do {\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar2);\n    if (piVar5 != (int *)0x0) {\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }\n  }" (if "if") (parenthesized_expression "(((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2))" (( "(") (binary_expression "((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2)" (parenthesized_expression "((param_1 != (int *)0x0) && (param_1[2] != 0))" (( "(") (binary_expression "(param_1 != (int *)0x0) && (param_1[2] != 0)" (parenthesized_expression "(param_1 != (int *)0x0)" (( "(") (binary_expression "param_1 != (int *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(param_1[2] != 0)" (( "(") (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = param_1[1], 0 < iVar2)" (( "(") (comma_expression "iVar2 = param_1[1], 0 < iVar2" (assignment_expression "iVar2 = param_1[1]" (identifier "iVar2") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (, ",") (binary_expression "0 < iVar2" (number_literal "0") (< "<") (identifier "iVar2"))) () ")"))) () ")")) (compound_statement "{\n    piVar5 = (int *)0x0;\n    iVar3 = 0;\n    do {\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar2);\n    if (piVar5 != (int *)0x0) {\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }\n  }" ({ "{") (expression_statement "piVar5 = (int *)0x0;" (assignment_expression "piVar5 = (int *)0x0" (identifier "piVar5") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar2);" (do "do") (compound_statement "{\n      piVar4 = *(int **)(*param_1 + iVar3 * 4);\n      if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }\n      iVar3 = iVar3 + 1;\n    }" ({ "{") (expression_statement "piVar4 = *(int **)(*param_1 + iVar3 * 4);" (assignment_expression "piVar4 = *(int **)(*param_1 + iVar3 * 4)" (identifier "piVar4") (= "=") (pointer_expression "*(int **)(*param_1 + iVar3 * 4)" (* "*") (cast_expression "(int **)(*param_1 + iVar3 * 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + iVar3 * 4)" (( "(") (binary_expression "*param_1 + iVar3 * 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (piVar4 != (int *)0x0) {\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }" (if "if") (parenthesized_expression "(piVar4 != (int *)0x0)" (( "(") (binary_expression "piVar4 != (int *)0x0" (identifier "piVar4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);\n        iVar2 = param_1[1];\n      }" ({ "{") (do_statement "do {\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        } while (piVar4 != (int *)0x0);" (do "do") (compound_statement "{\n          uVar1 = make_bare_word(piVar4[1]);\n          piVar5 = (int *)make_word_list(uVar1,piVar5);\n          piVar4 = (int *)*piVar4;\n        }" ({ "{") (expression_statement "uVar1 = make_bare_word(piVar4[1]);" (assignment_expression "uVar1 = make_bare_word(piVar4[1])" (identifier "uVar1") (= "=") (call_expression "make_bare_word(piVar4[1])" (identifier "make_bare_word") (argument_list "(piVar4[1])" (( "(") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")) () ")")))) (; ";")) (expression_statement "piVar5 = (int *)make_word_list(uVar1,piVar5);" (assignment_expression "piVar5 = (int *)make_word_list(uVar1,piVar5)" (identifier "piVar5") (= "=") (cast_expression "(int *)make_word_list(uVar1,piVar5)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "make_word_list(uVar1,piVar5)" (identifier "make_word_list") (argument_list "(uVar1,piVar5)" (( "(") (identifier "uVar1") (, ",") (identifier "piVar5") () ")"))))) (; ";")) (expression_statement "piVar4 = (int *)*piVar4;" (assignment_expression "piVar4 = (int *)*piVar4" (identifier "piVar4") (= "=") (cast_expression "(int *)*piVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar4 != (int *)0x0)" (( "(") (binary_expression "piVar4 != (int *)0x0" (identifier "piVar4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" (identifier "iVar2") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}"))) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 < iVar2)" (( "(") (binary_expression "iVar3 < iVar2" (identifier "iVar3") (< "<") (identifier "iVar2")) () ")")) (; ";")) (if_statement "if (piVar5 != (int *)0x0) {\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }" (if "if") (parenthesized_expression "(piVar5 != (int *)0x0)" (( "(") (binary_expression "piVar5 != (int *)0x0" (identifier "piVar5") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }\n      return piVar5;\n    }" ({ "{") (if_statement "if (*piVar5 != 0) {\n        piVar5 = (int *)list_reverse(piVar5);\n      }" (if "if") (parenthesized_expression "(*piVar5 != 0)" (( "(") (binary_expression "*piVar5 != 0" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        piVar5 = (int *)list_reverse(piVar5);\n      }" ({ "{") (expression_statement "piVar5 = (int *)list_reverse(piVar5);" (assignment_expression "piVar5 = (int *)list_reverse(piVar5)" (identifier "piVar5") (= "=") (cast_expression "(int *)list_reverse(piVar5)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "list_reverse(piVar5)" (identifier "list_reverse") (argument_list "(piVar5)" (( "(") (identifier "piVar5") () ")"))))) (; ";")) (} "}"))) (return_statement "return piVar5;" (return "return") (identifier "piVar5") (; ";")) (} "}"))) (} "}"))) (return_statement "return (int *)0x0;" (return "return") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}")))

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

type_1 * function_1(type_2 *var_1)

{
  type_3 *word;
  int var_2;
  int var_6;
  type_4 *var_3;
  type_1 *var_7;
  
  if (((var_1 != (type_2 *)0x0) && (var_1->nentries != 0)) && (var_2 = var_1->nbuckets, 0 < var_2)) {
    var_7 = (type_1 *)0x0;
    var_6 = 0;
    do {
      var_3 = var_1->bucket_array[var_6];
      if (var_3 != (type_5 *)0x0) {
        do {
          word = var_4(var_3->key);
          var_7 = var_5(word,var_7);
          var_3 = var_3->next;
        } while (var_3 != (type_4 *)0x0);
        var_2 = var_1->nbuckets;
      }
      var_6 = var_6 + 1;
    } while (var_6 < var_2);
    if (var_7 != (type_1 *)0x0) {
      if (var_7->next != (type_6 *)0x0) {
        var_7 = (type_1 *)var_8((type_7 *)var_7);
      }
      return var_7;
    }
  }
  return (type_1 *)0x0;
}


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

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

int * MASKED(int *param_1)

{
  undefined4 uVar1;
  int iVar2;
  int iVar3;
  int *piVar4;
  int *piVar5;
  
  if (((param_1 != (int *)0x0) && (param_1[2] != 0)) && (iVar2 = param_1[1], 0 < iVar2)) {
    piVar5 = (int *)0x0;
    iVar3 = 0;
    do {
      piVar4 = *(int **)(*param_1 + iVar3 * 4);
      if (piVar4 != (int *)0x0) {
        do {
          uVar1 = make_bare_word(piVar4[1]);
          piVar5 = (int *)make_word_list(uVar1,piVar5);
          piVar4 = (int *)*piVar4;
        } while (piVar4 != (int *)0x0);
        iVar2 = param_1[1];
      }
      iVar3 = iVar3 + 1;
    } while (iVar3 < iVar2);
    if (piVar5 != (int *)0x0) {
      if (*piVar5 != 0) {
        piVar5 = (int *)list_reverse(piVar5);
      }
      return piVar5;
    }
  }
  return (int *)0x0;
}

