
/* DWARF original prototype: int execute_all(interface_defn_t * ifd, char * opt, interface_defn_t *
   ifd) */

int execute_all(interface_defn_t *ifd,char *opt,interface_defn_t *ifd_1)

{
  int iVar1;
  char *str;
  int iVar2;
  undefined4 *puVar3;
  address_family_t *paVar4;
  int in_t9;
  
  paVar4 = ifd->address_family;
  if ((int)paVar4 < 1) {
    iVar1 = *(int *)(in_t9 + 0xeb2b0);
  }
  else {
    iVar2 = 0;
    do {
      puVar3 = (undefined4 *)(*(int *)opt + iVar2 * 8);
      iVar1 = (**(code **)(in_t9 + 0xec2ec))(*puVar3,ifd_1);
      if (iVar1 == 0) {
        iVar1 = doit((char *)puVar3[1]);
        if (iVar1 == 0) {
          return 0;
        }
        paVar4 = ifd->address_family;
      }
      iVar2 = iVar2 + 1;
      iVar1 = *(int *)(in_t9 + 0xeb2b0);
    } while (iVar2 < (int)paVar4);
  }
  str = (char *)(**(code **)(in_t9 + 0xeb350))(iVar1 + 0x2d3c,ifd_1);
  iVar1 = doit(str);
  return iVar1;
}



void FUN_0003eedc(int *param_1,int *param_2,undefined4 param_3)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  undefined4 *puVar4;
  int iVar5;
  
  iVar5 = *param_1;
  if (0 < iVar5) {
    iVar3 = 0;
    do {
      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);
      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);
      if (iVar1 == 0) {
        iVar5 = FUN_0003e7b4(puVar4[1]);
        if (iVar5 == 0) {
          return;
        }
        iVar5 = *param_1;
      }
      iVar3 = iVar3 + 1;
    } while (iVar3 < iVar5);
  }
  uVar2 = (*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3);
  FUN_0003e7b4(uVar2);
  return;
}


