
_Bool hasevery(tree *a,tree *b)

{
  uchar *puVar1;
  tree **pptVar2;
  undefined3 extraout_var;
  undefined3 extraout_var_00;
  _Bool _Var4;
  int iVar3;
  
  if (b == (tree *)0x0) {
    return true;
  }
  _Var4 = hasevery(a,b->llink);
  iVar3 = CONCAT31(extraout_var,_Var4);
  if (iVar3 != 0) {
    _Var4 = hasevery(a,b->rlink);
    iVar3 = CONCAT31(extraout_var_00,_Var4);
    if (iVar3 != 0) {
      if (a != (tree *)0x0) {
        do {
          puVar1 = &a->label;
          if (*puVar1 == b->label) goto LAB_0001af2c;
          pptVar2 = &a->llink;
          a = a->rlink;
          if (b->label < *puVar1) {
            a = *pptVar2;
          }
        } while (a != (tree *)0x0);
      }
      return false;
    }
  }
LAB_0001af2c:
  return SUB41(iVar3,0);
}



int FUN_0001ae90(undefined4 *param_1,undefined4 *param_2)

{
  byte *pbVar1;
  int iVar2;
  undefined4 *puVar3;
  
  if (param_2 == (undefined4 *)0x0) {
    return 1;
  }
  iVar2 = FUN_0001ae90(param_1,*param_2);
  if ((iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)) {
    if (param_1 != (undefined4 *)0x0) {
      do {
        pbVar1 = (byte *)(param_1 + 3);
        if (*pbVar1 == *(byte *)(param_2 + 3)) {
          return iVar2;
        }
        puVar3 = (undefined4 *)*param_1;
        param_1 = (undefined4 *)param_1[1];
        if (*(byte *)(param_2 + 3) < *pbVar1) {
          param_1 = puVar3;
        }
      } while (param_1 != (undefined4 *)0x0);
    }
    return 0;
  }
  return iVar2;
}


