
int fts5ShadowName(char *zName)

{
  char *zRight;
  undefined4 *puVar1;
  undefined4 *puVar2;
  
  zRight = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;
  puVar1 = (undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0x22e0);
  puVar2 = (undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0x22d0);
  if (zName != (char *)0x0) goto LAB_00052794;
joined_r0x000527a4:
  do {
    if (zRight == (char *)0x0) {
      return 1;
    }
    do {
      if (puVar1 == puVar2) {
        return 0;
      }
      zRight = (char *)*puVar1;
      puVar1 = puVar1 + 1;
      if (zName == (char *)0x0) goto joined_r0x000527a4;
LAB_00052794:
    } while (zRight == (char *)0x0);
    zRight = (char *)sqlite3_stricmp(zName,zRight);
  } while( true );
}



undefined4 FUN_00052750(int param_1)

{
  undefined *puVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  
  puVar1 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;
  puVar2 = (undefined4 *)(PTR_DAT_00190948 + -0x22e0);
  puVar3 = (undefined4 *)(PTR_DAT_00190948 + -0x22d0);
  if (param_1 != 0) goto LAB_00052794;
joined_r0x000527a4:
  do {
    if (puVar1 == (undefined *)0x0) {
      return 1;
    }
    do {
      if (puVar2 == puVar3) {
        return 0;
      }
      puVar1 = (undefined *)*puVar2;
      puVar2 = puVar2 + 1;
      if (param_1 == 0) goto joined_r0x000527a4;
LAB_00052794:
    } while (puVar1 == (undefined *)0x0);
    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);
  } while( true );
}