lui gp,0xf
addiu gp,gp,0x3274
addu gp,gp,t9
addiu sp,sp,-0x38
sw s3,0x24(sp)
sw gp,0x10(sp)
sw s6,0x30(sp)
sw ra,0x34(sp)
sw s5,0x2c(sp)
sw s4,0x28(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
lw s3,0x0(a0)
blez s3,0x0003ef90
_or s6,a2,zero
lw s0,-0x7cb4(gp)
or s1,zero,zero
or s4,a0,zero
or s5,a1,zero
addiu s0,s0,-0x184c
lw v0,0x0(s5)
sll s2,s1,0x3
lw t9,-0x6f88(gp)
or a1,s6,zero
addu s2,v0,s2
jalr t9
_lw a0,0x0(s2)
bne v0,zero,0x0003efe4
_lw gp,0x10(sp)
or t9,s0,zero
bal 0x0003e7b4
_lw a0,0x4(s2)
bne v0,zero,0x0003efe0
_lw gp,0x10(sp)
lw ra,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x38
lw s0,-0x7cb4(gp)
addiu s0,s0,-0x184c
lw a0,-0x7fc4(gp)
or a1,s6,zero
lw t9,-0x7f24(gp)
jalr t9
_addiu a0,a0,0x2d3c
or t9,s0,zero
lw gp,0x10(sp)
or a0,v0,zero
lw ra,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
b 0x0003e7b4
_addiu sp,sp,0x38
lw s3,0x0(s4)
addiu s1,s1,0x1
slt v0,s1,s3
bne v0,zero,0x0003ef30
_lw a0,-0x7fc4(gp)
b 0x0003efa0
_or a1,s6,zero
(translation_unit "void FUN_0003eedc(int *param_1,int *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  iVar5 = *param_1;\n  if (0 < iVar5) {\n    iVar3 = 0;\n    do {\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar5);\n  }\n  uVar2 = (*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3);\n  FUN_0003e7b4(uVar2);\n  return;\n}\n\n" (function_definition "void FUN_0003eedc(int *param_1,int *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  iVar5 = *param_1;\n  if (0 < iVar5) {\n    iVar3 = 0;\n    do {\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar5);\n  }\n  uVar2 = (*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3);\n  FUN_0003e7b4(uVar2);\n  return;\n}" primitive_type (function_declarator "FUN_0003eedc(int *param_1,int *param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,int *param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  iVar5 = *param_1;\n  if (0 < iVar5) {\n    iVar3 = 0;\n    do {\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar5);\n  }\n  uVar2 = (*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3);\n  FUN_0003e7b4(uVar2);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (0 < iVar5) {\n    iVar3 = 0;\n    do {\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar5);\n  }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n    iVar3 = 0;\n    do {\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar5);\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar5);" do (compound_statement "{\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    }" { (expression_statement "puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);" (assignment_expression "puVar4 = (undefined4 *)(*param_2 + iVar3 * 8)" identifier = (cast_expression "(undefined4 *)(*param_2 + iVar3 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + iVar3 * 8)" ( (binary_expression "*param_2 + iVar3 * 8" (pointer_expression "*param_2" * identifier) + (binary_expression "iVar3 * 8" identifier * number_literal)) )))) ;) (expression_statement "iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3)" identifier = (call_expression "(*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3)" (parenthesized_expression "(*(code *)PTR_strcmp_0012b1c8)" ( (pointer_expression "*(code *)PTR_strcmp_0012b1c8" * (cast_expression "(code *)PTR_strcmp_0012b1c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar4,param_3)" ( (pointer_expression "*puVar4" * identifier) , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }" { (expression_statement "iVar5 = FUN_0003e7b4(puVar4[1]);" (assignment_expression "iVar5 = FUN_0003e7b4(puVar4[1])" identifier = (call_expression "FUN_0003e7b4(puVar4[1])" identifier (argument_list "(puVar4[1])" ( (subscript_expression "puVar4[1]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar5 == 0) {\n          return;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < iVar5)" ( (binary_expression "iVar3 < iVar5" identifier < identifier) )) ;) })) (expression_statement "uVar2 = (*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3);" (assignment_expression "uVar2 = (*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3)" identifier = (call_expression "(*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3)" (parenthesized_expression "(*(code *)PTR_FUN_0012a22c)" ( (pointer_expression "*(code *)PTR_FUN_0012a22c" * (cast_expression "(code *)PTR_FUN_0012a22c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_UINT_0012a18c + 0x2d3c,param_3)" ( (binary_expression "PTR_UINT_0012a18c + 0x2d3c" identifier + number_literal) , identifier )))) ;) (expression_statement "FUN_0003e7b4(uVar2);" (call_expression "FUN_0003e7b4(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: int execute_all(interface_defn_t * ifd, char * opt, interface_defn_t *\n   ifd) */\n\nint execute_all(interface_defn_t *ifd,char *opt,interface_defn_t *ifd_1)\n\n{\n  int iVar1;\n  char *str;\n  int iVar2;\n  undefined4 *puVar3;\n  address_family_t *paVar4;\n  int in_t9;\n  \n  paVar4 = ifd->address_family;\n  if ((int)paVar4 < 1) {\n    iVar1 = *(int *)(in_t9 + 0xeb2b0);\n  }\n  else {\n    iVar2 = 0;\n    do {\n      puVar3 = (undefined4 *)(*(int *)opt + iVar2 * 8);\n      iVar1 = (**(code **)(in_t9 + 0xec2ec))(*puVar3,ifd_1);\n      if (iVar1 == 0) {\n        iVar1 = doit((char *)puVar3[1]);\n        if (iVar1 == 0) {\n          return 0;\n        }\n        paVar4 = ifd->address_family;\n      }\n      iVar2 = iVar2 + 1;\n      iVar1 = *(int *)(in_t9 + 0xeb2b0);\n    } while (iVar2 < (int)paVar4);\n  }\n  str = (char *)(**(code **)(in_t9 + 0xeb350))(iVar1 + 0x2d3c,ifd_1);\n  iVar1 = doit(str);\n  return iVar1;\n}\n\n" comment (function_definition "int execute_all(interface_defn_t *ifd,char *opt,interface_defn_t *ifd_1)\n\n{\n  int iVar1;\n  char *str;\n  int iVar2;\n  undefined4 *puVar3;\n  address_family_t *paVar4;\n  int in_t9;\n  \n  paVar4 = ifd->address_family;\n  if ((int)paVar4 < 1) {\n    iVar1 = *(int *)(in_t9 + 0xeb2b0);\n  }\n  else {\n    iVar2 = 0;\n    do {\n      puVar3 = (undefined4 *)(*(int *)opt + iVar2 * 8);\n      iVar1 = (**(code **)(in_t9 + 0xec2ec))(*puVar3,ifd_1);\n      if (iVar1 == 0) {\n        iVar1 = doit((char *)puVar3[1]);\n        if (iVar1 == 0) {\n          return 0;\n        }\n        paVar4 = ifd->address_family;\n      }\n      iVar2 = iVar2 + 1;\n      iVar1 = *(int *)(in_t9 + 0xeb2b0);\n    } while (iVar2 < (int)paVar4);\n  }\n  str = (char *)(**(code **)(in_t9 + 0xeb350))(iVar1 + 0x2d3c,ifd_1);\n  iVar1 = doit(str);\n  return iVar1;\n}" primitive_type (function_declarator "execute_all(interface_defn_t *ifd,char *opt,interface_defn_t *ifd_1)" identifier (parameter_list "(interface_defn_t *ifd,char *opt,interface_defn_t *ifd_1)" ( (parameter_declaration "interface_defn_t *ifd" type_identifier (pointer_declarator "*ifd" * identifier)) , (parameter_declaration "char *opt" primitive_type (pointer_declarator "*opt" * identifier)) , (parameter_declaration "interface_defn_t *ifd_1" type_identifier (pointer_declarator "*ifd_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *str;\n  int iVar2;\n  undefined4 *puVar3;\n  address_family_t *paVar4;\n  int in_t9;\n  \n  paVar4 = ifd->address_family;\n  if ((int)paVar4 < 1) {\n    iVar1 = *(int *)(in_t9 + 0xeb2b0);\n  }\n  else {\n    iVar2 = 0;\n    do {\n      puVar3 = (undefined4 *)(*(int *)opt + iVar2 * 8);\n      iVar1 = (**(code **)(in_t9 + 0xec2ec))(*puVar3,ifd_1);\n      if (iVar1 == 0) {\n        iVar1 = doit((char *)puVar3[1]);\n        if (iVar1 == 0) {\n          return 0;\n        }\n        paVar4 = ifd->address_family;\n      }\n      iVar2 = iVar2 + 1;\n      iVar1 = *(int *)(in_t9 + 0xeb2b0);\n    } while (iVar2 < (int)paVar4);\n  }\n  str = (char *)(**(code **)(in_t9 + 0xeb350))(iVar1 + 0x2d3c,ifd_1);\n  iVar1 = doit(str);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *str;" primitive_type (pointer_declarator "*str" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "address_family_t *paVar4;" type_identifier (pointer_declarator "*paVar4" * identifier) ;) (declaration "int in_t9;" primitive_type identifier ;) (expression_statement "paVar4 = ifd->address_family;" (assignment_expression "paVar4 = ifd->address_family" identifier = (field_expression "ifd->address_family" identifier -> field_identifier)) ;) (if_statement "if ((int)paVar4 < 1) {\n    iVar1 = *(int *)(in_t9 + 0xeb2b0);\n  }\n  else {\n    iVar2 = 0;\n    do {\n      puVar3 = (undefined4 *)(*(int *)opt + iVar2 * 8);\n      iVar1 = (**(code **)(in_t9 + 0xec2ec))(*puVar3,ifd_1);\n      if (iVar1 == 0) {\n        iVar1 = doit((char *)puVar3[1]);\n        if (iVar1 == 0) {\n          return 0;\n        }\n        paVar4 = ifd->address_family;\n      }\n      iVar2 = iVar2 + 1;\n      iVar1 = *(int *)(in_t9 + 0xeb2b0);\n    } while (iVar2 < (int)paVar4);\n  }" if (parenthesized_expression "((int)paVar4 < 1)" ( (binary_expression "(int)paVar4 < 1" (cast_expression "(int)paVar4" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(in_t9 + 0xeb2b0);\n  }" { (expression_statement "iVar1 = *(int *)(in_t9 + 0xeb2b0);" (assignment_expression "iVar1 = *(int *)(in_t9 + 0xeb2b0)" identifier = (pointer_expression "*(int *)(in_t9 + 0xeb2b0)" * (cast_expression "(int *)(in_t9 + 0xeb2b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0xeb2b0)" ( (binary_expression "in_t9 + 0xeb2b0" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar2 = 0;\n    do {\n      puVar3 = (undefined4 *)(*(int *)opt + iVar2 * 8);\n      iVar1 = (**(code **)(in_t9 + 0xec2ec))(*puVar3,ifd_1);\n      if (iVar1 == 0) {\n        iVar1 = doit((char *)puVar3[1]);\n        if (iVar1 == 0) {\n          return 0;\n        }\n        paVar4 = ifd->address_family;\n      }\n      iVar2 = iVar2 + 1;\n      iVar1 = *(int *)(in_t9 + 0xeb2b0);\n    } while (iVar2 < (int)paVar4);\n  }" else (compound_statement "{\n    iVar2 = 0;\n    do {\n      puVar3 = (undefined4 *)(*(int *)opt + iVar2 * 8);\n      iVar1 = (**(code **)(in_t9 + 0xec2ec))(*puVar3,ifd_1);\n      if (iVar1 == 0) {\n        iVar1 = doit((char *)puVar3[1]);\n        if (iVar1 == 0) {\n          return 0;\n        }\n        paVar4 = ifd->address_family;\n      }\n      iVar2 = iVar2 + 1;\n      iVar1 = *(int *)(in_t9 + 0xeb2b0);\n    } while (iVar2 < (int)paVar4);\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      puVar3 = (undefined4 *)(*(int *)opt + iVar2 * 8);\n      iVar1 = (**(code **)(in_t9 + 0xec2ec))(*puVar3,ifd_1);\n      if (iVar1 == 0) {\n        iVar1 = doit((char *)puVar3[1]);\n        if (iVar1 == 0) {\n          return 0;\n        }\n        paVar4 = ifd->address_family;\n      }\n      iVar2 = iVar2 + 1;\n      iVar1 = *(int *)(in_t9 + 0xeb2b0);\n    } while (iVar2 < (int)paVar4);" do (compound_statement "{\n      puVar3 = (undefined4 *)(*(int *)opt + iVar2 * 8);\n      iVar1 = (**(code **)(in_t9 + 0xec2ec))(*puVar3,ifd_1);\n      if (iVar1 == 0) {\n        iVar1 = doit((char *)puVar3[1]);\n        if (iVar1 == 0) {\n          return 0;\n        }\n        paVar4 = ifd->address_family;\n      }\n      iVar2 = iVar2 + 1;\n      iVar1 = *(int *)(in_t9 + 0xeb2b0);\n    }" { (expression_statement "puVar3 = (undefined4 *)(*(int *)opt + iVar2 * 8);" (assignment_expression "puVar3 = (undefined4 *)(*(int *)opt + iVar2 * 8)" identifier = (cast_expression "(undefined4 *)(*(int *)opt + iVar2 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)opt + iVar2 * 8)" ( (binary_expression "*(int *)opt + iVar2 * 8" (pointer_expression "*(int *)opt" * (cast_expression "(int *)opt" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (binary_expression "iVar2 * 8" identifier * number_literal)) )))) ;) (expression_statement "iVar1 = (**(code **)(in_t9 + 0xec2ec))(*puVar3,ifd_1);" (assignment_expression "iVar1 = (**(code **)(in_t9 + 0xec2ec))(*puVar3,ifd_1)" identifier = (call_expression "(**(code **)(in_t9 + 0xec2ec))(*puVar3,ifd_1)" (parenthesized_expression "(**(code **)(in_t9 + 0xec2ec))" ( (pointer_expression "**(code **)(in_t9 + 0xec2ec)" * (pointer_expression "*(code **)(in_t9 + 0xec2ec)" * (cast_expression "(code **)(in_t9 + 0xec2ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0xec2ec)" ( (binary_expression "in_t9 + 0xec2ec" identifier + number_literal) ))))) )) (argument_list "(*puVar3,ifd_1)" ( (pointer_expression "*puVar3" * identifier) , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n        iVar1 = doit((char *)puVar3[1]);\n        if (iVar1 == 0) {\n          return 0;\n        }\n        paVar4 = ifd->address_family;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar1 = doit((char *)puVar3[1]);\n        if (iVar1 == 0) {\n          return 0;\n        }\n        paVar4 = ifd->address_family;\n      }" { (expression_statement "iVar1 = doit((char *)puVar3[1]);" (assignment_expression "iVar1 = doit((char *)puVar3[1])" identifier = (call_expression "doit((char *)puVar3[1])" identifier (argument_list "((char *)puVar3[1])" ( (cast_expression "(char *)puVar3[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[1]" identifier [ number_literal ])) )))) ;) (if_statement "if (iVar1 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "paVar4 = ifd->address_family;" (assignment_expression "paVar4 = ifd->address_family" identifier = (field_expression "ifd->address_family" identifier -> field_identifier)) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = *(int *)(in_t9 + 0xeb2b0);" (assignment_expression "iVar1 = *(int *)(in_t9 + 0xeb2b0)" identifier = (pointer_expression "*(int *)(in_t9 + 0xeb2b0)" * (cast_expression "(int *)(in_t9 + 0xeb2b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0xeb2b0)" ( (binary_expression "in_t9 + 0xeb2b0" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar2 < (int)paVar4)" ( (binary_expression "iVar2 < (int)paVar4" identifier < (cast_expression "(int)paVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) }))) (expression_statement "str = (char *)(**(code **)(in_t9 + 0xeb350))(iVar1 + 0x2d3c,ifd_1);" (assignment_expression "str = (char *)(**(code **)(in_t9 + 0xeb350))(iVar1 + 0x2d3c,ifd_1)" identifier = (cast_expression "(char *)(**(code **)(in_t9 + 0xeb350))(iVar1 + 0x2d3c,ifd_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(in_t9 + 0xeb350))(iVar1 + 0x2d3c,ifd_1)" (parenthesized_expression "(**(code **)(in_t9 + 0xeb350))" ( (pointer_expression "**(code **)(in_t9 + 0xeb350)" * (pointer_expression "*(code **)(in_t9 + 0xeb350)" * (cast_expression "(code **)(in_t9 + 0xeb350)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0xeb350)" ( (binary_expression "in_t9 + 0xeb350" identifier + number_literal) ))))) )) (argument_list "(iVar1 + 0x2d3c,ifd_1)" ( (binary_expression "iVar1 + 0x2d3c" identifier + number_literal) , identifier ))))) ;) (expression_statement "iVar1 = doit(str);" (assignment_expression "iVar1 = doit(str)" identifier = (call_expression "doit(str)" identifier (argument_list "(str)" ( identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void FUN_0003eedc(int *param_1,int *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  iVar5 = *param_1;\n  if (0 < iVar5) {\n    iVar3 = 0;\n    do {\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar5);\n  }\n  uVar2 = (*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3);\n  FUN_0003e7b4(uVar2);\n  return;\n}\n\n" (function_definition "void FUN_0003eedc(int *param_1,int *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  iVar5 = *param_1;\n  if (0 < iVar5) {\n    iVar3 = 0;\n    do {\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar5);\n  }\n  uVar2 = (*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3);\n  FUN_0003e7b4(uVar2);\n  return;\n}" primitive_type (function_declarator "FUN_0003eedc(int *param_1,int *param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,int *param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  iVar5 = *param_1;\n  if (0 < iVar5) {\n    iVar3 = 0;\n    do {\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar5);\n  }\n  uVar2 = (*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3);\n  FUN_0003e7b4(uVar2);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (0 < iVar5) {\n    iVar3 = 0;\n    do {\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar5);\n  }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n    iVar3 = 0;\n    do {\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar5);\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar5);" do (compound_statement "{\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    }" { (expression_statement "puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);" (assignment_expression "puVar4 = (undefined4 *)(*param_2 + iVar3 * 8)" identifier = (cast_expression "(undefined4 *)(*param_2 + iVar3 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + iVar3 * 8)" ( (binary_expression "*param_2 + iVar3 * 8" (pointer_expression "*param_2" * identifier) + (binary_expression "iVar3 * 8" identifier * number_literal)) )))) ;) (expression_statement "iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3)" identifier = (call_expression "(*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3)" (parenthesized_expression "(*(code *)PTR_strcmp_0012b1c8)" ( (pointer_expression "*(code *)PTR_strcmp_0012b1c8" * (cast_expression "(code *)PTR_strcmp_0012b1c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar4,param_3)" ( (pointer_expression "*puVar4" * identifier) , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }" { (expression_statement "iVar5 = FUN_0003e7b4(puVar4[1]);" (assignment_expression "iVar5 = FUN_0003e7b4(puVar4[1])" identifier = (call_expression "FUN_0003e7b4(puVar4[1])" identifier (argument_list "(puVar4[1])" ( (subscript_expression "puVar4[1]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar5 == 0) {\n          return;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < iVar5)" ( (binary_expression "iVar3 < iVar5" identifier < identifier) )) ;) })) (expression_statement "uVar2 = (*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3);" (assignment_expression "uVar2 = (*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3)" identifier = (call_expression "(*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3)" (parenthesized_expression "(*(code *)PTR_FUN_0012a22c)" ( (pointer_expression "*(code *)PTR_FUN_0012a22c" * (cast_expression "(code *)PTR_FUN_0012a22c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_UINT_0012a18c + 0x2d3c,param_3)" ( (binary_expression "PTR_UINT_0012a18c + 0x2d3c" identifier + number_literal) , identifier )))) ;) (expression_statement "FUN_0003e7b4(uVar2);" (call_expression "FUN_0003e7b4(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_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 ( (binary_expression IDENT + LIT) , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0003eedc(int *param_1,int *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  iVar5 = *param_1;\n  if (0 < iVar5) {\n    iVar3 = 0;\n    do {\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar5);\n  }\n  uVar2 = (*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3);\n  FUN_0003e7b4(uVar2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003eedc(int *param_1,int *param_2,undefined4 param_3)" (identifier "FUN_0003eedc") (parameter_list "(int *param_1,int *param_2,undefined4 param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  iVar5 = *param_1;\n  if (0 < iVar5) {\n    iVar3 = 0;\n    do {\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar5);\n  }\n  uVar2 = (*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3);\n  FUN_0003e7b4(uVar2);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" (identifier "iVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (0 < iVar5) {\n    iVar3 = 0;\n    do {\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar5);\n  }" (if "if") (parenthesized_expression "(0 < iVar5)" (( "(") (binary_expression "0 < iVar5" (number_literal "0") (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n    iVar3 = 0;\n    do {\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar5);\n  }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < iVar5);" (do "do") (compound_statement "{\n      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);\n      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);\n      if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }\n      iVar3 = iVar3 + 1;\n    }" ({ "{") (expression_statement "puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);" (assignment_expression "puVar4 = (undefined4 *)(*param_2 + iVar3 * 8)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(*param_2 + iVar3 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + iVar3 * 8)" (( "(") (binary_expression "*param_2 + iVar3 * 8" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (binary_expression "iVar3 * 8" (identifier "iVar3") (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);" (assignment_expression "iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3)" (parenthesized_expression "(*(code *)PTR_strcmp_0012b1c8)" (( "(") (pointer_expression "*(code *)PTR_strcmp_0012b1c8" (* "*") (cast_expression "(code *)PTR_strcmp_0012b1c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_0012b1c8"))) () ")")) (argument_list "(*puVar4,param_3)" (( "(") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar5 = FUN_0003e7b4(puVar4[1]);\n        if (iVar5 == 0) {\n          return;\n        }\n        iVar5 = *param_1;\n      }" ({ "{") (expression_statement "iVar5 = FUN_0003e7b4(puVar4[1]);" (assignment_expression "iVar5 = FUN_0003e7b4(puVar4[1])" (identifier "iVar5") (= "=") (call_expression "FUN_0003e7b4(puVar4[1])" (identifier "FUN_0003e7b4") (argument_list "(puVar4[1])" (( "(") (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n          return;\n        }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return;\n        }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" (identifier "iVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_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 < iVar5)" (( "(") (binary_expression "iVar3 < iVar5" (identifier "iVar3") (< "<") (identifier "iVar5")) () ")")) (; ";")) (} "}"))) (expression_statement "uVar2 = (*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3);" (assignment_expression "uVar2 = (*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3)" (parenthesized_expression "(*(code *)PTR_FUN_0012a22c)" (( "(") (pointer_expression "*(code *)PTR_FUN_0012a22c" (* "*") (cast_expression "(code *)PTR_FUN_0012a22c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0012a22c"))) () ")")) (argument_list "(PTR_UINT_0012a18c + 0x2d3c,param_3)" (( "(") (binary_expression "PTR_UINT_0012a18c + 0x2d3c" (identifier "PTR_UINT_0012a18c") (+ "+") (number_literal "0x2d3c")) (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "FUN_0003e7b4(uVar2);" (call_expression "FUN_0003e7b4(uVar2)" (identifier "FUN_0003e7b4") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return;" (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: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))))) (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 (pointer_expression argument: (identifier)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_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 (binary_expression left: (identifier) right: (number_literal)) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

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

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  undefined4 *puVar4;
  int iVar5;
  
  iVar5 = *param_1;
  if (0 < iVar5) {
    iVar3 = 0;
    do {
      puVar4 = (undefined4 *)(*param_2 + iVar3 * 8);
      iVar1 = (*(code *)PTR_strcmp_0012b1c8)(*puVar4,param_3);
      if (iVar1 == 0) {
        iVar5 = FUN_0003e7b4(puVar4[1]);
        if (iVar5 == 0) {
          return;
        }
        iVar5 = *param_1;
      }
      iVar3 = iVar3 + 1;
    } while (iVar3 < iVar5);
  }
  uVar2 = (*(code *)PTR_FUN_0012a22c)(PTR_UINT_0012a18c + 0x2d3c,param_3);
  FUN_0003e7b4(uVar2);
  return;
}

