
undefined4 _Unwind_ForcedUnwind_Phase2(undefined4 *param_1,undefined4 param_2,int *param_3)

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  undefined1 auStack_648 [1536];
  code *local_48;
  code *local_30;
  code *local_2c;
  
  local_30 = (code *)param_1[3];
  iVar2 = 1;
  uVar3 = param_1[4];
  local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);
  while (iVar1 = uw_frame_state_for(param_2,auStack_648), iVar1 == 0) {
    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);
    if (iVar1 != 0) {
      return 2;
    }
    if (local_48 != (code *)0x0) {
      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);
      if (iVar1 == 7) {
        uVar3 = 7;
        goto LAB_003eb5c4;
      }
      if (iVar1 != 8) {
        return 2;
      }
    }
    iVar2 = iVar2 + 1;
    (*local_2c)(param_2,auStack_648);
  }
  if (iVar1 == 5) {
    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);
    uVar3 = 5;
    if (iVar1 == 0) {
LAB_003eb5c4:
      *param_3 = iVar2;
      return uVar3;
    }
  }
  return 2;
}



undefined4 FUN_003eb448(undefined4 *param_1,undefined4 param_2,int *param_3)

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  undefined1 auStack_648 [1536];
  code *local_48;
  code *local_30;
  code *local_2c;
  
  local_30 = (code *)param_1[3];
  iVar2 = 1;
  uVar3 = param_1[4];
  local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);
  while (iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0) {
    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);
    if (iVar1 != 0) {
      return 2;
    }
    if (local_48 != (code *)0x0) {
      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);
      if (iVar1 == 7) {
        uVar3 = 7;
        goto LAB_003eb5c4;
      }
      if (iVar1 != 8) {
        return 2;
      }
    }
    iVar2 = iVar2 + 1;
    (*local_2c)(param_2,auStack_648);
  }
  if (iVar1 == 5) {
    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);
    uVar3 = 5;
    if (iVar1 == 0) {
LAB_003eb5c4:
      *param_3 = iVar2;
      return uVar3;
    }
  }
  return 2;
}