lui gp,0x4
addiu gp,gp,0x3250
addu gp,gp,t9
beq a1,zero,0x0001af58
_nop
addiu sp,sp,-0x28
sw s1,0x1c(sp)
sw s2,0x20(sp)
or s2,a1,zero
lw s1,-0x7ea8(gp)
lw a1,0x0(a1)
sw s0,0x18(sp)
addiu s1,s1,-0x5170
sw gp,0x10(sp)
sw ra,0x24(sp)
or t9,s1,zero
bal 0x0001ae90
_or s0,a0,zero
beq v0,zero,0x0001af28
_or t9,s1,zero
lw a1,0x4(s2)
bal 0x0001ae90
_or a0,s0,zero
beq v0,zero,0x0001af2c
_lw ra,0x24(sp)
beq s0,zero,0x0001af40
_nop
b 0x0001af1c
_lbu a0,0xc(s2)
lw a1,0x0(s0)
sltu v1,a0,v1
lw s0,0x4(s0)
movn s0,a1,v1
beq s0,zero,0x0001af40
_lw ra,0x24(sp)
lbu v1,0xc(s0)
bne v1,a0,0x0001af04
_nop
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
or v0,zero,zero
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
jr ra
_li v0,0x1
(translation_unit "int FUN_0001ae90(undefined4 *param_1,undefined4 *param_2)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  if (param_2 == (undefined4 *)0x0) {\n    return 1;\n  }\n  iVar2 = FUN_0001ae90(param_1,*param_2);\n  if ((iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)) {\n    if (param_1 != (undefined4 *)0x0) {\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }\n    return 0;\n  }\n  return iVar2;\n}\n\n" (function_definition "int FUN_0001ae90(undefined4 *param_1,undefined4 *param_2)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  if (param_2 == (undefined4 *)0x0) {\n    return 1;\n  }\n  iVar2 = FUN_0001ae90(param_1,*param_2);\n  if ((iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)) {\n    if (param_1 != (undefined4 *)0x0) {\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }\n    return 0;\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_0001ae90(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  if (param_2 == (undefined4 *)0x0) {\n    return 1;\n  }\n  iVar2 = FUN_0001ae90(param_1,*param_2);\n  if ((iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)) {\n    if (param_1 != (undefined4 *)0x0) {\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }\n    return 0;\n  }\n  return iVar2;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    return 1;\n  }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar2 = FUN_0001ae90(param_1,*param_2);" (assignment_expression "iVar2 = FUN_0001ae90(param_1,*param_2)" identifier = (call_expression "FUN_0001ae90(param_1,*param_2)" identifier (argument_list "(param_1,*param_2)" ( identifier , (pointer_expression "*param_2" * identifier) )))) ;) (if_statement "if ((iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)) {\n    if (param_1 != (undefined4 *)0x0) {\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }\n    return 0;\n  }" if (parenthesized_expression "((iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0))" ( (binary_expression "(iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0" (assignment_expression "iVar2 = FUN_0001ae90(param_1,param_2[1])" identifier = (call_expression "FUN_0001ae90(param_1,param_2[1])" identifier (argument_list "(param_1,param_2[1])" ( identifier , (subscript_expression "param_2[1]" identifier [ number_literal ]) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    if (param_1 != (undefined4 *)0x0) {\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }\n    return 0;\n  }" { (if_statement "if (param_1 != (undefined4 *)0x0) {\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }" if (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }" { (do_statement "do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);" do (compound_statement "{\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      }" { (expression_statement "pbVar1 = (byte *)(param_1 + 3);" (assignment_expression "pbVar1 = (byte *)(param_1 + 3)" identifier = (cast_expression "(byte *)(param_1 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) ;) (if_statement "if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }" if (parenthesized_expression "(*pbVar1 == *(byte *)(param_2 + 3))" ( (binary_expression "*pbVar1 == *(byte *)(param_2 + 3)" (pointer_expression "*pbVar1" * identifier) == (pointer_expression "*(byte *)(param_2 + 3)" * (cast_expression "(byte *)(param_2 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 3)" ( (binary_expression "param_2 + 3" identifier + number_literal) ))))) )) (compound_statement "{\n          return iVar2;\n        }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "puVar3 = (undefined4 *)*param_1;" (assignment_expression "puVar3 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "param_1 = (undefined4 *)param_1[1];" (assignment_expression "param_1 = (undefined4 *)param_1[1]" identifier = (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (if_statement "if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }" if (parenthesized_expression "(*(byte *)(param_2 + 3) < *pbVar1)" ( (binary_expression "*(byte *)(param_2 + 3) < *pbVar1" (pointer_expression "*(byte *)(param_2 + 3)" * (cast_expression "(byte *)(param_2 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 3)" ( (binary_expression "param_2 + 3" identifier + number_literal) )))) < (pointer_expression "*pbVar1" * identifier)) )) (compound_statement "{\n          param_1 = puVar3;\n        }" { (expression_statement "param_1 = puVar3;" (assignment_expression "param_1 = puVar3" identifier = identifier) ;) })) }) while (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return 0;" return number_literal ;) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "_Bool hasevery(tree *a,tree *b)\n\n{\n  uchar *puVar1;\n  tree **pptVar2;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  _Bool _Var4;\n  int iVar3;\n  \n  if (b == (tree *)0x0) {\n    return true;\n  }\n  _Var4 = hasevery(a,b->llink);\n  iVar3 = CONCAT31(extraout_var,_Var4);\n  if (iVar3 != 0) {\n    _Var4 = hasevery(a,b->rlink);\n    iVar3 = CONCAT31(extraout_var_00,_Var4);\n    if (iVar3 != 0) {\n      if (a != (tree *)0x0) {\n        do {\n          puVar1 = &a->label;\n          if (*puVar1 == b->label) goto LAB_0001af2c;\n          pptVar2 = &a->llink;\n          a = a->rlink;\n          if (b->label < *puVar1) {\n            a = *pptVar2;\n          }\n        } while (a != (tree *)0x0);\n      }\n      return false;\n    }\n  }\nLAB_0001af2c:\n  return SUB41(iVar3,0);\n}\n\n" (function_definition "_Bool hasevery(tree *a,tree *b)\n\n{\n  uchar *puVar1;\n  tree **pptVar2;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  _Bool _Var4;\n  int iVar3;\n  \n  if (b == (tree *)0x0) {\n    return true;\n  }\n  _Var4 = hasevery(a,b->llink);\n  iVar3 = CONCAT31(extraout_var,_Var4);\n  if (iVar3 != 0) {\n    _Var4 = hasevery(a,b->rlink);\n    iVar3 = CONCAT31(extraout_var_00,_Var4);\n    if (iVar3 != 0) {\n      if (a != (tree *)0x0) {\n        do {\n          puVar1 = &a->label;\n          if (*puVar1 == b->label) goto LAB_0001af2c;\n          pptVar2 = &a->llink;\n          a = a->rlink;\n          if (b->label < *puVar1) {\n            a = *pptVar2;\n          }\n        } while (a != (tree *)0x0);\n      }\n      return false;\n    }\n  }\nLAB_0001af2c:\n  return SUB41(iVar3,0);\n}" type_identifier (function_declarator "hasevery(tree *a,tree *b)" identifier (parameter_list "(tree *a,tree *b)" ( (parameter_declaration "tree *a" type_identifier (pointer_declarator "*a" * identifier)) , (parameter_declaration "tree *b" type_identifier (pointer_declarator "*b" * identifier)) ))) (compound_statement "{\n  uchar *puVar1;\n  tree **pptVar2;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  _Bool _Var4;\n  int iVar3;\n  \n  if (b == (tree *)0x0) {\n    return true;\n  }\n  _Var4 = hasevery(a,b->llink);\n  iVar3 = CONCAT31(extraout_var,_Var4);\n  if (iVar3 != 0) {\n    _Var4 = hasevery(a,b->rlink);\n    iVar3 = CONCAT31(extraout_var_00,_Var4);\n    if (iVar3 != 0) {\n      if (a != (tree *)0x0) {\n        do {\n          puVar1 = &a->label;\n          if (*puVar1 == b->label) goto LAB_0001af2c;\n          pptVar2 = &a->llink;\n          a = a->rlink;\n          if (b->label < *puVar1) {\n            a = *pptVar2;\n          }\n        } while (a != (tree *)0x0);\n      }\n      return false;\n    }\n  }\nLAB_0001af2c:\n  return SUB41(iVar3,0);\n}" { (declaration "uchar *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "tree **pptVar2;" type_identifier (pointer_declarator "**pptVar2" * (pointer_declarator "*pptVar2" * identifier)) ;) (declaration "undefined3 extraout_var;" type_identifier identifier ;) (declaration "undefined3 extraout_var_00;" type_identifier identifier ;) (declaration "_Bool _Var4;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (b == (tree *)0x0) {\n    return true;\n  }" if (parenthesized_expression "(b == (tree *)0x0)" ( (binary_expression "b == (tree *)0x0" identifier == (cast_expression "(tree *)0x0" ( (type_descriptor "tree *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (expression_statement "_Var4 = hasevery(a,b->llink);" (assignment_expression "_Var4 = hasevery(a,b->llink)" identifier = (call_expression "hasevery(a,b->llink)" identifier (argument_list "(a,b->llink)" ( identifier , (field_expression "b->llink" identifier -> field_identifier) )))) ;) (expression_statement "iVar3 = CONCAT31(extraout_var,_Var4);" (assignment_expression "iVar3 = CONCAT31(extraout_var,_Var4)" identifier = (call_expression "CONCAT31(extraout_var,_Var4)" identifier (argument_list "(extraout_var,_Var4)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 != 0) {\n    _Var4 = hasevery(a,b->rlink);\n    iVar3 = CONCAT31(extraout_var_00,_Var4);\n    if (iVar3 != 0) {\n      if (a != (tree *)0x0) {\n        do {\n          puVar1 = &a->label;\n          if (*puVar1 == b->label) goto LAB_0001af2c;\n          pptVar2 = &a->llink;\n          a = a->rlink;\n          if (b->label < *puVar1) {\n            a = *pptVar2;\n          }\n        } while (a != (tree *)0x0);\n      }\n      return false;\n    }\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    _Var4 = hasevery(a,b->rlink);\n    iVar3 = CONCAT31(extraout_var_00,_Var4);\n    if (iVar3 != 0) {\n      if (a != (tree *)0x0) {\n        do {\n          puVar1 = &a->label;\n          if (*puVar1 == b->label) goto LAB_0001af2c;\n          pptVar2 = &a->llink;\n          a = a->rlink;\n          if (b->label < *puVar1) {\n            a = *pptVar2;\n          }\n        } while (a != (tree *)0x0);\n      }\n      return false;\n    }\n  }" { (expression_statement "_Var4 = hasevery(a,b->rlink);" (assignment_expression "_Var4 = hasevery(a,b->rlink)" identifier = (call_expression "hasevery(a,b->rlink)" identifier (argument_list "(a,b->rlink)" ( identifier , (field_expression "b->rlink" identifier -> field_identifier) )))) ;) (expression_statement "iVar3 = CONCAT31(extraout_var_00,_Var4);" (assignment_expression "iVar3 = CONCAT31(extraout_var_00,_Var4)" identifier = (call_expression "CONCAT31(extraout_var_00,_Var4)" identifier (argument_list "(extraout_var_00,_Var4)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 != 0) {\n      if (a != (tree *)0x0) {\n        do {\n          puVar1 = &a->label;\n          if (*puVar1 == b->label) goto LAB_0001af2c;\n          pptVar2 = &a->llink;\n          a = a->rlink;\n          if (b->label < *puVar1) {\n            a = *pptVar2;\n          }\n        } while (a != (tree *)0x0);\n      }\n      return false;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      if (a != (tree *)0x0) {\n        do {\n          puVar1 = &a->label;\n          if (*puVar1 == b->label) goto LAB_0001af2c;\n          pptVar2 = &a->llink;\n          a = a->rlink;\n          if (b->label < *puVar1) {\n            a = *pptVar2;\n          }\n        } while (a != (tree *)0x0);\n      }\n      return false;\n    }" { (if_statement "if (a != (tree *)0x0) {\n        do {\n          puVar1 = &a->label;\n          if (*puVar1 == b->label) goto LAB_0001af2c;\n          pptVar2 = &a->llink;\n          a = a->rlink;\n          if (b->label < *puVar1) {\n            a = *pptVar2;\n          }\n        } while (a != (tree *)0x0);\n      }" if (parenthesized_expression "(a != (tree *)0x0)" ( (binary_expression "a != (tree *)0x0" identifier != (cast_expression "(tree *)0x0" ( (type_descriptor "tree *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        do {\n          puVar1 = &a->label;\n          if (*puVar1 == b->label) goto LAB_0001af2c;\n          pptVar2 = &a->llink;\n          a = a->rlink;\n          if (b->label < *puVar1) {\n            a = *pptVar2;\n          }\n        } while (a != (tree *)0x0);\n      }" { (do_statement "do {\n          puVar1 = &a->label;\n          if (*puVar1 == b->label) goto LAB_0001af2c;\n          pptVar2 = &a->llink;\n          a = a->rlink;\n          if (b->label < *puVar1) {\n            a = *pptVar2;\n          }\n        } while (a != (tree *)0x0);" do (compound_statement "{\n          puVar1 = &a->label;\n          if (*puVar1 == b->label) goto LAB_0001af2c;\n          pptVar2 = &a->llink;\n          a = a->rlink;\n          if (b->label < *puVar1) {\n            a = *pptVar2;\n          }\n        }" { (expression_statement "puVar1 = &a->label;" (assignment_expression "puVar1 = &a->label" identifier = (pointer_expression "&a->label" & (field_expression "a->label" identifier -> field_identifier))) ;) (if_statement "if (*puVar1 == b->label) goto LAB_0001af2c;" if (parenthesized_expression "(*puVar1 == b->label)" ( (binary_expression "*puVar1 == b->label" (pointer_expression "*puVar1" * identifier) == (field_expression "b->label" identifier -> field_identifier)) )) (goto_statement "goto LAB_0001af2c;" goto statement_identifier ;)) (expression_statement "pptVar2 = &a->llink;" (assignment_expression "pptVar2 = &a->llink" identifier = (pointer_expression "&a->llink" & (field_expression "a->llink" identifier -> field_identifier))) ;) (expression_statement "a = a->rlink;" (assignment_expression "a = a->rlink" identifier = (field_expression "a->rlink" identifier -> field_identifier)) ;) (if_statement "if (b->label < *puVar1) {\n            a = *pptVar2;\n          }" if (parenthesized_expression "(b->label < *puVar1)" ( (binary_expression "b->label < *puVar1" (field_expression "b->label" identifier -> field_identifier) < (pointer_expression "*puVar1" * identifier)) )) (compound_statement "{\n            a = *pptVar2;\n          }" { (expression_statement "a = *pptVar2;" (assignment_expression "a = *pptVar2" identifier = (pointer_expression "*pptVar2" * identifier)) ;) })) }) while (parenthesized_expression "(a != (tree *)0x0)" ( (binary_expression "a != (tree *)0x0" identifier != (cast_expression "(tree *)0x0" ( (type_descriptor "tree *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return false;" return false ;) })) })) (labeled_statement "LAB_0001af2c:\n  return SUB41(iVar3,0);" statement_identifier : (return_statement "return SUB41(iVar3,0);" return (call_expression "SUB41(iVar3,0)" identifier (argument_list "(iVar3,0)" ( identifier , number_literal ))) ;)) })))
(translation_unit "int FUN_0001ae90(undefined4 *param_1,undefined4 *param_2)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  if (param_2 == (undefined4 *)0x0) {\n    return 1;\n  }\n  iVar2 = FUN_0001ae90(param_1,*param_2);\n  if ((iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)) {\n    if (param_1 != (undefined4 *)0x0) {\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }\n    return 0;\n  }\n  return iVar2;\n}\n\n" (function_definition "int FUN_0001ae90(undefined4 *param_1,undefined4 *param_2)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  if (param_2 == (undefined4 *)0x0) {\n    return 1;\n  }\n  iVar2 = FUN_0001ae90(param_1,*param_2);\n  if ((iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)) {\n    if (param_1 != (undefined4 *)0x0) {\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }\n    return 0;\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_0001ae90(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  if (param_2 == (undefined4 *)0x0) {\n    return 1;\n  }\n  iVar2 = FUN_0001ae90(param_1,*param_2);\n  if ((iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)) {\n    if (param_1 != (undefined4 *)0x0) {\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }\n    return 0;\n  }\n  return iVar2;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    return 1;\n  }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar2 = FUN_0001ae90(param_1,*param_2);" (assignment_expression "iVar2 = FUN_0001ae90(param_1,*param_2)" identifier = (call_expression "FUN_0001ae90(param_1,*param_2)" identifier (argument_list "(param_1,*param_2)" ( identifier , (pointer_expression "*param_2" * identifier) )))) ;) (if_statement "if ((iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)) {\n    if (param_1 != (undefined4 *)0x0) {\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }\n    return 0;\n  }" if (parenthesized_expression "((iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0))" ( (binary_expression "(iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0" (assignment_expression "iVar2 = FUN_0001ae90(param_1,param_2[1])" identifier = (call_expression "FUN_0001ae90(param_1,param_2[1])" identifier (argument_list "(param_1,param_2[1])" ( identifier , (subscript_expression "param_2[1]" identifier [ number_literal ]) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    if (param_1 != (undefined4 *)0x0) {\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }\n    return 0;\n  }" { (if_statement "if (param_1 != (undefined4 *)0x0) {\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }" if (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }" { (do_statement "do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);" do (compound_statement "{\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      }" { (expression_statement "pbVar1 = (byte *)(param_1 + 3);" (assignment_expression "pbVar1 = (byte *)(param_1 + 3)" identifier = (cast_expression "(byte *)(param_1 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) ;) (if_statement "if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }" if (parenthesized_expression "(*pbVar1 == *(byte *)(param_2 + 3))" ( (binary_expression "*pbVar1 == *(byte *)(param_2 + 3)" (pointer_expression "*pbVar1" * identifier) == (pointer_expression "*(byte *)(param_2 + 3)" * (cast_expression "(byte *)(param_2 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 3)" ( (binary_expression "param_2 + 3" identifier + number_literal) ))))) )) (compound_statement "{\n          return iVar2;\n        }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "puVar3 = (undefined4 *)*param_1;" (assignment_expression "puVar3 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "param_1 = (undefined4 *)param_1[1];" (assignment_expression "param_1 = (undefined4 *)param_1[1]" identifier = (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (if_statement "if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }" if (parenthesized_expression "(*(byte *)(param_2 + 3) < *pbVar1)" ( (binary_expression "*(byte *)(param_2 + 3) < *pbVar1" (pointer_expression "*(byte *)(param_2 + 3)" * (cast_expression "(byte *)(param_2 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 3)" ( (binary_expression "param_2 + 3" identifier + number_literal) )))) < (pointer_expression "*pbVar1" * identifier)) )) (compound_statement "{\n          param_1 = puVar3;\n        }" { (expression_statement "param_1 = puVar3;" (assignment_expression "param_1 = puVar3" identifier = identifier) ;) })) }) while (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return 0;" return number_literal ;) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (return_statement return LIT ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_0001ae90(undefined4 *param_1,undefined4 *param_2)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  if (param_2 == (undefined4 *)0x0) {\n    return 1;\n  }\n  iVar2 = FUN_0001ae90(param_1,*param_2);\n  if ((iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)) {\n    if (param_1 != (undefined4 *)0x0) {\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }\n    return 0;\n  }\n  return iVar2;\n}" (primitive_type "int") (function_declarator "FUN_0001ae90(undefined4 *param_1,undefined4 *param_2)" (identifier "FUN_0001ae90") (parameter_list "(undefined4 *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  \n  if (param_2 == (undefined4 *)0x0) {\n    return 1;\n  }\n  iVar2 = FUN_0001ae90(param_1,*param_2);\n  if ((iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)) {\n    if (param_1 != (undefined4 *)0x0) {\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }\n    return 0;\n  }\n  return iVar2;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    return 1;\n  }" (if "if") (parenthesized_expression "(param_2 == (undefined4 *)0x0)" (( "(") (binary_expression "param_2 == (undefined4 *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "iVar2 = FUN_0001ae90(param_1,*param_2);" (assignment_expression "iVar2 = FUN_0001ae90(param_1,*param_2)" (identifier "iVar2") (= "=") (call_expression "FUN_0001ae90(param_1,*param_2)" (identifier "FUN_0001ae90") (argument_list "(param_1,*param_2)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")")))) (; ";")) (if_statement "if ((iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)) {\n    if (param_1 != (undefined4 *)0x0) {\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }\n    return 0;\n  }" (if "if") (parenthesized_expression "((iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0))" (( "(") (binary_expression "(iVar2 != 0) && (iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)" (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0)" (( "(") (comma_expression "iVar2 = FUN_0001ae90(param_1,param_2[1]), iVar2 != 0" (assignment_expression "iVar2 = FUN_0001ae90(param_1,param_2[1])" (identifier "iVar2") (= "=") (call_expression "FUN_0001ae90(param_1,param_2[1])" (identifier "FUN_0001ae90") (argument_list "(param_1,param_2[1])" (( "(") (identifier "param_1") (, ",") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    if (param_1 != (undefined4 *)0x0) {\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }\n    return 0;\n  }" ({ "{") (if_statement "if (param_1 != (undefined4 *)0x0) {\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }" (if "if") (parenthesized_expression "(param_1 != (undefined4 *)0x0)" (( "(") (binary_expression "param_1 != (undefined4 *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);\n    }" ({ "{") (do_statement "do {\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      } while (param_1 != (undefined4 *)0x0);" (do "do") (compound_statement "{\n        pbVar1 = (byte *)(param_1 + 3);\n        if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }\n        puVar3 = (undefined4 *)*param_1;\n        param_1 = (undefined4 *)param_1[1];\n        if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }\n      }" ({ "{") (expression_statement "pbVar1 = (byte *)(param_1 + 3);" (assignment_expression "pbVar1 = (byte *)(param_1 + 3)" (identifier "pbVar1") (= "=") (cast_expression "(byte *)(param_1 + 3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")")))) (; ";")) (if_statement "if (*pbVar1 == *(byte *)(param_2 + 3)) {\n          return iVar2;\n        }" (if "if") (parenthesized_expression "(*pbVar1 == *(byte *)(param_2 + 3))" (( "(") (binary_expression "*pbVar1 == *(byte *)(param_2 + 3)" (pointer_expression "*pbVar1" (* "*") (identifier "pbVar1")) (== "==") (pointer_expression "*(byte *)(param_2 + 3)" (* "*") (cast_expression "(byte *)(param_2 + 3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 3)" (( "(") (binary_expression "param_2 + 3" (identifier "param_2") (+ "+") (number_literal "3")) () ")"))))) () ")")) (compound_statement "{\n          return iVar2;\n        }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "puVar3 = (undefined4 *)*param_1;" (assignment_expression "puVar3 = (undefined4 *)*param_1" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "param_1 = (undefined4 *)param_1[1];" (assignment_expression "param_1 = (undefined4 *)param_1[1]" (identifier "param_1") (= "=") (cast_expression "(undefined4 *)param_1[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (*(byte *)(param_2 + 3) < *pbVar1) {\n          param_1 = puVar3;\n        }" (if "if") (parenthesized_expression "(*(byte *)(param_2 + 3) < *pbVar1)" (( "(") (binary_expression "*(byte *)(param_2 + 3) < *pbVar1" (pointer_expression "*(byte *)(param_2 + 3)" (* "*") (cast_expression "(byte *)(param_2 + 3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 3)" (( "(") (binary_expression "param_2 + 3" (identifier "param_2") (+ "+") (number_literal "3")) () ")")))) (< "<") (pointer_expression "*pbVar1" (* "*") (identifier "pbVar1"))) () ")")) (compound_statement "{\n          param_1 = puVar3;\n        }" ({ "{") (expression_statement "param_1 = puVar3;" (assignment_expression "param_1 = puVar3" (identifier "param_1") (= "=") (identifier "puVar3")) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(param_1 != (undefined4 *)0x0)" (( "(") (binary_expression "param_1 != (undefined4 *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (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: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) (return_statement (number_literal)))) (return_statement (identifier)))))

int MASKED(undefined4 *param_1,undefined4 *param_2)

{
  byte *pbVar1;
  int iVar2;
  undefined4 *puVar3;
  
  if (param_2 == (undefined4 *)0x0) {
    return 1;
  }
  iVar2 = MASKED(param_1,*param_2);
  if ((iVar2 != 0) && (iVar2 = MASKED(param_1,param_2[1]), iVar2 != 0)) {
    if (param_1 != (undefined4 *)0x0) {
      do {
        pbVar1 = (byte *)(param_1 + 3);
        if (*pbVar1 == *(byte *)(param_2 + 3)) {
          return iVar2;
        }
        puVar3 = (undefined4 *)*param_1;
        param_1 = (undefined4 *)param_1[1];
        if (*(byte *)(param_2 + 3) < *pbVar1) {
          param_1 = puVar3;
        }
      } while (param_1 != (undefined4 *)0x0);
    }
    return 0;
  }
  return iVar2;
}

