
int volume_id_probe_all(volume_id *id,uint64_t size)

{
  int iVar1;
  probe_fptr *pp_Var2;
  
  if (size != 0) {
    iVar1 = volume_id_probe_linux_raid(id,size);
    if ((iVar1 == 0) || (id->error != 0)) goto LAB_001617e0;
  }
  iVar1 = volume_id_probe_luks(id);
  if ((iVar1 != 0) && (id->error == 0)) {
    pp_Var2 = fs1;
    do {
      iVar1 = (**pp_Var2)(id);
      if ((iVar1 == 0) || (id->error != 0)) goto LAB_001617e0;
      pp_Var2 = pp_Var2 + 1;
    } while (pp_Var2 != (probe_fptr *)tar_var);
    volume_id_get_buffer(id,0,0x11000);
    pp_Var2 = fs2;
    do {
      iVar1 = (**pp_Var2)(id);
      if ((iVar1 == 0) || (id->error != 0)) break;
      pp_Var2 = pp_Var2 + 1;
    } while (pp_Var2 != (probe_fptr *)&DAT_001c45e8);
  }
LAB_001617e0:
  volume_id_free_buffer(id);
  return -id->error;
}



int FUN_00161756(long param_1,long param_2)

{
  int iVar1;
  undefined **ppuVar2;
  
  if (param_2 != 0) {
    iVar1 = FUN_0016260c();
    if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;
  }
  iVar1 = FUN_001627cc(param_1);
  if ((iVar1 != 0) && (*(int *)(param_1 + 4) == 0)) {
    ppuVar2 = &PTR_FUN_001c4600;
    do {
      iVar1 = (*(code *)*ppuVar2)(param_1);
      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;
      ppuVar2 = ppuVar2 + 1;
    } while (ppuVar2 != (undefined **)&DAT_001c4620);
    FUN_001633b4(param_1,0,0x11000);
    ppuVar2 = &PTR_FUN_001c4560;
    do {
      iVar1 = (*(code *)*ppuVar2)(param_1);
      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;
      ppuVar2 = ppuVar2 + 1;
    } while (ppuVar2 != (undefined **)&DAT_001c45e8);
  }
LAB_001617e0:
  FUN_00163374(param_1);
  return -*(int *)(param_1 + 4);
}


