
void check_input_sections
               (lang_statement_union_type *s,
               lang_output_section_statement_type *output_section_statement)

{
  undefined *puVar1;
  statement_enum sVar2;
  lang_statement_union_type *s_00;
  
  puVar1 = PTR_DAT_001db904;
  if (s == (lang_statement_union_type *)0x0) {
    return;
  }
  do {
    sVar2 = (s->header).type;
    if (sVar2 == lang_group_statement_enum) {
      s_00 = (s->output_section_statement).children.head;
LAB_0002bedc:
      check_input_sections(s_00,output_section_statement);
      if ((output_section_statement->field_0x54 & 0x20) == 0) {
        return;
      }
    }
    else {
      if (sVar2 == lang_constructors_statement_enum) {
        s_00 = *(lang_statement_union_type **)PTR_constructor_list_001dbbfc;
        goto LAB_0002bedc;
      }
      if ((sVar2 == lang_wild_statement_enum) &&
         (walk_wild(&s->wild_statement,(callback_t)(puVar1 + 0x5fd8),output_section_statement),
         (output_section_statement->field_0x54 & 0x20) == 0)) {
        return;
      }
    }
    s = (s->header).next;
    if (s == (lang_statement_union *)0x0) {
      return;
    }
  } while( true );
}



void FUN_0002be50(int *param_1,int param_2)