lui gp,0xe
addiu gp,gp,-0x2208
addu gp,gp,t9
addiu sp,sp,-0x670
lw v0,0xc(a0)
sw s4,0x658(sp)
sw s3,0x654(sp)
sw s6,0x660(sp)
sw v0,0x640(sp)
sw s8,0x668(sp)
li s8,0x8
sw s7,0x664(sp)
li s7,0x7
sw s5,0x65c(sp)
addiu s5,sp,0x28
sw s2,0x650(sp)
li s2,0x1
lw s4,-0x7fc4(gp)
lw s3,-0x7fc4(gp)
lw s6,0x10(a0)
addiu v0,s4,-0x4e0c
sw s1,0x64c(sp)
addiu s3,s3,-0x6790
sw s0,0x648(sp)
sw gp,0x20(sp)
or s0,a0,zero
sw ra,0x66c(sp)
or s1,a1,zero
sw v0,0x644(sp)
sw a2,0x678(sp)
or a1,s5,zero
or t9,s3,zero
bal 0x003e9870
_or a0,s1,zero
li a1,0xa
li a0,0x1
beq v0,zero,0x003eb54c
_or s4,v0,zero
li v0,0x5
bne s4,v0,0x003eb514
_li a1,0x1a
lw a3,0x4(s0)
lw a2,0x0(s0)
li a0,0x1
lw t9,0x640(sp)
sw s6,0x18(sp)
sw s1,0x14(sp)
jalr t9
_sw s0,0x10(sp)
beq v0,zero,0x003eb5c4
_lw v0,0x678(sp)
lw ra,0x66c(sp)
li s4,0x2
lw s8,0x668(sp)
or v0,s4,zero
lw s7,0x664(sp)
lw s6,0x660(sp)
lw s5,0x65c(sp)
lw s4,0x658(sp)
lw s3,0x654(sp)
lw s2,0x650(sp)
lw s1,0x64c(sp)
lw s0,0x648(sp)
jr ra
_addiu sp,sp,0x670
lw a3,0x4(s0)
lw a2,0x0(s0)
lw t9,0x640(sp)
sw s6,0x18(sp)
sw s1,0x14(sp)
jalr t9
_sw s0,0x10(sp)
li a1,0xa
bne v0,zero,0x003eb514
_li a0,0x1
lw t9,0x628(sp)
beq t9,zero,0x003eb5a4
_nop
lw a3,0x4(s0)
lw a2,0x0(s0)
sw s1,0x14(sp)
jalr t9
_sw s0,0x10(sp)
beq v0,s7,0x003eb5c0
_or s4,v0,zero
bne v0,s8,0x003eb518
_lw ra,0x66c(sp)
lw t9,0x644(sp)
or a1,s5,zero
or a0,s1,zero
jalr t9
_addiu s2,s2,0x1
b 0x003eb4c4
_or a1,s5,zero
lw v0,0x678(sp)
lw ra,0x66c(sp)
lw s8,0x668(sp)
lw s7,0x664(sp)
lw s6,0x660(sp)
lw s5,0x65c(sp)
lw s3,0x654(sp)
lw s1,0x64c(sp)
lw s0,0x648(sp)
sw s2,0x0(v0)
or v0,s4,zero
lw s4,0x658(sp)
lw s2,0x650(sp)
jr ra
_addiu sp,sp,0x670
(translation_unit "undefined4 FUN_003eb448(undefined4 *param_1,undefined4 param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 auStack_648 [1536];\n  code *local_48;\n  code *local_30;\n  code *local_2c;\n  \n  local_30 = (code *)param_1[3];\n  iVar2 = 1;\n  uVar3 = param_1[4];\n  local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);\n  while (iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0) {\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }\n  if (iVar1 == 5) {\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }\n  return 2;\n}\n\n" (function_definition "undefined4 FUN_003eb448(undefined4 *param_1,undefined4 param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 auStack_648 [1536];\n  code *local_48;\n  code *local_30;\n  code *local_2c;\n  \n  local_30 = (code *)param_1[3];\n  iVar2 = 1;\n  uVar3 = param_1[4];\n  local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);\n  while (iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0) {\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }\n  if (iVar1 == 5) {\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }\n  return 2;\n}" type_identifier (function_declarator "FUN_003eb448(undefined4 *param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 auStack_648 [1536];\n  code *local_48;\n  code *local_30;\n  code *local_2c;\n  \n  local_30 = (code *)param_1[3];\n  iVar2 = 1;\n  uVar3 = param_1[4];\n  local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);\n  while (iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0) {\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }\n  if (iVar1 == 5) {\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }\n  return 2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined1 auStack_648 [1536];" type_identifier (array_declarator "auStack_648 [1536]" identifier [ number_literal ]) ;) (declaration "code *local_48;" type_identifier (pointer_declarator "*local_48" * identifier) ;) (declaration "code *local_30;" type_identifier (pointer_declarator "*local_30" * identifier) ;) (declaration "code *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "local_30 = (code *)param_1[3];" (assignment_expression "local_30 = (code *)param_1[3]" identifier = (cast_expression "(code *)param_1[3]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = param_1[4];" (assignment_expression "uVar3 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);" (assignment_expression "local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c)" identifier = (cast_expression "(code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c" identifier + number_literal) )))) ;) (while_statement "while (iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0) {\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }" while (parenthesized_expression "(iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0)" ( (comma_expression "iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0" (assignment_expression "iVar1 = FUN_003e9870(param_2,auStack_648)" identifier = (call_expression "FUN_003e9870(param_2,auStack_648)" identifier (argument_list "(param_2,auStack_648)" ( identifier , identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) )) (compound_statement "{\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }" { (expression_statement "iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);" (assignment_expression "iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3)" identifier = (call_expression "(*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3)" (parenthesized_expression "(*local_30)" ( (pointer_expression "*local_30" * identifier) )) (argument_list "(1,10,*param_1,param_1[1],param_1,param_2,uVar3)" ( number_literal , number_literal , (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      return 2;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return 2;\n    }" { (return_statement "return 2;" return number_literal ;) })) (if_statement "if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }" if (parenthesized_expression "(local_48 != (code *)0x0)" ( (binary_expression "local_48 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }" { (expression_statement "iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);" (assignment_expression "iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2)" identifier = (call_expression "(*local_48)(1,10,*param_1,param_1[1],param_1,param_2)" (parenthesized_expression "(*local_48)" ( (pointer_expression "*local_48" * identifier) )) (argument_list "(1,10,*param_1,param_1[1],param_1,param_2)" ( number_literal , number_literal , (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier , identifier )))) ;) (if_statement "if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }" if (parenthesized_expression "(iVar1 == 7)" ( (binary_expression "iVar1 == 7" identifier == number_literal) )) (compound_statement "{\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }" { (expression_statement "uVar3 = 7;" (assignment_expression "uVar3 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_003eb5c4;" goto statement_identifier ;) })) (if_statement "if (iVar1 != 8) {\n        return 2;\n      }" if (parenthesized_expression "(iVar1 != 8)" ( (binary_expression "iVar1 != 8" identifier != number_literal) )) (compound_statement "{\n        return 2;\n      }" { (return_statement "return 2;" return number_literal ;) })) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "(*local_2c)(param_2,auStack_648);" (call_expression "(*local_2c)(param_2,auStack_648)" (parenthesized_expression "(*local_2c)" ( (pointer_expression "*local_2c" * identifier) )) (argument_list "(param_2,auStack_648)" ( identifier , identifier ))) ;) })) (if_statement "if (iVar1 == 5) {\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }" if (parenthesized_expression "(iVar1 == 5)" ( (binary_expression "iVar1 == 5" identifier == number_literal) )) (compound_statement "{\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }" { (expression_statement "iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);" (assignment_expression "iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3)" identifier = (call_expression "(*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3)" (parenthesized_expression "(*local_30)" ( (pointer_expression "*local_30" * identifier) )) (argument_list "(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3)" ( number_literal , number_literal , (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier , identifier , identifier )))) ;) (expression_statement "uVar3 = 5;" (assignment_expression "uVar3 = 5" identifier = number_literal) ;) (if_statement "if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }" { (labeled_statement "LAB_003eb5c4:\n      *param_3 = iVar2;" statement_identifier : (expression_statement "*param_3 = iVar2;" (assignment_expression "*param_3 = iVar2" (pointer_expression "*param_3" * identifier) = identifier) ;)) (return_statement "return uVar3;" return identifier ;) })) })) (return_statement "return 2;" return number_literal ;) })))
(translation_unit "undefined4 _Unwind_ForcedUnwind_Phase2(undefined4 *param_1,undefined4 param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 auStack_648 [1536];\n  code *local_48;\n  code *local_30;\n  code *local_2c;\n  \n  local_30 = (code *)param_1[3];\n  iVar2 = 1;\n  uVar3 = param_1[4];\n  local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);\n  while (iVar1 = uw_frame_state_for(param_2,auStack_648), iVar1 == 0) {\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }\n  if (iVar1 == 5) {\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }\n  return 2;\n}\n\n" (function_definition "undefined4 _Unwind_ForcedUnwind_Phase2(undefined4 *param_1,undefined4 param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 auStack_648 [1536];\n  code *local_48;\n  code *local_30;\n  code *local_2c;\n  \n  local_30 = (code *)param_1[3];\n  iVar2 = 1;\n  uVar3 = param_1[4];\n  local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);\n  while (iVar1 = uw_frame_state_for(param_2,auStack_648), iVar1 == 0) {\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }\n  if (iVar1 == 5) {\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }\n  return 2;\n}" type_identifier (function_declarator "_Unwind_ForcedUnwind_Phase2(undefined4 *param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 auStack_648 [1536];\n  code *local_48;\n  code *local_30;\n  code *local_2c;\n  \n  local_30 = (code *)param_1[3];\n  iVar2 = 1;\n  uVar3 = param_1[4];\n  local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);\n  while (iVar1 = uw_frame_state_for(param_2,auStack_648), iVar1 == 0) {\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }\n  if (iVar1 == 5) {\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }\n  return 2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined1 auStack_648 [1536];" type_identifier (array_declarator "auStack_648 [1536]" identifier [ number_literal ]) ;) (declaration "code *local_48;" type_identifier (pointer_declarator "*local_48" * identifier) ;) (declaration "code *local_30;" type_identifier (pointer_declarator "*local_30" * identifier) ;) (declaration "code *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "local_30 = (code *)param_1[3];" (assignment_expression "local_30 = (code *)param_1[3]" identifier = (cast_expression "(code *)param_1[3]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = param_1[4];" (assignment_expression "uVar3 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);" (assignment_expression "local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c)" identifier = (cast_expression "(code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c" identifier + number_literal) )))) ;) (while_statement "while (iVar1 = uw_frame_state_for(param_2,auStack_648), iVar1 == 0) {\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }" while (parenthesized_expression "(iVar1 = uw_frame_state_for(param_2,auStack_648), iVar1 == 0)" ( (comma_expression "iVar1 = uw_frame_state_for(param_2,auStack_648), iVar1 == 0" (assignment_expression "iVar1 = uw_frame_state_for(param_2,auStack_648)" identifier = (call_expression "uw_frame_state_for(param_2,auStack_648)" identifier (argument_list "(param_2,auStack_648)" ( identifier , identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) )) (compound_statement "{\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }" { (expression_statement "iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);" (assignment_expression "iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3)" identifier = (call_expression "(*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3)" (parenthesized_expression "(*local_30)" ( (pointer_expression "*local_30" * identifier) )) (argument_list "(1,10,*param_1,param_1[1],param_1,param_2,uVar3)" ( number_literal , number_literal , (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      return 2;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return 2;\n    }" { (return_statement "return 2;" return number_literal ;) })) (if_statement "if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }" if (parenthesized_expression "(local_48 != (code *)0x0)" ( (binary_expression "local_48 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }" { (expression_statement "iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);" (assignment_expression "iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2)" identifier = (call_expression "(*local_48)(1,10,*param_1,param_1[1],param_1,param_2)" (parenthesized_expression "(*local_48)" ( (pointer_expression "*local_48" * identifier) )) (argument_list "(1,10,*param_1,param_1[1],param_1,param_2)" ( number_literal , number_literal , (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier , identifier )))) ;) (if_statement "if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }" if (parenthesized_expression "(iVar1 == 7)" ( (binary_expression "iVar1 == 7" identifier == number_literal) )) (compound_statement "{\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }" { (expression_statement "uVar3 = 7;" (assignment_expression "uVar3 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_003eb5c4;" goto statement_identifier ;) })) (if_statement "if (iVar1 != 8) {\n        return 2;\n      }" if (parenthesized_expression "(iVar1 != 8)" ( (binary_expression "iVar1 != 8" identifier != number_literal) )) (compound_statement "{\n        return 2;\n      }" { (return_statement "return 2;" return number_literal ;) })) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "(*local_2c)(param_2,auStack_648);" (call_expression "(*local_2c)(param_2,auStack_648)" (parenthesized_expression "(*local_2c)" ( (pointer_expression "*local_2c" * identifier) )) (argument_list "(param_2,auStack_648)" ( identifier , identifier ))) ;) })) (if_statement "if (iVar1 == 5) {\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }" if (parenthesized_expression "(iVar1 == 5)" ( (binary_expression "iVar1 == 5" identifier == number_literal) )) (compound_statement "{\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }" { (expression_statement "iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);" (assignment_expression "iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3)" identifier = (call_expression "(*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3)" (parenthesized_expression "(*local_30)" ( (pointer_expression "*local_30" * identifier) )) (argument_list "(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3)" ( number_literal , number_literal , (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier , identifier , identifier )))) ;) (expression_statement "uVar3 = 5;" (assignment_expression "uVar3 = 5" identifier = number_literal) ;) (if_statement "if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }" { (labeled_statement "LAB_003eb5c4:\n      *param_3 = iVar2;" statement_identifier : (expression_statement "*param_3 = iVar2;" (assignment_expression "*param_3 = iVar2" (pointer_expression "*param_3" * identifier) = identifier) ;)) (return_statement "return uVar3;" return identifier ;) })) })) (return_statement "return 2;" return number_literal ;) })))
(translation_unit "undefined4 FUN_003eb448(undefined4 *param_1,undefined4 param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 auStack_648 [1536];\n  code *local_48;\n  code *local_30;\n  code *local_2c;\n  \n  local_30 = (code *)param_1[3];\n  iVar2 = 1;\n  uVar3 = param_1[4];\n  local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);\n  while (iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0) {\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }\n  if (iVar1 == 5) {\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }\n  return 2;\n}\n\n" (function_definition "undefined4 FUN_003eb448(undefined4 *param_1,undefined4 param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 auStack_648 [1536];\n  code *local_48;\n  code *local_30;\n  code *local_2c;\n  \n  local_30 = (code *)param_1[3];\n  iVar2 = 1;\n  uVar3 = param_1[4];\n  local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);\n  while (iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0) {\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }\n  if (iVar1 == 5) {\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }\n  return 2;\n}" type_identifier (function_declarator "FUN_003eb448(undefined4 *param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 auStack_648 [1536];\n  code *local_48;\n  code *local_30;\n  code *local_2c;\n  \n  local_30 = (code *)param_1[3];\n  iVar2 = 1;\n  uVar3 = param_1[4];\n  local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);\n  while (iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0) {\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }\n  if (iVar1 == 5) {\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }\n  return 2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined1 auStack_648 [1536];" type_identifier (array_declarator "auStack_648 [1536]" identifier [ number_literal ]) ;) (declaration "code *local_48;" type_identifier (pointer_declarator "*local_48" * identifier) ;) (declaration "code *local_30;" type_identifier (pointer_declarator "*local_30" * identifier) ;) (declaration "code *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "local_30 = (code *)param_1[3];" (assignment_expression "local_30 = (code *)param_1[3]" identifier = (cast_expression "(code *)param_1[3]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = param_1[4];" (assignment_expression "uVar3 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);" (assignment_expression "local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c)" identifier = (cast_expression "(code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c" identifier + number_literal) )))) ;) (while_statement "while (iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0) {\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }" while (parenthesized_expression "(iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0)" ( (comma_expression "iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0" (assignment_expression "iVar1 = FUN_003e9870(param_2,auStack_648)" identifier = (call_expression "FUN_003e9870(param_2,auStack_648)" identifier (argument_list "(param_2,auStack_648)" ( identifier , identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) )) (compound_statement "{\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }" { (expression_statement "iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);" (assignment_expression "iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3)" identifier = (call_expression "(*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3)" (parenthesized_expression "(*local_30)" ( (pointer_expression "*local_30" * identifier) )) (argument_list "(1,10,*param_1,param_1[1],param_1,param_2,uVar3)" ( number_literal , number_literal , (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      return 2;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return 2;\n    }" { (return_statement "return 2;" return number_literal ;) })) (if_statement "if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }" if (parenthesized_expression "(local_48 != (code *)0x0)" ( (binary_expression "local_48 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }" { (expression_statement "iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);" (assignment_expression "iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2)" identifier = (call_expression "(*local_48)(1,10,*param_1,param_1[1],param_1,param_2)" (parenthesized_expression "(*local_48)" ( (pointer_expression "*local_48" * identifier) )) (argument_list "(1,10,*param_1,param_1[1],param_1,param_2)" ( number_literal , number_literal , (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier , identifier )))) ;) (if_statement "if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }" if (parenthesized_expression "(iVar1 == 7)" ( (binary_expression "iVar1 == 7" identifier == number_literal) )) (compound_statement "{\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }" { (expression_statement "uVar3 = 7;" (assignment_expression "uVar3 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_003eb5c4;" goto statement_identifier ;) })) (if_statement "if (iVar1 != 8) {\n        return 2;\n      }" if (parenthesized_expression "(iVar1 != 8)" ( (binary_expression "iVar1 != 8" identifier != number_literal) )) (compound_statement "{\n        return 2;\n      }" { (return_statement "return 2;" return number_literal ;) })) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "(*local_2c)(param_2,auStack_648);" (call_expression "(*local_2c)(param_2,auStack_648)" (parenthesized_expression "(*local_2c)" ( (pointer_expression "*local_2c" * identifier) )) (argument_list "(param_2,auStack_648)" ( identifier , identifier ))) ;) })) (if_statement "if (iVar1 == 5) {\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }" if (parenthesized_expression "(iVar1 == 5)" ( (binary_expression "iVar1 == 5" identifier == number_literal) )) (compound_statement "{\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }" { (expression_statement "iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);" (assignment_expression "iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3)" identifier = (call_expression "(*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3)" (parenthesized_expression "(*local_30)" ( (pointer_expression "*local_30" * identifier) )) (argument_list "(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3)" ( number_literal , number_literal , (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier , identifier , identifier )))) ;) (expression_statement "uVar3 = 5;" (assignment_expression "uVar3 = 5" identifier = number_literal) ;) (if_statement "if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }" { (labeled_statement "LAB_003eb5c4:\n      *param_3 = iVar2;" statement_identifier : (expression_statement "*param_3 = iVar2;" (assignment_expression "*param_3 = iVar2" (pointer_expression "*param_3" * identifier) = identifier) ;)) (return_statement "return uVar3;" return identifier ;) })) })) (return_statement "return 2;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT == LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT , LIT , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT , LIT , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT , LIT , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (return_statement return IDENT ;) })) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_003eb448(undefined4 *param_1,undefined4 param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 auStack_648 [1536];\n  code *local_48;\n  code *local_30;\n  code *local_2c;\n  \n  local_30 = (code *)param_1[3];\n  iVar2 = 1;\n  uVar3 = param_1[4];\n  local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);\n  while (iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0) {\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }\n  if (iVar1 == 5) {\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }\n  return 2;\n}" (type_identifier "undefined4") (function_declarator "FUN_003eb448(undefined4 *param_1,undefined4 param_2,int *param_3)" (identifier "FUN_003eb448") (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined1 auStack_648 [1536];\n  code *local_48;\n  code *local_30;\n  code *local_2c;\n  \n  local_30 = (code *)param_1[3];\n  iVar2 = 1;\n  uVar3 = param_1[4];\n  local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);\n  while (iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0) {\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }\n  if (iVar1 == 5) {\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }\n  return 2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined1 auStack_648 [1536];" (type_identifier "undefined1") (array_declarator "auStack_648 [1536]" (identifier "auStack_648") ([ "[") (number_literal "1536") (] "]")) (; ";")) (declaration "code *local_48;" (type_identifier "code") (pointer_declarator "*local_48" (* "*") (identifier "local_48")) (; ";")) (declaration "code *local_30;" (type_identifier "code") (pointer_declarator "*local_30" (* "*") (identifier "local_30")) (; ";")) (declaration "code *local_2c;" (type_identifier "code") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (expression_statement "local_30 = (code *)param_1[3];" (assignment_expression "local_30 = (code *)param_1[3]" (identifier "local_30") (= "=") (cast_expression "(code *)param_1[3]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar3 = param_1[4];" (assignment_expression "uVar3 = param_1[4]" (identifier "uVar3") (= "=") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);" (assignment_expression "local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c)" (identifier "local_2c") (= "=") (cast_expression "(code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c)" (( "(") (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c" (identifier "PTR_s_ral_options14Struct_no_crefE_004c127c") (+ "+") (number_literal "-0x4e0c")) () ")")))) (; ";")) (while_statement "while (iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0) {\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }" (while "while") (parenthesized_expression "(iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0)" (( "(") (comma_expression "iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0" (assignment_expression "iVar1 = FUN_003e9870(param_2,auStack_648)" (identifier "iVar1") (= "=") (call_expression "FUN_003e9870(param_2,auStack_648)" (identifier "FUN_003e9870") (argument_list "(param_2,auStack_648)" (( "(") (identifier "param_2") (, ",") (identifier "auStack_648") () ")")))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);\n    if (iVar1 != 0) {\n      return 2;\n    }\n    if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }\n    iVar2 = iVar2 + 1;\n    (*local_2c)(param_2,auStack_648);\n  }" ({ "{") (expression_statement "iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);" (assignment_expression "iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3)" (identifier "iVar1") (= "=") (call_expression "(*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3)" (parenthesized_expression "(*local_30)" (( "(") (pointer_expression "*local_30" (* "*") (identifier "local_30")) () ")")) (argument_list "(1,10,*param_1,param_1[1],param_1,param_2,uVar3)" (( "(") (number_literal "1") (, ",") (number_literal "10") (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "uVar3") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n      return 2;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return 2;\n    }" ({ "{") (return_statement "return 2;" (return "return") (number_literal "2") (; ";")) (} "}"))) (if_statement "if (local_48 != (code *)0x0) {\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }" (if "if") (parenthesized_expression "(local_48 != (code *)0x0)" (( "(") (binary_expression "local_48 != (code *)0x0" (identifier "local_48") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);\n      if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }\n      if (iVar1 != 8) {\n        return 2;\n      }\n    }" ({ "{") (expression_statement "iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);" (assignment_expression "iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2)" (identifier "iVar1") (= "=") (call_expression "(*local_48)(1,10,*param_1,param_1[1],param_1,param_2)" (parenthesized_expression "(*local_48)" (( "(") (pointer_expression "*local_48" (* "*") (identifier "local_48")) () ")")) (argument_list "(1,10,*param_1,param_1[1],param_1,param_2)" (( "(") (number_literal "1") (, ",") (number_literal "10") (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 == 7) {\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }" (if "if") (parenthesized_expression "(iVar1 == 7)" (( "(") (binary_expression "iVar1 == 7" (identifier "iVar1") (== "==") (number_literal "7")) () ")")) (compound_statement "{\n        uVar3 = 7;\n        goto LAB_003eb5c4;\n      }" ({ "{") (expression_statement "uVar3 = 7;" (assignment_expression "uVar3 = 7" (identifier "uVar3") (= "=") (number_literal "7")) (; ";")) (goto_statement "goto LAB_003eb5c4;" (goto "goto") (statement_identifier "LAB_003eb5c4") (; ";")) (} "}"))) (if_statement "if (iVar1 != 8) {\n        return 2;\n      }" (if "if") (parenthesized_expression "(iVar1 != 8)" (( "(") (binary_expression "iVar1 != 8" (identifier "iVar1") (!= "!=") (number_literal "8")) () ")")) (compound_statement "{\n        return 2;\n      }" ({ "{") (return_statement "return 2;" (return "return") (number_literal "2") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*local_2c)(param_2,auStack_648);" (call_expression "(*local_2c)(param_2,auStack_648)" (parenthesized_expression "(*local_2c)" (( "(") (pointer_expression "*local_2c" (* "*") (identifier "local_2c")) () ")")) (argument_list "(param_2,auStack_648)" (( "(") (identifier "param_2") (, ",") (identifier "auStack_648") () ")"))) (; ";")) (} "}"))) (if_statement "if (iVar1 == 5) {\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 == 5)" (( "(") (binary_expression "iVar1 == 5" (identifier "iVar1") (== "==") (number_literal "5")) () ")")) (compound_statement "{\n    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);\n    uVar3 = 5;\n    if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }\n  }" ({ "{") (expression_statement "iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);" (assignment_expression "iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3)" (identifier "iVar1") (= "=") (call_expression "(*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3)" (parenthesized_expression "(*local_30)" (( "(") (pointer_expression "*local_30" (* "*") (identifier "local_30")) () ")")) (argument_list "(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3)" (( "(") (number_literal "1") (, ",") (number_literal "0x1a") (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "uVar3") () ")")))) (; ";")) (expression_statement "uVar3 = 5;" (assignment_expression "uVar3 = 5" (identifier "uVar3") (= "=") (number_literal "5")) (; ";")) (if_statement "if (iVar1 == 0) {\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_003eb5c4:\n      *param_3 = iVar2;\n      return uVar3;\n    }" ({ "{") (labeled_statement "LAB_003eb5c4:\n      *param_3 = iVar2;" (statement_identifier "LAB_003eb5c4") (: ":") (expression_statement "*param_3 = iVar2;" (assignment_expression "*param_3 = iVar2" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "iVar2")) (; ";"))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (} "}"))) (return_statement "return 2;" (return "return") (number_literal "2") (; ";")) (} "}")))

type_1 function_1(type_1 *param_1,type_1 param_2,int *param_3)

{
  int var_3;
  int var_5;
  type_1 uVar3;
  type_2 auStack_648 [1536];
  type_3 *var_4;
  type_3 *local_30;
  type_3 *local_2c;
  
  local_30 = (type_3 *)param_1[3];
  var_5 = 1;
  uVar3 = param_1[4];
  local_2c = (type_3 *)(var_1 + -0x4e0c);
  while (var_3 = var_2(param_2,auStack_648), var_3 == 0) {
    var_3 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);
    if (var_3 != 0) {
      return 2;
    }
    if (var_4 != (type_3 *)0x0) {
      var_3 = (*var_4)(1,10,*param_1,param_1[1],param_1,param_2);
      if (var_3 == 7) {
        uVar3 = 7;
        goto LAB_003eb5c4;
      }
      if (var_3 != 8) {
        return 2;
      }
    }
    var_5 = var_5 + 1;
    (*local_2c)(param_2,auStack_648);
  }
  if (var_3 == 5) {
    var_3 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);
    uVar3 = 5;
    if (var_3 == 0) {
LAB_003eb5c4:
      *param_3 = var_5;
      return uVar3;
    }
  }
  return 2;
}


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

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

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  undefined1 auStack_648 [1536];
  code *local_48;
  code *local_30;
  code *local_2c;
  
  local_30 = (code *)param_1[3];
  iVar2 = 1;
  uVar3 = param_1[4];
  local_2c = (code *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x4e0c);
  while (iVar1 = FUN_003e9870(param_2,auStack_648), iVar1 == 0) {
    iVar1 = (*local_30)(1,10,*param_1,param_1[1],param_1,param_2,uVar3);
    if (iVar1 != 0) {
      return 2;
    }
    if (local_48 != (code *)0x0) {
      iVar1 = (*local_48)(1,10,*param_1,param_1[1],param_1,param_2);
      if (iVar1 == 7) {
        uVar3 = 7;
        goto LAB_003eb5c4;
      }
      if (iVar1 != 8) {
        return 2;
      }
    }
    iVar2 = iVar2 + 1;
    (*local_2c)(param_2,auStack_648);
  }
  if (iVar1 == 5) {
    iVar1 = (*local_30)(1,0x1a,*param_1,param_1[1],param_1,param_2,uVar3);
    uVar3 = 5;
    if (iVar1 == 0) {
LAB_003eb5c4:
      *param_3 = iVar2;
      return uVar3;
    }
  }
  return 2;
}