PUSH R12
PUSH RBP
PUSH RBX
MOV RBX,RDI
TEST RSI,RSI
JZ 0x00161771
CALL 0x0016260c
TEST EAX,EAX
JZ 0x001617e0
CMP dword ptr [RBX + 0x4],0x0
JNZ 0x001617e0
MOV RDI,RBX
CALL 0x001627cc
TEST EAX,EAX
JZ 0x001617e0
CMP dword ptr [RBX + 0x4],0x0
JNZ 0x001617e0
LEA RBP,[0x1c4600]
LEA R12,[RBP + 0x20]
MOV RDI,RBX
CALL qword ptr [RBP]
TEST EAX,EAX
JZ 0x001617e0
CMP dword ptr [RBX + 0x4],0x0
JNZ 0x001617e0
ADD RBP,0x8
CMP R12,RBP
JNZ 0x0016178e
MOV EDX,0x11000
MOV ESI,0x0
MOV RDI,RBX
CALL 0x001633b4
LEA RBP,[0x1c4560]
LEA R12,[RBP + 0x88]
MOV RDI,RBX
CALL qword ptr [RBP]
TEST EAX,EAX
JZ 0x001617e0
CMP dword ptr [RBX + 0x4],0x0
JNZ 0x001617e0
ADD RBP,0x8
CMP RBP,R12
JNZ 0x001617c7
MOV RDI,RBX
CALL 0x00163374
MOV EAX,dword ptr [RBX + 0x4]
NEG EAX
POP RBX
POP RBP
POP R12
RET
(translation_unit "int FUN_00161756(long param_1,long param_2)\n\n{\n  int iVar1;\n  undefined **ppuVar2;\n  \n  if (param_2 != 0) {\n    iVar1 = FUN_0016260c();\n    if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n  }\n  iVar1 = FUN_001627cc(param_1);\n  if ((iVar1 != 0) && (*(int *)(param_1 + 4) == 0)) {\n    ppuVar2 = &PTR_FUN_001c4600;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c4620);\n    FUN_001633b4(param_1,0,0x11000);\n    ppuVar2 = &PTR_FUN_001c4560;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c45e8);\n  }\nLAB_001617e0:\n  FUN_00163374(param_1);\n  return -*(int *)(param_1 + 4);\n}\n\n" (function_definition "int FUN_00161756(long param_1,long param_2)\n\n{\n  int iVar1;\n  undefined **ppuVar2;\n  \n  if (param_2 != 0) {\n    iVar1 = FUN_0016260c();\n    if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n  }\n  iVar1 = FUN_001627cc(param_1);\n  if ((iVar1 != 0) && (*(int *)(param_1 + 4) == 0)) {\n    ppuVar2 = &PTR_FUN_001c4600;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c4620);\n    FUN_001633b4(param_1,0,0x11000);\n    ppuVar2 = &PTR_FUN_001c4560;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c45e8);\n  }\nLAB_001617e0:\n  FUN_00163374(param_1);\n  return -*(int *)(param_1 + 4);\n}" primitive_type (function_declarator "FUN_00161756(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined **ppuVar2;\n  \n  if (param_2 != 0) {\n    iVar1 = FUN_0016260c();\n    if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n  }\n  iVar1 = FUN_001627cc(param_1);\n  if ((iVar1 != 0) && (*(int *)(param_1 + 4) == 0)) {\n    ppuVar2 = &PTR_FUN_001c4600;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c4620);\n    FUN_001633b4(param_1,0,0x11000);\n    ppuVar2 = &PTR_FUN_001c4560;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c45e8);\n  }\nLAB_001617e0:\n  FUN_00163374(param_1);\n  return -*(int *)(param_1 + 4);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined **ppuVar2;" type_identifier (pointer_declarator "**ppuVar2" * (pointer_declarator "*ppuVar2" * identifier)) ;) (if_statement "if (param_2 != 0) {\n    iVar1 = FUN_0016260c();\n    if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = FUN_0016260c();\n    if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n  }" { (expression_statement "iVar1 = FUN_0016260c();" (assignment_expression "iVar1 = FUN_0016260c()" identifier = (call_expression "FUN_0016260c()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;" if (parenthesized_expression "((iVar1 == 0) || (*(int *)(param_1 + 4) != 0))" ( (binary_expression "(iVar1 == 0) || (*(int *)(param_1 + 4) != 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" ( (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) ))) )) (goto_statement "goto LAB_001617e0;" goto statement_identifier ;)) })) (expression_statement "iVar1 = FUN_001627cc(param_1);" (assignment_expression "iVar1 = FUN_001627cc(param_1)" identifier = (call_expression "FUN_001627cc(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((iVar1 != 0) && (*(int *)(param_1 + 4) == 0)) {\n    ppuVar2 = &PTR_FUN_001c4600;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c4620);\n    FUN_001633b4(param_1,0,0x11000);\n    ppuVar2 = &PTR_FUN_001c4560;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c45e8);\n  }" if (parenthesized_expression "((iVar1 != 0) && (*(int *)(param_1 + 4) == 0))" ( (binary_expression "(iVar1 != 0) && (*(int *)(param_1 + 4) == 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 4) == 0)" ( (binary_expression "*(int *)(param_1 + 4) == 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    ppuVar2 = &PTR_FUN_001c4600;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c4620);\n    FUN_001633b4(param_1,0,0x11000);\n    ppuVar2 = &PTR_FUN_001c4560;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c45e8);\n  }" { (expression_statement "ppuVar2 = &PTR_FUN_001c4600;" (assignment_expression "ppuVar2 = &PTR_FUN_001c4600" identifier = (pointer_expression "&PTR_FUN_001c4600" & identifier)) ;) (do_statement "do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c4620);" do (compound_statement "{\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    }" { (expression_statement "iVar1 = (*(code *)*ppuVar2)(param_1);" (assignment_expression "iVar1 = (*(code *)*ppuVar2)(param_1)" identifier = (call_expression "(*(code *)*ppuVar2)(param_1)" (parenthesized_expression "(*(code *)*ppuVar2)" ( (pointer_expression "*(code *)*ppuVar2" * (cast_expression "(code *)*ppuVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*ppuVar2" * identifier))) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;" if (parenthesized_expression "((iVar1 == 0) || (*(int *)(param_1 + 4) != 0))" ( (binary_expression "(iVar1 == 0) || (*(int *)(param_1 + 4) != 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" ( (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) ))) )) (goto_statement "goto LAB_001617e0;" goto statement_identifier ;)) (expression_statement "ppuVar2 = ppuVar2 + 1;" (assignment_expression "ppuVar2 = ppuVar2 + 1" identifier = (binary_expression "ppuVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(ppuVar2 != (undefined **)&DAT_001c4620)" ( (binary_expression "ppuVar2 != (undefined **)&DAT_001c4620" identifier != (cast_expression "(undefined **)&DAT_001c4620" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&DAT_001c4620" & identifier))) )) ;) (expression_statement "FUN_001633b4(param_1,0,0x11000);" (call_expression "FUN_001633b4(param_1,0,0x11000)" identifier (argument_list "(param_1,0,0x11000)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "ppuVar2 = &PTR_FUN_001c4560;" (assignment_expression "ppuVar2 = &PTR_FUN_001c4560" identifier = (pointer_expression "&PTR_FUN_001c4560" & identifier)) ;) (do_statement "do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c45e8);" do (compound_statement "{\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    }" { (expression_statement "iVar1 = (*(code *)*ppuVar2)(param_1);" (assignment_expression "iVar1 = (*(code *)*ppuVar2)(param_1)" identifier = (call_expression "(*(code *)*ppuVar2)(param_1)" (parenthesized_expression "(*(code *)*ppuVar2)" ( (pointer_expression "*(code *)*ppuVar2" * (cast_expression "(code *)*ppuVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*ppuVar2" * identifier))) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;" if (parenthesized_expression "((iVar1 == 0) || (*(int *)(param_1 + 4) != 0))" ( (binary_expression "(iVar1 == 0) || (*(int *)(param_1 + 4) != 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" ( (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "ppuVar2 = ppuVar2 + 1;" (assignment_expression "ppuVar2 = ppuVar2 + 1" identifier = (binary_expression "ppuVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(ppuVar2 != (undefined **)&DAT_001c45e8)" ( (binary_expression "ppuVar2 != (undefined **)&DAT_001c45e8" identifier != (cast_expression "(undefined **)&DAT_001c45e8" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&DAT_001c45e8" & identifier))) )) ;) })) (labeled_statement "LAB_001617e0:\n  FUN_00163374(param_1);" statement_identifier : (expression_statement "FUN_00163374(param_1);" (call_expression "FUN_00163374(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;)) (return_statement "return -*(int *)(param_1 + 4);" return (unary_expression "-*(int *)(param_1 + 4)" - (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) })))
(translation_unit "int volume_id_probe_all(volume_id *id,uint64_t size)\n\n{\n  int iVar1;\n  probe_fptr *pp_Var2;\n  \n  if (size != 0) {\n    iVar1 = volume_id_probe_linux_raid(id,size);\n    if ((iVar1 == 0) || (id->error != 0)) goto LAB_001617e0;\n  }\n  iVar1 = volume_id_probe_luks(id);\n  if ((iVar1 != 0) && (id->error == 0)) {\n    pp_Var2 = fs1;\n    do {\n      iVar1 = (**pp_Var2)(id);\n      if ((iVar1 == 0) || (id->error != 0)) goto LAB_001617e0;\n      pp_Var2 = pp_Var2 + 1;\n    } while (pp_Var2 != (probe_fptr *)tar_var);\n    volume_id_get_buffer(id,0,0x11000);\n    pp_Var2 = fs2;\n    do {\n      iVar1 = (**pp_Var2)(id);\n      if ((iVar1 == 0) || (id->error != 0)) break;\n      pp_Var2 = pp_Var2 + 1;\n    } while (pp_Var2 != (probe_fptr *)&DAT_001c45e8);\n  }\nLAB_001617e0:\n  volume_id_free_buffer(id);\n  return -id->error;\n}\n\n" (function_definition "int volume_id_probe_all(volume_id *id,uint64_t size)\n\n{\n  int iVar1;\n  probe_fptr *pp_Var2;\n  \n  if (size != 0) {\n    iVar1 = volume_id_probe_linux_raid(id,size);\n    if ((iVar1 == 0) || (id->error != 0)) goto LAB_001617e0;\n  }\n  iVar1 = volume_id_probe_luks(id);\n  if ((iVar1 != 0) && (id->error == 0)) {\n    pp_Var2 = fs1;\n    do {\n      iVar1 = (**pp_Var2)(id);\n      if ((iVar1 == 0) || (id->error != 0)) goto LAB_001617e0;\n      pp_Var2 = pp_Var2 + 1;\n    } while (pp_Var2 != (probe_fptr *)tar_var);\n    volume_id_get_buffer(id,0,0x11000);\n    pp_Var2 = fs2;\n    do {\n      iVar1 = (**pp_Var2)(id);\n      if ((iVar1 == 0) || (id->error != 0)) break;\n      pp_Var2 = pp_Var2 + 1;\n    } while (pp_Var2 != (probe_fptr *)&DAT_001c45e8);\n  }\nLAB_001617e0:\n  volume_id_free_buffer(id);\n  return -id->error;\n}" primitive_type (function_declarator "volume_id_probe_all(volume_id *id,uint64_t size)" identifier (parameter_list "(volume_id *id,uint64_t size)" ( (parameter_declaration "volume_id *id" type_identifier (pointer_declarator "*id" * identifier)) , (parameter_declaration "uint64_t size" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  probe_fptr *pp_Var2;\n  \n  if (size != 0) {\n    iVar1 = volume_id_probe_linux_raid(id,size);\n    if ((iVar1 == 0) || (id->error != 0)) goto LAB_001617e0;\n  }\n  iVar1 = volume_id_probe_luks(id);\n  if ((iVar1 != 0) && (id->error == 0)) {\n    pp_Var2 = fs1;\n    do {\n      iVar1 = (**pp_Var2)(id);\n      if ((iVar1 == 0) || (id->error != 0)) goto LAB_001617e0;\n      pp_Var2 = pp_Var2 + 1;\n    } while (pp_Var2 != (probe_fptr *)tar_var);\n    volume_id_get_buffer(id,0,0x11000);\n    pp_Var2 = fs2;\n    do {\n      iVar1 = (**pp_Var2)(id);\n      if ((iVar1 == 0) || (id->error != 0)) break;\n      pp_Var2 = pp_Var2 + 1;\n    } while (pp_Var2 != (probe_fptr *)&DAT_001c45e8);\n  }\nLAB_001617e0:\n  volume_id_free_buffer(id);\n  return -id->error;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "probe_fptr *pp_Var2;" type_identifier (pointer_declarator "*pp_Var2" * identifier) ;) (if_statement "if (size != 0) {\n    iVar1 = volume_id_probe_linux_raid(id,size);\n    if ((iVar1 == 0) || (id->error != 0)) goto LAB_001617e0;\n  }" if (parenthesized_expression "(size != 0)" ( (binary_expression "size != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = volume_id_probe_linux_raid(id,size);\n    if ((iVar1 == 0) || (id->error != 0)) goto LAB_001617e0;\n  }" { (expression_statement "iVar1 = volume_id_probe_linux_raid(id,size);" (assignment_expression "iVar1 = volume_id_probe_linux_raid(id,size)" identifier = (call_expression "volume_id_probe_linux_raid(id,size)" identifier (argument_list "(id,size)" ( identifier , identifier )))) ;) (if_statement "if ((iVar1 == 0) || (id->error != 0)) goto LAB_001617e0;" if (parenthesized_expression "((iVar1 == 0) || (id->error != 0))" ( (binary_expression "(iVar1 == 0) || (id->error != 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(id->error != 0)" ( (binary_expression "id->error != 0" (field_expression "id->error" identifier -> field_identifier) != number_literal) ))) )) (goto_statement "goto LAB_001617e0;" goto statement_identifier ;)) })) (expression_statement "iVar1 = volume_id_probe_luks(id);" (assignment_expression "iVar1 = volume_id_probe_luks(id)" identifier = (call_expression "volume_id_probe_luks(id)" identifier (argument_list "(id)" ( identifier )))) ;) (if_statement "if ((iVar1 != 0) && (id->error == 0)) {\n    pp_Var2 = fs1;\n    do {\n      iVar1 = (**pp_Var2)(id);\n      if ((iVar1 == 0) || (id->error != 0)) goto LAB_001617e0;\n      pp_Var2 = pp_Var2 + 1;\n    } while (pp_Var2 != (probe_fptr *)tar_var);\n    volume_id_get_buffer(id,0,0x11000);\n    pp_Var2 = fs2;\n    do {\n      iVar1 = (**pp_Var2)(id);\n      if ((iVar1 == 0) || (id->error != 0)) break;\n      pp_Var2 = pp_Var2 + 1;\n    } while (pp_Var2 != (probe_fptr *)&DAT_001c45e8);\n  }" if (parenthesized_expression "((iVar1 != 0) && (id->error == 0))" ( (binary_expression "(iVar1 != 0) && (id->error == 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(id->error == 0)" ( (binary_expression "id->error == 0" (field_expression "id->error" identifier -> field_identifier) == number_literal) ))) )) (compound_statement "{\n    pp_Var2 = fs1;\n    do {\n      iVar1 = (**pp_Var2)(id);\n      if ((iVar1 == 0) || (id->error != 0)) goto LAB_001617e0;\n      pp_Var2 = pp_Var2 + 1;\n    } while (pp_Var2 != (probe_fptr *)tar_var);\n    volume_id_get_buffer(id,0,0x11000);\n    pp_Var2 = fs2;\n    do {\n      iVar1 = (**pp_Var2)(id);\n      if ((iVar1 == 0) || (id->error != 0)) break;\n      pp_Var2 = pp_Var2 + 1;\n    } while (pp_Var2 != (probe_fptr *)&DAT_001c45e8);\n  }" { (expression_statement "pp_Var2 = fs1;" (assignment_expression "pp_Var2 = fs1" identifier = identifier) ;) (do_statement "do {\n      iVar1 = (**pp_Var2)(id);\n      if ((iVar1 == 0) || (id->error != 0)) goto LAB_001617e0;\n      pp_Var2 = pp_Var2 + 1;\n    } while (pp_Var2 != (probe_fptr *)tar_var);" do (compound_statement "{\n      iVar1 = (**pp_Var2)(id);\n      if ((iVar1 == 0) || (id->error != 0)) goto LAB_001617e0;\n      pp_Var2 = pp_Var2 + 1;\n    }" { (expression_statement "iVar1 = (**pp_Var2)(id);" (assignment_expression "iVar1 = (**pp_Var2)(id)" identifier = (call_expression "(**pp_Var2)(id)" (parenthesized_expression "(**pp_Var2)" ( (pointer_expression "**pp_Var2" * (pointer_expression "*pp_Var2" * identifier)) )) (argument_list "(id)" ( identifier )))) ;) (if_statement "if ((iVar1 == 0) || (id->error != 0)) goto LAB_001617e0;" if (parenthesized_expression "((iVar1 == 0) || (id->error != 0))" ( (binary_expression "(iVar1 == 0) || (id->error != 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(id->error != 0)" ( (binary_expression "id->error != 0" (field_expression "id->error" identifier -> field_identifier) != number_literal) ))) )) (goto_statement "goto LAB_001617e0;" goto statement_identifier ;)) (expression_statement "pp_Var2 = pp_Var2 + 1;" (assignment_expression "pp_Var2 = pp_Var2 + 1" identifier = (binary_expression "pp_Var2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pp_Var2 != (probe_fptr *)tar_var)" ( (binary_expression "pp_Var2 != (probe_fptr *)tar_var" identifier != (cast_expression "(probe_fptr *)tar_var" ( (type_descriptor "probe_fptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) ;) (expression_statement "volume_id_get_buffer(id,0,0x11000);" (call_expression "volume_id_get_buffer(id,0,0x11000)" identifier (argument_list "(id,0,0x11000)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "pp_Var2 = fs2;" (assignment_expression "pp_Var2 = fs2" identifier = identifier) ;) (do_statement "do {\n      iVar1 = (**pp_Var2)(id);\n      if ((iVar1 == 0) || (id->error != 0)) break;\n      pp_Var2 = pp_Var2 + 1;\n    } while (pp_Var2 != (probe_fptr *)&DAT_001c45e8);" do (compound_statement "{\n      iVar1 = (**pp_Var2)(id);\n      if ((iVar1 == 0) || (id->error != 0)) break;\n      pp_Var2 = pp_Var2 + 1;\n    }" { (expression_statement "iVar1 = (**pp_Var2)(id);" (assignment_expression "iVar1 = (**pp_Var2)(id)" identifier = (call_expression "(**pp_Var2)(id)" (parenthesized_expression "(**pp_Var2)" ( (pointer_expression "**pp_Var2" * (pointer_expression "*pp_Var2" * identifier)) )) (argument_list "(id)" ( identifier )))) ;) (if_statement "if ((iVar1 == 0) || (id->error != 0)) break;" if (parenthesized_expression "((iVar1 == 0) || (id->error != 0))" ( (binary_expression "(iVar1 == 0) || (id->error != 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(id->error != 0)" ( (binary_expression "id->error != 0" (field_expression "id->error" identifier -> field_identifier) != number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "pp_Var2 = pp_Var2 + 1;" (assignment_expression "pp_Var2 = pp_Var2 + 1" identifier = (binary_expression "pp_Var2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pp_Var2 != (probe_fptr *)&DAT_001c45e8)" ( (binary_expression "pp_Var2 != (probe_fptr *)&DAT_001c45e8" identifier != (cast_expression "(probe_fptr *)&DAT_001c45e8" ( (type_descriptor "probe_fptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_001c45e8" & identifier))) )) ;) })) (labeled_statement "LAB_001617e0:\n  volume_id_free_buffer(id);" statement_identifier : (expression_statement "volume_id_free_buffer(id);" (call_expression "volume_id_free_buffer(id)" identifier (argument_list "(id)" ( identifier ))) ;)) (return_statement "return -id->error;" return (unary_expression "-id->error" - (field_expression "id->error" identifier -> field_identifier)) ;) })))
(translation_unit "int FUN_00161756(long param_1,long param_2)\n\n{\n  int iVar1;\n  undefined **ppuVar2;\n  \n  if (param_2 != 0) {\n    iVar1 = FUN_0016260c();\n    if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n  }\n  iVar1 = FUN_001627cc(param_1);\n  if ((iVar1 != 0) && (*(int *)(param_1 + 4) == 0)) {\n    ppuVar2 = &PTR_FUN_001c4600;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c4620);\n    FUN_001633b4(param_1,0,0x11000);\n    ppuVar2 = &PTR_FUN_001c4560;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c45e8);\n  }\nLAB_001617e0:\n  FUN_00163374(param_1);\n  return -*(int *)(param_1 + 4);\n}\n\n" (function_definition "int FUN_00161756(long param_1,long param_2)\n\n{\n  int iVar1;\n  undefined **ppuVar2;\n  \n  if (param_2 != 0) {\n    iVar1 = FUN_0016260c();\n    if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n  }\n  iVar1 = FUN_001627cc(param_1);\n  if ((iVar1 != 0) && (*(int *)(param_1 + 4) == 0)) {\n    ppuVar2 = &PTR_FUN_001c4600;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c4620);\n    FUN_001633b4(param_1,0,0x11000);\n    ppuVar2 = &PTR_FUN_001c4560;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c45e8);\n  }\nLAB_001617e0:\n  FUN_00163374(param_1);\n  return -*(int *)(param_1 + 4);\n}" primitive_type (function_declarator "FUN_00161756(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined **ppuVar2;\n  \n  if (param_2 != 0) {\n    iVar1 = FUN_0016260c();\n    if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n  }\n  iVar1 = FUN_001627cc(param_1);\n  if ((iVar1 != 0) && (*(int *)(param_1 + 4) == 0)) {\n    ppuVar2 = &PTR_FUN_001c4600;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c4620);\n    FUN_001633b4(param_1,0,0x11000);\n    ppuVar2 = &PTR_FUN_001c4560;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c45e8);\n  }\nLAB_001617e0:\n  FUN_00163374(param_1);\n  return -*(int *)(param_1 + 4);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined **ppuVar2;" type_identifier (pointer_declarator "**ppuVar2" * (pointer_declarator "*ppuVar2" * identifier)) ;) (if_statement "if (param_2 != 0) {\n    iVar1 = FUN_0016260c();\n    if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = FUN_0016260c();\n    if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n  }" { (expression_statement "iVar1 = FUN_0016260c();" (assignment_expression "iVar1 = FUN_0016260c()" identifier = (call_expression "FUN_0016260c()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;" if (parenthesized_expression "((iVar1 == 0) || (*(int *)(param_1 + 4) != 0))" ( (binary_expression "(iVar1 == 0) || (*(int *)(param_1 + 4) != 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" ( (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) ))) )) (goto_statement "goto LAB_001617e0;" goto statement_identifier ;)) })) (expression_statement "iVar1 = FUN_001627cc(param_1);" (assignment_expression "iVar1 = FUN_001627cc(param_1)" identifier = (call_expression "FUN_001627cc(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((iVar1 != 0) && (*(int *)(param_1 + 4) == 0)) {\n    ppuVar2 = &PTR_FUN_001c4600;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c4620);\n    FUN_001633b4(param_1,0,0x11000);\n    ppuVar2 = &PTR_FUN_001c4560;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c45e8);\n  }" if (parenthesized_expression "((iVar1 != 0) && (*(int *)(param_1 + 4) == 0))" ( (binary_expression "(iVar1 != 0) && (*(int *)(param_1 + 4) == 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 4) == 0)" ( (binary_expression "*(int *)(param_1 + 4) == 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    ppuVar2 = &PTR_FUN_001c4600;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c4620);\n    FUN_001633b4(param_1,0,0x11000);\n    ppuVar2 = &PTR_FUN_001c4560;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c45e8);\n  }" { (expression_statement "ppuVar2 = &PTR_FUN_001c4600;" (assignment_expression "ppuVar2 = &PTR_FUN_001c4600" identifier = (pointer_expression "&PTR_FUN_001c4600" & identifier)) ;) (do_statement "do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c4620);" do (compound_statement "{\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    }" { (expression_statement "iVar1 = (*(code *)*ppuVar2)(param_1);" (assignment_expression "iVar1 = (*(code *)*ppuVar2)(param_1)" identifier = (call_expression "(*(code *)*ppuVar2)(param_1)" (parenthesized_expression "(*(code *)*ppuVar2)" ( (pointer_expression "*(code *)*ppuVar2" * (cast_expression "(code *)*ppuVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*ppuVar2" * identifier))) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;" if (parenthesized_expression "((iVar1 == 0) || (*(int *)(param_1 + 4) != 0))" ( (binary_expression "(iVar1 == 0) || (*(int *)(param_1 + 4) != 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" ( (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) ))) )) (goto_statement "goto LAB_001617e0;" goto statement_identifier ;)) (expression_statement "ppuVar2 = ppuVar2 + 1;" (assignment_expression "ppuVar2 = ppuVar2 + 1" identifier = (binary_expression "ppuVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(ppuVar2 != (undefined **)&DAT_001c4620)" ( (binary_expression "ppuVar2 != (undefined **)&DAT_001c4620" identifier != (cast_expression "(undefined **)&DAT_001c4620" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&DAT_001c4620" & identifier))) )) ;) (expression_statement "FUN_001633b4(param_1,0,0x11000);" (call_expression "FUN_001633b4(param_1,0,0x11000)" identifier (argument_list "(param_1,0,0x11000)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "ppuVar2 = &PTR_FUN_001c4560;" (assignment_expression "ppuVar2 = &PTR_FUN_001c4560" identifier = (pointer_expression "&PTR_FUN_001c4560" & identifier)) ;) (do_statement "do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c45e8);" do (compound_statement "{\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    }" { (expression_statement "iVar1 = (*(code *)*ppuVar2)(param_1);" (assignment_expression "iVar1 = (*(code *)*ppuVar2)(param_1)" identifier = (call_expression "(*(code *)*ppuVar2)(param_1)" (parenthesized_expression "(*(code *)*ppuVar2)" ( (pointer_expression "*(code *)*ppuVar2" * (cast_expression "(code *)*ppuVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*ppuVar2" * identifier))) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;" if (parenthesized_expression "((iVar1 == 0) || (*(int *)(param_1 + 4) != 0))" ( (binary_expression "(iVar1 == 0) || (*(int *)(param_1 + 4) != 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" ( (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "ppuVar2 = ppuVar2 + 1;" (assignment_expression "ppuVar2 = ppuVar2 + 1" identifier = (binary_expression "ppuVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(ppuVar2 != (undefined **)&DAT_001c45e8)" ( (binary_expression "ppuVar2 != (undefined **)&DAT_001c45e8" identifier != (cast_expression "(undefined **)&DAT_001c45e8" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&DAT_001c45e8" & identifier))) )) ;) })) (labeled_statement "LAB_001617e0:\n  FUN_00163374(param_1);" statement_identifier : (expression_statement "FUN_00163374(param_1);" (call_expression "FUN_00163374(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;)) (return_statement "return -*(int *)(param_1 + 4);" return (unary_expression "-*(int *)(param_1 + 4)" - (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (pointer_expression & IDENT))) )) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (pointer_expression & IDENT))) )) ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (return_statement return (unary_expression - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })))
(function_definition "int FUN_00161756(long param_1,long param_2)\n\n{\n  int iVar1;\n  undefined **ppuVar2;\n  \n  if (param_2 != 0) {\n    iVar1 = FUN_0016260c();\n    if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n  }\n  iVar1 = FUN_001627cc(param_1);\n  if ((iVar1 != 0) && (*(int *)(param_1 + 4) == 0)) {\n    ppuVar2 = &PTR_FUN_001c4600;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c4620);\n    FUN_001633b4(param_1,0,0x11000);\n    ppuVar2 = &PTR_FUN_001c4560;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c45e8);\n  }\nLAB_001617e0:\n  FUN_00163374(param_1);\n  return -*(int *)(param_1 + 4);\n}" (primitive_type "int") (function_declarator "FUN_00161756(long param_1,long param_2)" (identifier "FUN_00161756") (parameter_list "(long param_1,long param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined **ppuVar2;\n  \n  if (param_2 != 0) {\n    iVar1 = FUN_0016260c();\n    if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n  }\n  iVar1 = FUN_001627cc(param_1);\n  if ((iVar1 != 0) && (*(int *)(param_1 + 4) == 0)) {\n    ppuVar2 = &PTR_FUN_001c4600;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c4620);\n    FUN_001633b4(param_1,0,0x11000);\n    ppuVar2 = &PTR_FUN_001c4560;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c45e8);\n  }\nLAB_001617e0:\n  FUN_00163374(param_1);\n  return -*(int *)(param_1 + 4);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined **ppuVar2;" (type_identifier "undefined") (pointer_declarator "**ppuVar2" (* "*") (pointer_declarator "*ppuVar2" (* "*") (identifier "ppuVar2"))) (; ";")) (if_statement "if (param_2 != 0) {\n    iVar1 = FUN_0016260c();\n    if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = FUN_0016260c();\n    if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n  }" ({ "{") (expression_statement "iVar1 = FUN_0016260c();" (assignment_expression "iVar1 = FUN_0016260c()" (identifier "iVar1") (= "=") (call_expression "FUN_0016260c()" (identifier "FUN_0016260c") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;" (if "if") (parenthesized_expression "((iVar1 == 0) || (*(int *)(param_1 + 4) != 0))" (( "(") (binary_expression "(iVar1 == 0) || (*(int *)(param_1 + 4) != 0)" (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_001617e0;" (goto "goto") (statement_identifier "LAB_001617e0") (; ";"))) (} "}"))) (expression_statement "iVar1 = FUN_001627cc(param_1);" (assignment_expression "iVar1 = FUN_001627cc(param_1)" (identifier "iVar1") (= "=") (call_expression "FUN_001627cc(param_1)" (identifier "FUN_001627cc") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if ((iVar1 != 0) && (*(int *)(param_1 + 4) == 0)) {\n    ppuVar2 = &PTR_FUN_001c4600;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c4620);\n    FUN_001633b4(param_1,0,0x11000);\n    ppuVar2 = &PTR_FUN_001c4560;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c45e8);\n  }" (if "if") (parenthesized_expression "((iVar1 != 0) && (*(int *)(param_1 + 4) == 0))" (( "(") (binary_expression "(iVar1 != 0) && (*(int *)(param_1 + 4) == 0)" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_1 + 4) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 4) == 0" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    ppuVar2 = &PTR_FUN_001c4600;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c4620);\n    FUN_001633b4(param_1,0,0x11000);\n    ppuVar2 = &PTR_FUN_001c4560;\n    do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c45e8);\n  }" ({ "{") (expression_statement "ppuVar2 = &PTR_FUN_001c4600;" (assignment_expression "ppuVar2 = &PTR_FUN_001c4600" (identifier "ppuVar2") (= "=") (pointer_expression "&PTR_FUN_001c4600" (& "&") (identifier "PTR_FUN_001c4600"))) (; ";")) (do_statement "do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c4620);" (do "do") (compound_statement "{\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;\n      ppuVar2 = ppuVar2 + 1;\n    }" ({ "{") (expression_statement "iVar1 = (*(code *)*ppuVar2)(param_1);" (assignment_expression "iVar1 = (*(code *)*ppuVar2)(param_1)" (identifier "iVar1") (= "=") (call_expression "(*(code *)*ppuVar2)(param_1)" (parenthesized_expression "(*(code *)*ppuVar2)" (( "(") (pointer_expression "*(code *)*ppuVar2" (* "*") (cast_expression "(code *)*ppuVar2" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*ppuVar2" (* "*") (identifier "ppuVar2")))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;" (if "if") (parenthesized_expression "((iVar1 == 0) || (*(int *)(param_1 + 4) != 0))" (( "(") (binary_expression "(iVar1 == 0) || (*(int *)(param_1 + 4) != 0)" (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_001617e0;" (goto "goto") (statement_identifier "LAB_001617e0") (; ";"))) (expression_statement "ppuVar2 = ppuVar2 + 1;" (assignment_expression "ppuVar2 = ppuVar2 + 1" (identifier "ppuVar2") (= "=") (binary_expression "ppuVar2 + 1" (identifier "ppuVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(ppuVar2 != (undefined **)&DAT_001c4620)" (( "(") (binary_expression "ppuVar2 != (undefined **)&DAT_001c4620" (identifier "ppuVar2") (!= "!=") (cast_expression "(undefined **)&DAT_001c4620" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (pointer_expression "&DAT_001c4620" (& "&") (identifier "DAT_001c4620")))) () ")")) (; ";")) (expression_statement "FUN_001633b4(param_1,0,0x11000);" (call_expression "FUN_001633b4(param_1,0,0x11000)" (identifier "FUN_001633b4") (argument_list "(param_1,0,0x11000)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0x11000") () ")"))) (; ";")) (expression_statement "ppuVar2 = &PTR_FUN_001c4560;" (assignment_expression "ppuVar2 = &PTR_FUN_001c4560" (identifier "ppuVar2") (= "=") (pointer_expression "&PTR_FUN_001c4560" (& "&") (identifier "PTR_FUN_001c4560"))) (; ";")) (do_statement "do {\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    } while (ppuVar2 != (undefined **)&DAT_001c45e8);" (do "do") (compound_statement "{\n      iVar1 = (*(code *)*ppuVar2)(param_1);\n      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;\n      ppuVar2 = ppuVar2 + 1;\n    }" ({ "{") (expression_statement "iVar1 = (*(code *)*ppuVar2)(param_1);" (assignment_expression "iVar1 = (*(code *)*ppuVar2)(param_1)" (identifier "iVar1") (= "=") (call_expression "(*(code *)*ppuVar2)(param_1)" (parenthesized_expression "(*(code *)*ppuVar2)" (( "(") (pointer_expression "*(code *)*ppuVar2" (* "*") (cast_expression "(code *)*ppuVar2" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*ppuVar2" (* "*") (identifier "ppuVar2")))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;" (if "if") (parenthesized_expression "((iVar1 == 0) || (*(int *)(param_1 + 4) != 0))" (( "(") (binary_expression "(iVar1 == 0) || (*(int *)(param_1 + 4) != 0)" (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "ppuVar2 = ppuVar2 + 1;" (assignment_expression "ppuVar2 = ppuVar2 + 1" (identifier "ppuVar2") (= "=") (binary_expression "ppuVar2 + 1" (identifier "ppuVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(ppuVar2 != (undefined **)&DAT_001c45e8)" (( "(") (binary_expression "ppuVar2 != (undefined **)&DAT_001c45e8" (identifier "ppuVar2") (!= "!=") (cast_expression "(undefined **)&DAT_001c45e8" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (pointer_expression "&DAT_001c45e8" (& "&") (identifier "DAT_001c45e8")))) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_001617e0:\n  FUN_00163374(param_1);" (statement_identifier "LAB_001617e0") (: ":") (expression_statement "FUN_00163374(param_1);" (call_expression "FUN_00163374(param_1)" (identifier "FUN_00163374") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";"))) (return_statement "return -*(int *)(param_1 + 4);" (return "return") (unary_expression "-*(int *)(param_1 + 4)" (- "-") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}")))

int function_1(type_1 *id,uint64_t var_1)

{
  int var_3;
  type_2 *var_5;
  
  if (var_1 != 0) {
    var_3 = var_2(id,var_1);
    if ((var_3 == 0) || (id->error != 0)) goto LAB_001617e0;
  }
  var_3 = var_4(id);
  if ((var_3 != 0) && (id->error == 0)) {
    var_5 = fs1;
    do {
      var_3 = (**var_5)(id);
      if ((var_3 == 0) || (id->error != 0)) goto LAB_001617e0;
      var_5 = var_5 + 1;
    } while (var_5 != (type_2 *)tar_var);
    var_6(id,0,0x11000);
    var_5 = fs2;
    do {
      var_3 = (**var_5)(id);
      if ((var_3 == 0) || (id->error != 0)) break;
      var_5 = var_5 + 1;
    } while (var_5 != (type_2 *)&DAT_001c45e8);
  }
LAB_001617e0:
  var_7(id);
  return -id->error;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (pointer_expression argument: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (pointer_expression argument: (identifier)))))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) (return_statement (unary_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))))

int MASKED(long param_1,long param_2)

{
  int iVar1;
  undefined **ppuVar2;
  
  if (param_2 != 0) {
    iVar1 = FUN_0016260c();
    if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;
  }
  iVar1 = FUN_001627cc(param_1);
  if ((iVar1 != 0) && (*(int *)(param_1 + 4) == 0)) {
    ppuVar2 = &PTR_FUN_001c4600;
    do {
      iVar1 = (*(code *)*ppuVar2)(param_1);
      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) goto LAB_001617e0;
      ppuVar2 = ppuVar2 + 1;
    } while (ppuVar2 != (undefined **)&DAT_001c4620);
    FUN_001633b4(param_1,0,0x11000);
    ppuVar2 = &PTR_FUN_001c4560;
    do {
      iVar1 = (*(code *)*ppuVar2)(param_1);
      if ((iVar1 == 0) || (*(int *)(param_1 + 4) != 0)) break;
      ppuVar2 = ppuVar2 + 1;
    } while (ppuVar2 != (undefined **)&DAT_001c45e8);
  }
LAB_001617e0:
  FUN_00163374(param_1);
  return -*(int *)(param_1 + 4);
}