{
  undefined *puVar1;
  int iVar2;
  
  puVar1 = PTR_LAB_001db904;
  if (param_1 == (int *)0x0) {
    return;
  }
  do {
    iVar2 = param_1[1];
    if (iVar2 == 0xd) {
      iVar2 = param_1[2];
LAB_0002bedc:
      FUN_0002be50(iVar2,param_2);
      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {
        return;
      }
    }
    else {
      if (iVar2 == 0xf) {
        iVar2 = *(int *)PTR_constructor_list_001dbbfc;
        goto LAB_0002bedc;
      }
      if ((iVar2 == 4) &&
         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {
        return;
      }
    }
    param_1 = (int *)*param_1;
    if (param_1 == (int *)0x0) {
      return;
    }
  } while( true );
}


lui gp,0x1b
addiu gp,gp,0x7a80
addu gp,gp,t9
beq a0,zero,0x0002bf64
_nop
addiu sp,sp,-0x30
sw s3,0x24(sp)
sw s2,0x20(sp)
sw gp,0x10(sp)
sw s4,0x28(sp)
sw s1,0x1c(sp)
or s1,a1,zero
sw s0,0x18(sp)
or s0,a0,zero
sw ra,0x2c(sp)
lw s2,-0x7fa0(gp)
lw s3,-0x7fa0(gp)
lw s4,-0x7fcc(gp)
addiu s2,s2,-0x41b0
b 0x0002beb8
_addiu s3,s3,-0x44d8
beq v0,v1,0x0002bf18
_addiu a1,s4,0x5fd8
lw s0,0x0(s0)
beq s0,zero,0x0002befc
_lw ra,0x2c(sp)
lw v0,0x4(s0)
li a1,0xd
li a0,0xf
beq v0,a1,0x0002bf58
_li v1,0x4
bne v0,a0,0x0002bea4
_or a1,s1,zero
lw v0,-0x7cd4(gp)
lw a0,0x0(v0)
or t9,s2,zero
bal 0x0002be50
_nop
lbu v0,0x54(s1)
andi v0,v0,0x20
bne v0,zero,0x0002beac
_lw gp,0x10(sp)
lw ra,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
or a0,s0,zero
or t9,s3,zero
bal 0x0002bb28
_or a2,s1,zero
lbu v0,0x54(s1)
andi v0,v0,0x20
bne v0,zero,0x0002beac
_lw gp,0x10(sp)
lw ra,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
lw a0,0x8(s0)
b 0x0002bedc
_or a1,s1,zero
jr ra
_nop
(translation_unit "void FUN_0002be50(int *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_LAB_001db904;\n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    iVar2 = param_1[1];\n    if (iVar2 == 0xd) {\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );\n}\n\n" (function_definition "void FUN_0002be50(int *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_LAB_001db904;\n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    iVar2 = param_1[1];\n    if (iVar2 == 0xd) {\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_0002be50(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_LAB_001db904;\n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    iVar2 = param_1[1];\n    if (iVar2 == 0xd) {\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_LAB_001db904;" (assignment_expression "puVar1 = PTR_LAB_001db904" identifier = identifier) ;) (if_statement "if (param_1 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    iVar2 = param_1[1];\n    if (iVar2 == 0xd) {\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    iVar2 = param_1[1];\n    if (iVar2 == 0xd) {\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  }" { (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 == 0xd) {\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }" if (parenthesized_expression "(iVar2 == 0xd)" ( (binary_expression "iVar2 == 0xd" identifier == number_literal) )) (compound_statement "{\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }" { (expression_statement "iVar2 = param_1[2];" (assignment_expression "iVar2 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (labeled_statement "LAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);" statement_identifier : (expression_statement "FUN_0002be50(iVar2,param_2);" (call_expression "FUN_0002be50(iVar2,param_2)" identifier (argument_list "(iVar2,param_2)" ( identifier , identifier ))) ;)) (if_statement "if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }" if (parenthesized_expression "((*(byte *)(param_2 + 0x54) & 0x20) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x54) & 0x20) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 0x20)" ( (binary_expression "*(byte *)(param_2 + 0x54) & 0x20" (pointer_expression "*(byte *)(param_2 + 0x54)" * (cast_expression "(byte *)(param_2 + 0x54)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }" else (compound_statement "{\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }" { (if_statement "if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }" if (parenthesized_expression "(iVar2 == 0xf)" ( (binary_expression "iVar2 == 0xf" identifier == number_literal) )) (compound_statement "{\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }" { (expression_statement "iVar2 = *(int *)PTR_constructor_list_001dbbfc;" (assignment_expression "iVar2 = *(int *)PTR_constructor_list_001dbbfc" identifier = (pointer_expression "*(int *)PTR_constructor_list_001dbbfc" * (cast_expression "(int *)PTR_constructor_list_001dbbfc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (goto_statement "goto LAB_0002bedc;" goto statement_identifier ;) })) (if_statement "if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }" if (parenthesized_expression "((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0))" ( (binary_expression "(iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)" (parenthesized_expression "(iVar2 == 4)" ( (binary_expression "iVar2 == 4" identifier == number_literal) )) && (parenthesized_expression "(FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)" ( (comma_expression "FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0" (call_expression "FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2)" identifier (argument_list "(param_1,puVar1 + 0x5fd8,param_2)" ( identifier , (binary_expression "puVar1 + 0x5fd8" identifier + number_literal) , identifier ))) , (binary_expression "(*(byte *)(param_2 + 0x54) & 0x20) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 0x20)" ( (binary_expression "*(byte *)(param_2 + 0x54) & 0x20" (pointer_expression "*(byte *)(param_2 + 0x54)" * (cast_expression "(byte *)(param_2 + 0x54)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) & number_literal) )) == number_literal)) ))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }))) (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (param_1 == (int *)0x0) {\n      return;\n    }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void check_input_sections\n               (lang_statement_union_type *s,\n               lang_output_section_statement_type *output_section_statement)\n\n{\n  undefined *puVar1;\n  statement_enum sVar2;\n  lang_statement_union_type *s_00;\n  \n  puVar1 = PTR_DAT_001db904;\n  if (s == (lang_statement_union_type *)0x0) {\n    return;\n  }\n  do {\n    sVar2 = (s->header).type;\n    if (sVar2 == lang_group_statement_enum) {\n      s_00 = (s->output_section_statement).children.head;\nLAB_0002bedc:\n      check_input_sections(s_00,output_section_statement);\n      if ((output_section_statement->field_0x54 & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (sVar2 == lang_constructors_statement_enum) {\n        s_00 = *(lang_statement_union_type **)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((sVar2 == lang_wild_statement_enum) &&\n         (walk_wild(&s->wild_statement,(callback_t)(puVar1 + 0x5fd8),output_section_statement),\n         (output_section_statement->field_0x54 & 0x20) == 0)) {\n        return;\n      }\n    }\n    s = (s->header).next;\n    if (s == (lang_statement_union *)0x0) {\n      return;\n    }\n  } while( true );\n}\n\n" (function_definition "void check_input_sections\n               (lang_statement_union_type *s,\n               lang_output_section_statement_type *output_section_statement)\n\n{\n  undefined *puVar1;\n  statement_enum sVar2;\n  lang_statement_union_type *s_00;\n  \n  puVar1 = PTR_DAT_001db904;\n  if (s == (lang_statement_union_type *)0x0) {\n    return;\n  }\n  do {\n    sVar2 = (s->header).type;\n    if (sVar2 == lang_group_statement_enum) {\n      s_00 = (s->output_section_statement).children.head;\nLAB_0002bedc:\n      check_input_sections(s_00,output_section_statement);\n      if ((output_section_statement->field_0x54 & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (sVar2 == lang_constructors_statement_enum) {\n        s_00 = *(lang_statement_union_type **)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((sVar2 == lang_wild_statement_enum) &&\n         (walk_wild(&s->wild_statement,(callback_t)(puVar1 + 0x5fd8),output_section_statement),\n         (output_section_statement->field_0x54 & 0x20) == 0)) {\n        return;\n      }\n    }\n    s = (s->header).next;\n    if (s == (lang_statement_union *)0x0) {\n      return;\n    }\n  } while( true );\n}" primitive_type (function_declarator "check_input_sections\n               (lang_statement_union_type *s,\n               lang_output_section_statement_type *output_section_statement)" identifier (parameter_list "(lang_statement_union_type *s,\n               lang_output_section_statement_type *output_section_statement)" ( (parameter_declaration "lang_statement_union_type *s" type_identifier (pointer_declarator "*s" * identifier)) , (parameter_declaration "lang_output_section_statement_type *output_section_statement" type_identifier (pointer_declarator "*output_section_statement" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  statement_enum sVar2;\n  lang_statement_union_type *s_00;\n  \n  puVar1 = PTR_DAT_001db904;\n  if (s == (lang_statement_union_type *)0x0) {\n    return;\n  }\n  do {\n    sVar2 = (s->header).type;\n    if (sVar2 == lang_group_statement_enum) {\n      s_00 = (s->output_section_statement).children.head;\nLAB_0002bedc:\n      check_input_sections(s_00,output_section_statement);\n      if ((output_section_statement->field_0x54 & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (sVar2 == lang_constructors_statement_enum) {\n        s_00 = *(lang_statement_union_type **)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((sVar2 == lang_wild_statement_enum) &&\n         (walk_wild(&s->wild_statement,(callback_t)(puVar1 + 0x5fd8),output_section_statement),\n         (output_section_statement->field_0x54 & 0x20) == 0)) {\n        return;\n      }\n    }\n    s = (s->header).next;\n    if (s == (lang_statement_union *)0x0) {\n      return;\n    }\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "statement_enum sVar2;" type_identifier identifier ;) (declaration "lang_statement_union_type *s_00;" type_identifier (pointer_declarator "*s_00" * identifier) ;) (expression_statement "puVar1 = PTR_DAT_001db904;" (assignment_expression "puVar1 = PTR_DAT_001db904" identifier = identifier) ;) (if_statement "if (s == (lang_statement_union_type *)0x0) {\n    return;\n  }" if (parenthesized_expression "(s == (lang_statement_union_type *)0x0)" ( (binary_expression "s == (lang_statement_union_type *)0x0" identifier == (cast_expression "(lang_statement_union_type *)0x0" ( (type_descriptor "lang_statement_union_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    sVar2 = (s->header).type;\n    if (sVar2 == lang_group_statement_enum) {\n      s_00 = (s->output_section_statement).children.head;\nLAB_0002bedc:\n      check_input_sections(s_00,output_section_statement);\n      if ((output_section_statement->field_0x54 & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (sVar2 == lang_constructors_statement_enum) {\n        s_00 = *(lang_statement_union_type **)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((sVar2 == lang_wild_statement_enum) &&\n         (walk_wild(&s->wild_statement,(callback_t)(puVar1 + 0x5fd8),output_section_statement),\n         (output_section_statement->field_0x54 & 0x20) == 0)) {\n        return;\n      }\n    }\n    s = (s->header).next;\n    if (s == (lang_statement_union *)0x0) {\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    sVar2 = (s->header).type;\n    if (sVar2 == lang_group_statement_enum) {\n      s_00 = (s->output_section_statement).children.head;\nLAB_0002bedc:\n      check_input_sections(s_00,output_section_statement);\n      if ((output_section_statement->field_0x54 & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (sVar2 == lang_constructors_statement_enum) {\n        s_00 = *(lang_statement_union_type **)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((sVar2 == lang_wild_statement_enum) &&\n         (walk_wild(&s->wild_statement,(callback_t)(puVar1 + 0x5fd8),output_section_statement),\n         (output_section_statement->field_0x54 & 0x20) == 0)) {\n        return;\n      }\n    }\n    s = (s->header).next;\n    if (s == (lang_statement_union *)0x0) {\n      return;\n    }\n  }" { (expression_statement "sVar2 = (s->header).type;" (assignment_expression "sVar2 = (s->header).type" identifier = (field_expression "(s->header).type" (parenthesized_expression "(s->header)" ( (field_expression "s->header" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (sVar2 == lang_group_statement_enum) {\n      s_00 = (s->output_section_statement).children.head;\nLAB_0002bedc:\n      check_input_sections(s_00,output_section_statement);\n      if ((output_section_statement->field_0x54 & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (sVar2 == lang_constructors_statement_enum) {\n        s_00 = *(lang_statement_union_type **)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((sVar2 == lang_wild_statement_enum) &&\n         (walk_wild(&s->wild_statement,(callback_t)(puVar1 + 0x5fd8),output_section_statement),\n         (output_section_statement->field_0x54 & 0x20) == 0)) {\n        return;\n      }\n    }" if (parenthesized_expression "(sVar2 == lang_group_statement_enum)" ( (binary_expression "sVar2 == lang_group_statement_enum" identifier == identifier) )) (compound_statement "{\n      s_00 = (s->output_section_statement).children.head;\nLAB_0002bedc:\n      check_input_sections(s_00,output_section_statement);\n      if ((output_section_statement->field_0x54 & 0x20) == 0) {\n        return;\n      }\n    }" { (expression_statement "s_00 = (s->output_section_statement).children.head;" (assignment_expression "s_00 = (s->output_section_statement).children.head" identifier = (field_expression "(s->output_section_statement).children.head" (field_expression "(s->output_section_statement).children" (parenthesized_expression "(s->output_section_statement)" ( (field_expression "s->output_section_statement" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (labeled_statement "LAB_0002bedc:\n      check_input_sections(s_00,output_section_statement);" statement_identifier : (expression_statement "check_input_sections(s_00,output_section_statement);" (call_expression "check_input_sections(s_00,output_section_statement)" identifier (argument_list "(s_00,output_section_statement)" ( identifier , identifier ))) ;)) (if_statement "if ((output_section_statement->field_0x54 & 0x20) == 0) {\n        return;\n      }" if (parenthesized_expression "((output_section_statement->field_0x54 & 0x20) == 0)" ( (binary_expression "(output_section_statement->field_0x54 & 0x20) == 0" (parenthesized_expression "(output_section_statement->field_0x54 & 0x20)" ( (binary_expression "output_section_statement->field_0x54 & 0x20" (field_expression "output_section_statement->field_0x54" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else {\n      if (sVar2 == lang_constructors_statement_enum) {\n        s_00 = *(lang_statement_union_type **)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((sVar2 == lang_wild_statement_enum) &&\n         (walk_wild(&s->wild_statement,(callback_t)(puVar1 + 0x5fd8),output_section_statement),\n         (output_section_statement->field_0x54 & 0x20) == 0)) {\n        return;\n      }\n    }" else (compound_statement "{\n      if (sVar2 == lang_constructors_statement_enum) {\n        s_00 = *(lang_statement_union_type **)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((sVar2 == lang_wild_statement_enum) &&\n         (walk_wild(&s->wild_statement,(callback_t)(puVar1 + 0x5fd8),output_section_statement),\n         (output_section_statement->field_0x54 & 0x20) == 0)) {\n        return;\n      }\n    }" { (if_statement "if (sVar2 == lang_constructors_statement_enum) {\n        s_00 = *(lang_statement_union_type **)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }" if (parenthesized_expression "(sVar2 == lang_constructors_statement_enum)" ( (binary_expression "sVar2 == lang_constructors_statement_enum" identifier == identifier) )) (compound_statement "{\n        s_00 = *(lang_statement_union_type **)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }" { (expression_statement "s_00 = *(lang_statement_union_type **)PTR_constructor_list_001dbbfc;" (assignment_expression "s_00 = *(lang_statement_union_type **)PTR_constructor_list_001dbbfc" identifier = (pointer_expression "*(lang_statement_union_type **)PTR_constructor_list_001dbbfc" * (cast_expression "(lang_statement_union_type **)PTR_constructor_list_001dbbfc" ( (type_descriptor "lang_statement_union_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (goto_statement "goto LAB_0002bedc;" goto statement_identifier ;) })) (if_statement "if ((sVar2 == lang_wild_statement_enum) &&\n         (walk_wild(&s->wild_statement,(callback_t)(puVar1 + 0x5fd8),output_section_statement),\n         (output_section_statement->field_0x54 & 0x20) == 0)) {\n        return;\n      }" if (parenthesized_expression "((sVar2 == lang_wild_statement_enum) &&\n         (walk_wild(&s->wild_statement,(callback_t)(puVar1 + 0x5fd8),output_section_statement),\n         (output_section_statement->field_0x54 & 0x20) == 0))" ( (binary_expression "(sVar2 == lang_wild_statement_enum) &&\n         (walk_wild(&s->wild_statement,(callback_t)(puVar1 + 0x5fd8),output_section_statement),\n         (output_section_statement->field_0x54 & 0x20) == 0)" (parenthesized_expression "(sVar2 == lang_wild_statement_enum)" ( (binary_expression "sVar2 == lang_wild_statement_enum" identifier == identifier) )) && (parenthesized_expression "(walk_wild(&s->wild_statement,(callback_t)(puVar1 + 0x5fd8),output_section_statement),\n         (output_section_statement->field_0x54 & 0x20) == 0)" ( (comma_expression "walk_wild(&s->wild_statement,(callback_t)(puVar1 + 0x5fd8),output_section_statement),\n         (output_section_statement->field_0x54 & 0x20) == 0" (call_expression "walk_wild(&s->wild_statement,(callback_t)(puVar1 + 0x5fd8),output_section_statement)" identifier (argument_list "(&s->wild_statement,(callback_t)(puVar1 + 0x5fd8),output_section_statement)" ( (pointer_expression "&s->wild_statement" & (field_expression "s->wild_statement" identifier -> field_identifier)) , (call_expression "(callback_t)(puVar1 + 0x5fd8)" (parenthesized_expression "(callback_t)" ( identifier )) (argument_list "(puVar1 + 0x5fd8)" ( (binary_expression "puVar1 + 0x5fd8" identifier + number_literal) ))) , identifier ))) , (binary_expression "(output_section_statement->field_0x54 & 0x20) == 0" (parenthesized_expression "(output_section_statement->field_0x54 & 0x20)" ( (binary_expression "output_section_statement->field_0x54 & 0x20" (field_expression "output_section_statement->field_0x54" identifier -> field_identifier) & number_literal) )) == number_literal)) ))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }))) (expression_statement "s = (s->header).next;" (assignment_expression "s = (s->header).next" identifier = (field_expression "(s->header).next" (parenthesized_expression "(s->header)" ( (field_expression "s->header" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (s == (lang_statement_union *)0x0) {\n      return;\n    }" if (parenthesized_expression "(s == (lang_statement_union *)0x0)" ( (binary_expression "s == (lang_statement_union *)0x0" identifier == (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void FUN_0002be50(int *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_LAB_001db904;\n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    iVar2 = param_1[1];\n    if (iVar2 == 0xd) {\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );\n}\n\n" (function_definition "void FUN_0002be50(int *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_LAB_001db904;\n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    iVar2 = param_1[1];\n    if (iVar2 == 0xd) {\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_0002be50(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_LAB_001db904;\n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    iVar2 = param_1[1];\n    if (iVar2 == 0xd) {\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_LAB_001db904;" (assignment_expression "puVar1 = PTR_LAB_001db904" identifier = identifier) ;) (if_statement "if (param_1 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    iVar2 = param_1[1];\n    if (iVar2 == 0xd) {\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    iVar2 = param_1[1];\n    if (iVar2 == 0xd) {\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  }" { (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 == 0xd) {\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }" if (parenthesized_expression "(iVar2 == 0xd)" ( (binary_expression "iVar2 == 0xd" identifier == number_literal) )) (compound_statement "{\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }" { (expression_statement "iVar2 = param_1[2];" (assignment_expression "iVar2 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (labeled_statement "LAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);" statement_identifier : (expression_statement "FUN_0002be50(iVar2,param_2);" (call_expression "FUN_0002be50(iVar2,param_2)" identifier (argument_list "(iVar2,param_2)" ( identifier , identifier ))) ;)) (if_statement "if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }" if (parenthesized_expression "((*(byte *)(param_2 + 0x54) & 0x20) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x54) & 0x20) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 0x20)" ( (binary_expression "*(byte *)(param_2 + 0x54) & 0x20" (pointer_expression "*(byte *)(param_2 + 0x54)" * (cast_expression "(byte *)(param_2 + 0x54)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }" else (compound_statement "{\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }" { (if_statement "if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }" if (parenthesized_expression "(iVar2 == 0xf)" ( (binary_expression "iVar2 == 0xf" identifier == number_literal) )) (compound_statement "{\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }" { (expression_statement "iVar2 = *(int *)PTR_constructor_list_001dbbfc;" (assignment_expression "iVar2 = *(int *)PTR_constructor_list_001dbbfc" identifier = (pointer_expression "*(int *)PTR_constructor_list_001dbbfc" * (cast_expression "(int *)PTR_constructor_list_001dbbfc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (goto_statement "goto LAB_0002bedc;" goto statement_identifier ;) })) (if_statement "if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }" if (parenthesized_expression "((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0))" ( (binary_expression "(iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)" (parenthesized_expression "(iVar2 == 4)" ( (binary_expression "iVar2 == 4" identifier == number_literal) )) && (parenthesized_expression "(FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)" ( (comma_expression "FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0" (call_expression "FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2)" identifier (argument_list "(param_1,puVar1 + 0x5fd8,param_2)" ( identifier , (binary_expression "puVar1 + 0x5fd8" identifier + number_literal) , identifier ))) , (binary_expression "(*(byte *)(param_2 + 0x54) & 0x20) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 0x20)" ( (binary_expression "*(byte *)(param_2 + 0x54) & 0x20" (pointer_expression "*(byte *)(param_2 + 0x54)" * (cast_expression "(byte *)(param_2 + 0x54)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) & number_literal) )) == number_literal)) ))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }))) (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (param_1 == (int *)0x0) {\n      return;\n    }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (return_statement return ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT ))) , (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT)) ))) )) (compound_statement { (return_statement return ;) })) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_0002be50(int *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_LAB_001db904;\n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    iVar2 = param_1[1];\n    if (iVar2 == 0xd) {\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_0002be50(int *param_1,int param_2)" (identifier "FUN_0002be50") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_LAB_001db904;\n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    iVar2 = param_1[1];\n    if (iVar2 == 0xd) {\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "puVar1 = PTR_LAB_001db904;" (assignment_expression "puVar1 = PTR_LAB_001db904" (identifier "puVar1") (= "=") (identifier "PTR_LAB_001db904")) (; ";")) (if_statement "if (param_1 == (int *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == (int *)0x0)" (( "(") (binary_expression "param_1 == (int *)0x0" (identifier "param_1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (do_statement "do {\n    iVar2 = param_1[1];\n    if (iVar2 == 0xd) {\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    iVar2 = param_1[1];\n    if (iVar2 == 0xd) {\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }\n    param_1 = (int *)*param_1;\n    if (param_1 == (int *)0x0) {\n      return;\n    }\n  }" ({ "{") (expression_statement "iVar2 = param_1[1];" (assignment_expression "iVar2 = param_1[1]" (identifier "iVar2") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (iVar2 == 0xd) {\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }\n    else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }" (if "if") (parenthesized_expression "(iVar2 == 0xd)" (( "(") (binary_expression "iVar2 == 0xd" (identifier "iVar2") (== "==") (number_literal "0xd")) () ")")) (compound_statement "{\n      iVar2 = param_1[2];\nLAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);\n      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }\n    }" ({ "{") (expression_statement "iVar2 = param_1[2];" (assignment_expression "iVar2 = param_1[2]" (identifier "iVar2") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (labeled_statement "LAB_0002bedc:\n      FUN_0002be50(iVar2,param_2);" (statement_identifier "LAB_0002bedc") (: ":") (expression_statement "FUN_0002be50(iVar2,param_2);" (call_expression "FUN_0002be50(iVar2,param_2)" (identifier "FUN_0002be50") (argument_list "(iVar2,param_2)" (( "(") (identifier "iVar2") (, ",") (identifier "param_2") () ")"))) (; ";"))) (if_statement "if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {\n        return;\n      }" (if "if") (parenthesized_expression "((*(byte *)(param_2 + 0x54) & 0x20) == 0)" (( "(") (binary_expression "(*(byte *)(param_2 + 0x54) & 0x20) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 0x20)" (( "(") (binary_expression "*(byte *)(param_2 + 0x54) & 0x20" (pointer_expression "*(byte *)(param_2 + 0x54)" (* "*") (cast_expression "(byte *)(param_2 + 0x54)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x54)" (( "(") (binary_expression "param_2 + 0x54" (identifier "param_2") (+ "+") (number_literal "0x54")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }" (else "else") (compound_statement "{\n      if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }\n      if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }\n    }" ({ "{") (if_statement "if (iVar2 == 0xf) {\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }" (if "if") (parenthesized_expression "(iVar2 == 0xf)" (( "(") (binary_expression "iVar2 == 0xf" (identifier "iVar2") (== "==") (number_literal "0xf")) () ")")) (compound_statement "{\n        iVar2 = *(int *)PTR_constructor_list_001dbbfc;\n        goto LAB_0002bedc;\n      }" ({ "{") (expression_statement "iVar2 = *(int *)PTR_constructor_list_001dbbfc;" (assignment_expression "iVar2 = *(int *)PTR_constructor_list_001dbbfc" (identifier "iVar2") (= "=") (pointer_expression "*(int *)PTR_constructor_list_001dbbfc" (* "*") (cast_expression "(int *)PTR_constructor_list_001dbbfc" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_constructor_list_001dbbfc")))) (; ";")) (goto_statement "goto LAB_0002bedc;" (goto "goto") (statement_identifier "LAB_0002bedc") (; ";")) (} "}"))) (if_statement "if ((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {\n        return;\n      }" (if "if") (parenthesized_expression "((iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0))" (( "(") (binary_expression "(iVar2 == 4) &&\n         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)" (parenthesized_expression "(iVar2 == 4)" (( "(") (binary_expression "iVar2 == 4" (identifier "iVar2") (== "==") (number_literal "4")) () ")")) (&& "&&") (parenthesized_expression "(FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)" (( "(") (comma_expression "FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0" (call_expression "FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2)" (identifier "FUN_0002bb28") (argument_list "(param_1,puVar1 + 0x5fd8,param_2)" (( "(") (identifier "param_1") (, ",") (binary_expression "puVar1 + 0x5fd8" (identifier "puVar1") (+ "+") (number_literal "0x5fd8")) (, ",") (identifier "param_2") () ")"))) (, ",") (binary_expression "(*(byte *)(param_2 + 0x54) & 0x20) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 0x20)" (( "(") (binary_expression "*(byte *)(param_2 + 0x54) & 0x20" (pointer_expression "*(byte *)(param_2 + 0x54)" (* "*") (cast_expression "(byte *)(param_2 + 0x54)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x54)" (( "(") (binary_expression "param_2 + 0x54" (identifier "param_2") (+ "+") (number_literal "0x54")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")))) (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" (identifier "param_1") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (param_1 == (int *)0x0) {\n      return;\n    }" (if "if") (parenthesized_expression "(param_1 == (int *)0x0)" (( "(") (binary_expression "param_1 == (int *)0x0" (identifier "param_1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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: (number_literal))) right: (number_literal))) consequence: (compound_statement (return_statement)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier))) right: (binary_expression left: (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: (number_literal))) right: (number_literal)))))) consequence: (compound_statement (return_statement)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement)))) condition: (parenthesized_expression (true))))))

void MASKED(int *param_1,int param_2)

{
  undefined *puVar1;
  int iVar2;
  
  puVar1 = PTR_LAB_001db904;
  if (param_1 == (int *)0x0) {
    return;
  }
  do {
    iVar2 = param_1[1];
    if (iVar2 == 0xd) {
      iVar2 = param_1[2];
LAB_0002bedc:
      MASKED(iVar2,param_2);
      if ((*(byte *)(param_2 + 0x54) & 0x20) == 0) {
        return;
      }
    }
    else {
      if (iVar2 == 0xf) {
        iVar2 = *(int *)PTR_constructor_list_001dbbfc;
        goto LAB_0002bedc;
      }
      if ((iVar2 == 4) &&
         (FUN_0002bb28(param_1,puVar1 + 0x5fd8,param_2), (*(byte *)(param_2 + 0x54) & 0x20) == 0)) {
        return;
      }
    }
    param_1 = (int *)*param_1;
    if (param_1 == (int *)0x0) {
      return;
    }
  } while( true );
}