lui gp,0x14
addiu gp,gp,0x61d0
addu gp,gp,t9
lw v0,-0x7fc4(gp)
addiu sp,sp,-0x20
lw t1,-0x7fd8(gp)
or t2,a0,zero
lw t3,-0x7fd8(gp)
lw t9,-0x7d78(gp)
addiu v0,v0,-0x6564
sw gp,0x10(sp)
addiu t1,t1,-0x22e0
sw ra,0x1c(sp)
addiu t3,t3,-0x22d0
addiu t9,t9,0x20c8
beq t2,zero,0x000527a4
_or a1,v0,zero
beq v0,zero,0x000527ac
_or a0,t2,zero
bal 0x000520c8
_nop
beq v0,zero,0x000527cc
_lw ra,0x1c(sp)
beq t1,t3,0x000527d8
_lw ra,0x1c(sp)
lw v0,0x0(t1)
addiu t1,t1,0x4
bne t2,zero,0x00052794
_or a1,v0,zero
bne v0,zero,0x000527ac
_nop
li v0,0x1
jr ra
_addiu sp,sp,0x20
or v0,zero,zero
jr ra
_addiu sp,sp,0x20
(translation_unit "undefined4 FUN_00052750(int param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  puVar1 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;\n  puVar2 = (undefined4 *)(PTR_DAT_00190948 + -0x22e0);\n  puVar3 = (undefined4 *)(PTR_DAT_00190948 + -0x22d0);\n  if (param_1 != 0) goto LAB_00052794;\njoined_r0x000527a4:\n  do {\n    if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);\n    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);\n  } while( true );\n}\n\n" (function_definition "undefined4 FUN_00052750(int param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  puVar1 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;\n  puVar2 = (undefined4 *)(PTR_DAT_00190948 + -0x22e0);\n  puVar3 = (undefined4 *)(PTR_DAT_00190948 + -0x22d0);\n  if (param_1 != 0) goto LAB_00052794;\njoined_r0x000527a4:\n  do {\n    if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);\n    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);\n  } while( true );\n}" type_identifier (function_declarator "FUN_00052750(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  puVar1 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;\n  puVar2 = (undefined4 *)(PTR_DAT_00190948 + -0x22e0);\n  puVar3 = (undefined4 *)(PTR_DAT_00190948 + -0x22d0);\n  if (param_1 != 0) goto LAB_00052794;\njoined_r0x000527a4:\n  do {\n    if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);\n    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar1 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;" (assignment_expression "puVar1 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564" identifier = (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564" identifier + number_literal)) ;) (expression_statement "puVar2 = (undefined4 *)(PTR_DAT_00190948 + -0x22e0);" (assignment_expression "puVar2 = (undefined4 *)(PTR_DAT_00190948 + -0x22e0)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_00190948 + -0x22e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190948 + -0x22e0)" ( (binary_expression "PTR_DAT_00190948 + -0x22e0" identifier + number_literal) )))) ;) (expression_statement "puVar3 = (undefined4 *)(PTR_DAT_00190948 + -0x22d0);" (assignment_expression "puVar3 = (undefined4 *)(PTR_DAT_00190948 + -0x22d0)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_00190948 + -0x22d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190948 + -0x22d0)" ( (binary_expression "PTR_DAT_00190948 + -0x22d0" identifier + number_literal) )))) ;) (if_statement "if (param_1 != 0) goto LAB_00052794;" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00052794;" goto statement_identifier ;)) (labeled_statement "joined_r0x000527a4:\n  do {\n    if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);\n    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);\n  } while( true );" statement_identifier : (do_statement "do {\n    if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);\n    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);\n  } while( true );" do (compound_statement "{\n    if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);\n    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);\n  }" { (if_statement "if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }" if (parenthesized_expression "(puVar1 == (undefined *)0x0)" ( (binary_expression "puVar1 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (do_statement "do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);" do (compound_statement "{\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    }" { (if_statement "if (puVar2 == puVar3) {\n        return 0;\n      }" if (parenthesized_expression "(puVar2 == puVar3)" ( (binary_expression "puVar2 == puVar3" identifier == identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar1 = (undefined *)*puVar2;" (assignment_expression "puVar1 = (undefined *)*puVar2" identifier = (cast_expression "(undefined *)*puVar2" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (if_statement "if (param_1 == 0) goto joined_r0x000527a4;" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (goto_statement "goto joined_r0x000527a4;" goto statement_identifier ;)) (labeled_statement "LAB_00052794:" statement_identifier : (expression_statement "" ;)) }) while (parenthesized_expression "(puVar1 == (undefined *)0x0)" ( (binary_expression "puVar1 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);" (assignment_expression "puVar1 = (undefined *)FUN_000520c8(param_1,puVar1)" identifier = (cast_expression "(undefined *)FUN_000520c8(param_1,puVar1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000520c8(param_1,puVar1)" identifier (argument_list "(param_1,puVar1)" ( identifier , identifier ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit "int fts5ShadowName(char *zName)\n\n{\n  char *zRight;\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  zRight = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;\n  puVar1 = (undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0x22e0);\n  puVar2 = (undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0x22d0);\n  if (zName != (char *)0x0) goto LAB_00052794;\njoined_r0x000527a4:\n  do {\n    if (zRight == (char *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar1 == puVar2) {\n        return 0;\n      }\n      zRight = (char *)*puVar1;\n      puVar1 = puVar1 + 1;\n      if (zName == (char *)0x0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (zRight == (char *)0x0);\n    zRight = (char *)sqlite3_stricmp(zName,zRight);\n  } while( true );\n}\n\n" (function_definition "int fts5ShadowName(char *zName)\n\n{\n  char *zRight;\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  zRight = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;\n  puVar1 = (undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0x22e0);\n  puVar2 = (undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0x22d0);\n  if (zName != (char *)0x0) goto LAB_00052794;\njoined_r0x000527a4:\n  do {\n    if (zRight == (char *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar1 == puVar2) {\n        return 0;\n      }\n      zRight = (char *)*puVar1;\n      puVar1 = puVar1 + 1;\n      if (zName == (char *)0x0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (zRight == (char *)0x0);\n    zRight = (char *)sqlite3_stricmp(zName,zRight);\n  } while( true );\n}" primitive_type (function_declarator "fts5ShadowName(char *zName)" identifier (parameter_list "(char *zName)" ( (parameter_declaration "char *zName" primitive_type (pointer_declarator "*zName" * identifier)) ))) (compound_statement "{\n  char *zRight;\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  zRight = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;\n  puVar1 = (undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0x22e0);\n  puVar2 = (undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0x22d0);\n  if (zName != (char *)0x0) goto LAB_00052794;\njoined_r0x000527a4:\n  do {\n    if (zRight == (char *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar1 == puVar2) {\n        return 0;\n      }\n      zRight = (char *)*puVar1;\n      puVar1 = puVar1 + 1;\n      if (zName == (char *)0x0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (zRight == (char *)0x0);\n    zRight = (char *)sqlite3_stricmp(zName,zRight);\n  } while( true );\n}" { (declaration "char *zRight;" primitive_type (pointer_declarator "*zRight" * identifier) ;) (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "zRight = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;" (assignment_expression "zRight = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564" identifier = (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564" identifier + number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0x22e0);" (assignment_expression "puVar1 = (undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0x22e0)" identifier = (cast_expression "(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0x22e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_aBuiltinFunc_29540_1408__00190948 + -0x22e0)" ( (binary_expression "PTR_aBuiltinFunc_29540_1408__00190948 + -0x22e0" identifier + number_literal) )))) ;) (expression_statement "puVar2 = (undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0x22d0);" (assignment_expression "puVar2 = (undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0x22d0)" identifier = (cast_expression "(undefined4 *)(PTR_aBuiltinFunc_29540_1408__00190948 + -0x22d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_aBuiltinFunc_29540_1408__00190948 + -0x22d0)" ( (binary_expression "PTR_aBuiltinFunc_29540_1408__00190948 + -0x22d0" identifier + number_literal) )))) ;) (if_statement "if (zName != (char *)0x0) goto LAB_00052794;" if (parenthesized_expression "(zName != (char *)0x0)" ( (binary_expression "zName != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00052794;" goto statement_identifier ;)) (labeled_statement "joined_r0x000527a4:\n  do {\n    if (zRight == (char *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar1 == puVar2) {\n        return 0;\n      }\n      zRight = (char *)*puVar1;\n      puVar1 = puVar1 + 1;\n      if (zName == (char *)0x0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (zRight == (char *)0x0);\n    zRight = (char *)sqlite3_stricmp(zName,zRight);\n  } while( true );" statement_identifier : (do_statement "do {\n    if (zRight == (char *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar1 == puVar2) {\n        return 0;\n      }\n      zRight = (char *)*puVar1;\n      puVar1 = puVar1 + 1;\n      if (zName == (char *)0x0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (zRight == (char *)0x0);\n    zRight = (char *)sqlite3_stricmp(zName,zRight);\n  } while( true );" do (compound_statement "{\n    if (zRight == (char *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar1 == puVar2) {\n        return 0;\n      }\n      zRight = (char *)*puVar1;\n      puVar1 = puVar1 + 1;\n      if (zName == (char *)0x0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (zRight == (char *)0x0);\n    zRight = (char *)sqlite3_stricmp(zName,zRight);\n  }" { (if_statement "if (zRight == (char *)0x0) {\n      return 1;\n    }" if (parenthesized_expression "(zRight == (char *)0x0)" ( (binary_expression "zRight == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (do_statement "do {\n      if (puVar1 == puVar2) {\n        return 0;\n      }\n      zRight = (char *)*puVar1;\n      puVar1 = puVar1 + 1;\n      if (zName == (char *)0x0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (zRight == (char *)0x0);" do (compound_statement "{\n      if (puVar1 == puVar2) {\n        return 0;\n      }\n      zRight = (char *)*puVar1;\n      puVar1 = puVar1 + 1;\n      if (zName == (char *)0x0) goto joined_r0x000527a4;\nLAB_00052794:\n    }" { (if_statement "if (puVar1 == puVar2) {\n        return 0;\n      }" if (parenthesized_expression "(puVar1 == puVar2)" ( (binary_expression "puVar1 == puVar2" identifier == identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "zRight = (char *)*puVar1;" (assignment_expression "zRight = (char *)*puVar1" identifier = (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (expression_statement "puVar1 = puVar1 + 1;" (assignment_expression "puVar1 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (if_statement "if (zName == (char *)0x0) goto joined_r0x000527a4;" if (parenthesized_expression "(zName == (char *)0x0)" ( (binary_expression "zName == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto joined_r0x000527a4;" goto statement_identifier ;)) (labeled_statement "LAB_00052794:" statement_identifier : (expression_statement "" ;)) }) while (parenthesized_expression "(zRight == (char *)0x0)" ( (binary_expression "zRight == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "zRight = (char *)sqlite3_stricmp(zName,zRight);" (assignment_expression "zRight = (char *)sqlite3_stricmp(zName,zRight)" identifier = (cast_expression "(char *)sqlite3_stricmp(zName,zRight)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3_stricmp(zName,zRight)" identifier (argument_list "(zName,zRight)" ( identifier , identifier ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit "undefined4 FUN_00052750(int param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  puVar1 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;\n  puVar2 = (undefined4 *)(PTR_DAT_00190948 + -0x22e0);\n  puVar3 = (undefined4 *)(PTR_DAT_00190948 + -0x22d0);\n  if (param_1 != 0) goto LAB_00052794;\njoined_r0x000527a4:\n  do {\n    if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);\n    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);\n  } while( true );\n}\n\n" (function_definition "undefined4 FUN_00052750(int param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  puVar1 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;\n  puVar2 = (undefined4 *)(PTR_DAT_00190948 + -0x22e0);\n  puVar3 = (undefined4 *)(PTR_DAT_00190948 + -0x22d0);\n  if (param_1 != 0) goto LAB_00052794;\njoined_r0x000527a4:\n  do {\n    if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);\n    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);\n  } while( true );\n}" type_identifier (function_declarator "FUN_00052750(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  puVar1 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;\n  puVar2 = (undefined4 *)(PTR_DAT_00190948 + -0x22e0);\n  puVar3 = (undefined4 *)(PTR_DAT_00190948 + -0x22d0);\n  if (param_1 != 0) goto LAB_00052794;\njoined_r0x000527a4:\n  do {\n    if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);\n    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar1 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;" (assignment_expression "puVar1 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564" identifier = (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564" identifier + number_literal)) ;) (expression_statement "puVar2 = (undefined4 *)(PTR_DAT_00190948 + -0x22e0);" (assignment_expression "puVar2 = (undefined4 *)(PTR_DAT_00190948 + -0x22e0)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_00190948 + -0x22e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190948 + -0x22e0)" ( (binary_expression "PTR_DAT_00190948 + -0x22e0" identifier + number_literal) )))) ;) (expression_statement "puVar3 = (undefined4 *)(PTR_DAT_00190948 + -0x22d0);" (assignment_expression "puVar3 = (undefined4 *)(PTR_DAT_00190948 + -0x22d0)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_00190948 + -0x22d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190948 + -0x22d0)" ( (binary_expression "PTR_DAT_00190948 + -0x22d0" identifier + number_literal) )))) ;) (if_statement "if (param_1 != 0) goto LAB_00052794;" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00052794;" goto statement_identifier ;)) (labeled_statement "joined_r0x000527a4:\n  do {\n    if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);\n    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);\n  } while( true );" statement_identifier : (do_statement "do {\n    if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);\n    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);\n  } while( true );" do (compound_statement "{\n    if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);\n    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);\n  }" { (if_statement "if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }" if (parenthesized_expression "(puVar1 == (undefined *)0x0)" ( (binary_expression "puVar1 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (do_statement "do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);" do (compound_statement "{\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    }" { (if_statement "if (puVar2 == puVar3) {\n        return 0;\n      }" if (parenthesized_expression "(puVar2 == puVar3)" ( (binary_expression "puVar2 == puVar3" identifier == identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar1 = (undefined *)*puVar2;" (assignment_expression "puVar1 = (undefined *)*puVar2" identifier = (cast_expression "(undefined *)*puVar2" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (if_statement "if (param_1 == 0) goto joined_r0x000527a4;" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (goto_statement "goto joined_r0x000527a4;" goto statement_identifier ;)) (labeled_statement "LAB_00052794:" statement_identifier : (expression_statement "" ;)) }) while (parenthesized_expression "(puVar1 == (undefined *)0x0)" ( (binary_expression "puVar1 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);" (assignment_expression "puVar1 = (undefined *)FUN_000520c8(param_1,puVar1)" identifier = (cast_expression "(undefined *)FUN_000520c8(param_1,puVar1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000520c8(param_1,puVar1)" identifier (argument_list "(param_1,puVar1)" ( identifier , identifier ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (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 IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement ;)) }) while (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) }) while (parenthesized_expression ( BOOL )) ;)) })))
(function_definition "undefined4 FUN_00052750(int param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  puVar1 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;\n  puVar2 = (undefined4 *)(PTR_DAT_00190948 + -0x22e0);\n  puVar3 = (undefined4 *)(PTR_DAT_00190948 + -0x22d0);\n  if (param_1 != 0) goto LAB_00052794;\njoined_r0x000527a4:\n  do {\n    if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);\n    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);\n  } while( true );\n}" (type_identifier "undefined4") (function_declarator "FUN_00052750(int param_1)" (identifier "FUN_00052750") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  puVar1 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;\n  puVar2 = (undefined4 *)(PTR_DAT_00190948 + -0x22e0);\n  puVar3 = (undefined4 *)(PTR_DAT_00190948 + -0x22d0);\n  if (param_1 != 0) goto LAB_00052794;\njoined_r0x000527a4:\n  do {\n    if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);\n    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);\n  } while( true );\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (expression_statement "puVar1 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;" (assignment_expression "puVar1 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564" (identifier "puVar1") (= "=") (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564" (identifier "PTR_s_o_page_from_root____pageno_INTEG_0019095c") (+ "+") (number_literal "-0x6564"))) (; ";")) (expression_statement "puVar2 = (undefined4 *)(PTR_DAT_00190948 + -0x22e0);" (assignment_expression "puVar2 = (undefined4 *)(PTR_DAT_00190948 + -0x22e0)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(PTR_DAT_00190948 + -0x22e0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00190948 + -0x22e0)" (( "(") (binary_expression "PTR_DAT_00190948 + -0x22e0" (identifier "PTR_DAT_00190948") (+ "+") (number_literal "-0x22e0")) () ")")))) (; ";")) (expression_statement "puVar3 = (undefined4 *)(PTR_DAT_00190948 + -0x22d0);" (assignment_expression "puVar3 = (undefined4 *)(PTR_DAT_00190948 + -0x22d0)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(PTR_DAT_00190948 + -0x22d0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00190948 + -0x22d0)" (( "(") (binary_expression "PTR_DAT_00190948 + -0x22d0" (identifier "PTR_DAT_00190948") (+ "+") (number_literal "-0x22d0")) () ")")))) (; ";")) (if_statement "if (param_1 != 0) goto LAB_00052794;" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00052794;" (goto "goto") (statement_identifier "LAB_00052794") (; ";"))) (labeled_statement "joined_r0x000527a4:\n  do {\n    if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);\n    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);\n  } while( true );" (statement_identifier "joined_r0x000527a4") (: ":") (do_statement "do {\n    if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);\n    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);\n  } while( true );" (do "do") (compound_statement "{\n    if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }\n    do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);\n    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);\n  }" ({ "{") (if_statement "if (puVar1 == (undefined *)0x0) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(puVar1 == (undefined *)0x0)" (( "(") (binary_expression "puVar1 == (undefined *)0x0" (identifier "puVar1") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (do_statement "do {\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    } while (puVar1 == (undefined *)0x0);" (do "do") (compound_statement "{\n      if (puVar2 == puVar3) {\n        return 0;\n      }\n      puVar1 = (undefined *)*puVar2;\n      puVar2 = puVar2 + 1;\n      if (param_1 == 0) goto joined_r0x000527a4;\nLAB_00052794:\n    }" ({ "{") (if_statement "if (puVar2 == puVar3) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(puVar2 == puVar3)" (( "(") (binary_expression "puVar2 == puVar3" (identifier "puVar2") (== "==") (identifier "puVar3")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "puVar1 = (undefined *)*puVar2;" (assignment_expression "puVar1 = (undefined *)*puVar2" (identifier "puVar1") (= "=") (cast_expression "(undefined *)*puVar2" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) (; ";")) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (param_1 == 0) goto joined_r0x000527a4;" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto joined_r0x000527a4;" (goto "goto") (statement_identifier "joined_r0x000527a4") (; ";"))) (labeled_statement "LAB_00052794:" (statement_identifier "LAB_00052794") (: ":") (expression_statement "" (; ""))) (} "}")) (while "while") (parenthesized_expression "(puVar1 == (undefined *)0x0)" (( "(") (binary_expression "puVar1 == (undefined *)0x0" (identifier "puVar1") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);" (assignment_expression "puVar1 = (undefined *)FUN_000520c8(param_1,puVar1)" (identifier "puVar1") (= "=") (cast_expression "(undefined *)FUN_000520c8(param_1,puVar1)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000520c8(param_1,puVar1)" (identifier "FUN_000520c8") (argument_list "(param_1,puVar1)" (( "(") (identifier "param_1") (, ",") (identifier "puVar1") () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";"))) (} "}")))

int function_1(char *var_3)

{
  char *var_4;
  type_1 *var_5;
  type_1 *var_6;
  
  var_4 = var_1 + -0x6564;
  var_5 = (type_1 *)(var_2 + -0x22e0);
  var_6 = (type_1 *)(var_2 + -0x22d0);
  if (var_3 != (char *)0x0) goto LAB_00052794;
joined_r0x000527a4:
  do {
    if (var_4 == (char *)0x0) {
      return 1;
    }
    do {
      if (var_5 == var_6) {
        return 0;
      }
      var_4 = (char *)*var_5;
      var_5 = var_5 + 1;
      if (var_3 == (char *)0x0) goto joined_r0x000527a4;
LAB_00052794:
    } while (var_4 == (char *)0x0);
    var_4 = (char *)var_7(var_3,var_4);
  } while( true );
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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)))))) (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: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (do_statement body: (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 (return_statement (number_literal)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (number_literal)))) (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: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (MISSING ";")))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))))) condition: (parenthesized_expression (true)))))))

undefined4 MASKED(int param_1)

{
  undefined *puVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  
  puVar1 = PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6564;
  puVar2 = (undefined4 *)(PTR_DAT_00190948 + -0x22e0);
  puVar3 = (undefined4 *)(PTR_DAT_00190948 + -0x22d0);
  if (param_1 != 0) goto LAB_00052794;
joined_r0x000527a4:
  do {
    if (puVar1 == (undefined *)0x0) {
      return 1;
    }
    do {
      if (puVar2 == puVar3) {
        return 0;
      }
      puVar1 = (undefined *)*puVar2;
      puVar2 = puVar2 + 1;
      if (param_1 == 0) goto joined_r0x000527a4;
LAB_00052794:
    } while (puVar1 == (undefined *)0x0);
    puVar1 = (undefined *)FUN_000520c8(param_1,puVar1);
  } while( true );
}

