
void set_long_section_mode(bfd *output_bfd,bfd *input_bfd,long_section_name_handling style)

{
  bool bVar1;
  
  if (output_bfd->xvec->flavour != bfd_target_coff_flavour) {
    return;
  }
  if (style == KEEP) {
    bVar1 = true;
    if (*(int *)(input_bfd->filename + 8) == 2) {
      bVar1 = *(int *)(*(long *)(input_bfd->filename + 0x368) + 0x74) != 0;
    }
  }
  else {
    bVar1 = style != DISABLE;
  }
                    /* WARNING: Could not recover jumptable at 0x00107f14. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)((long)output_bfd->xvec->backend_data + 0x78))(output_bfd,bVar1);
  return;
}



void FUN_00107ef0(long param_1,long *param_2,int param_3)

{
  bool bVar1;
  
  if (*(int *)(*(long *)(param_1 + 8) + 8) != 2) {
    return;
  }
  if (param_3 == 2) {
    bVar1 = true;
    if (*(int *)(*param_2 + 8) == 2) {
      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;
    }
  }
  else {
    bVar1 = param_3 != 0;
  }
                    /* WARNING: Could not recover jumptable at 0x00107f14. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))(param_1,bVar1);
  return;
}


MOV RAX,qword ptr [RDI + 0x8]
CMP dword ptr [RAX + 0x8],0x2
JZ 0x00107f00
RET
CMP EDX,0x2
JZ 0x00107f20
XOR ESI,ESI
TEST EDX,EDX
SETNZ SIL
MOV RAX,qword ptr [RAX + 0x368]
JMP qword ptr [RAX + 0x78]
MOV RDX,qword ptr [RSI]
MOV ESI,0x1
CMP dword ptr [RDX + 0x8],0x2
JNZ 0x00107f0d
MOV RDX,qword ptr [RDX + 0x368]
XOR ESI,ESI
MOV EDX,dword ptr [RDX + 0x74]
TEST EDX,EDX
SETNZ SIL
JMP 0x00107f0d
(translation_unit "void FUN_00107ef0(long param_1,long *param_2,int param_3)\n\n{\n  bool bVar1;\n  \n  if (*(int *)(*(long *)(param_1 + 8) + 8) != 2) {\n    return;\n  }\n  if (param_3 == 2) {\n    bVar1 = true;\n    if (*(int *)(*param_2 + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }\n  }\n  else {\n    bVar1 = param_3 != 0;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00107f14. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))(param_1,bVar1);\n  return;\n}\n\n" (function_definition "void FUN_00107ef0(long param_1,long *param_2,int param_3)\n\n{\n  bool bVar1;\n  \n  if (*(int *)(*(long *)(param_1 + 8) + 8) != 2) {\n    return;\n  }\n  if (param_3 == 2) {\n    bVar1 = true;\n    if (*(int *)(*param_2 + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }\n  }\n  else {\n    bVar1 = param_3 != 0;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00107f14. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))(param_1,bVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00107ef0(long param_1,long *param_2,int param_3)" identifier (parameter_list "(long param_1,long *param_2,int param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  \n  if (*(int *)(*(long *)(param_1 + 8) + 8) != 2) {\n    return;\n  }\n  if (param_3 == 2) {\n    bVar1 = true;\n    if (*(int *)(*param_2 + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }\n  }\n  else {\n    bVar1 = param_3 != 0;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00107f14. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))(param_1,bVar1);\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (if_statement "if (*(int *)(*(long *)(param_1 + 8) + 8) != 2) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(*(long *)(param_1 + 8) + 8) != 2)" ( (binary_expression "*(int *)(*(long *)(param_1 + 8) + 8) != 2" (pointer_expression "*(int *)(*(long *)(param_1 + 8) + 8)" * (cast_expression "(int *)(*(long *)(param_1 + 8) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 8)" ( (binary_expression "*(long *)(param_1 + 8) + 8" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (param_3 == 2) {\n    bVar1 = true;\n    if (*(int *)(*param_2 + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }\n  }\n  else {\n    bVar1 = param_3 != 0;\n  }" if (parenthesized_expression "(param_3 == 2)" ( (binary_expression "param_3 == 2" identifier == number_literal) )) (compound_statement "{\n    bVar1 = true;\n    if (*(int *)(*param_2 + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }\n  }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (if_statement "if (*(int *)(*param_2 + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }" if (parenthesized_expression "(*(int *)(*param_2 + 8) == 2)" ( (binary_expression "*(int *)(*param_2 + 8) == 2" (pointer_expression "*(int *)(*param_2 + 8)" * (cast_expression "(int *)(*param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 8)" ( (binary_expression "*param_2 + 8" (pointer_expression "*param_2" * identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }" { (expression_statement "bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;" (assignment_expression "bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0" identifier = (binary_expression "*(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0" (pointer_expression "*(int *)(*(long *)(*param_2 + 0x368) + 0x74)" * (cast_expression "(int *)(*(long *)(*param_2 + 0x368) + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*param_2 + 0x368) + 0x74)" ( (binary_expression "*(long *)(*param_2 + 0x368) + 0x74" (pointer_expression "*(long *)(*param_2 + 0x368)" * (cast_expression "(long *)(*param_2 + 0x368)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0x368)" ( (binary_expression "*param_2 + 0x368" (pointer_expression "*param_2" * identifier) + number_literal) )))) + number_literal) )))) != number_literal)) ;) })) }) (else_clause "else {\n    bVar1 = param_3 != 0;\n  }" else (compound_statement "{\n    bVar1 = param_3 != 0;\n  }" { (expression_statement "bVar1 = param_3 != 0;" (assignment_expression "bVar1 = param_3 != 0" identifier = (binary_expression "param_3 != 0" identifier != number_literal)) ;) }))) comment comment (expression_statement "(**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))(param_1,bVar1);" (call_expression "(**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))(param_1,bVar1)" (parenthesized_expression "(**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))" ( (pointer_expression "**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78)" * (pointer_expression "*(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78)" * (cast_expression "(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78)" ( (binary_expression "*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78" (pointer_expression "*(long *)(*(long *)(param_1 + 8) + 0x368)" * (cast_expression "(long *)(*(long *)(param_1 + 8) + 0x368)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 0x368)" ( (binary_expression "*(long *)(param_1 + 8) + 0x368" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) + number_literal) ))))) )) (argument_list "(param_1,bVar1)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void set_long_section_mode(bfd *output_bfd,bfd *input_bfd,long_section_name_handling style)\n\n{\n  bool bVar1;\n  \n  if (output_bfd->xvec->flavour != bfd_target_coff_flavour) {\n    return;\n  }\n  if (style == KEEP) {\n    bVar1 = true;\n    if (*(int *)(input_bfd->filename + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(input_bfd->filename + 0x368) + 0x74) != 0;\n    }\n  }\n  else {\n    bVar1 = style != DISABLE;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00107f14. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)((long)output_bfd->xvec->backend_data + 0x78))(output_bfd,bVar1);\n  return;\n}\n\n" (function_definition "void set_long_section_mode(bfd *output_bfd,bfd *input_bfd,long_section_name_handling style)\n\n{\n  bool bVar1;\n  \n  if (output_bfd->xvec->flavour != bfd_target_coff_flavour) {\n    return;\n  }\n  if (style == KEEP) {\n    bVar1 = true;\n    if (*(int *)(input_bfd->filename + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(input_bfd->filename + 0x368) + 0x74) != 0;\n    }\n  }\n  else {\n    bVar1 = style != DISABLE;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00107f14. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)((long)output_bfd->xvec->backend_data + 0x78))(output_bfd,bVar1);\n  return;\n}" primitive_type (function_declarator "set_long_section_mode(bfd *output_bfd,bfd *input_bfd,long_section_name_handling style)" identifier (parameter_list "(bfd *output_bfd,bfd *input_bfd,long_section_name_handling style)" ( (parameter_declaration "bfd *output_bfd" type_identifier (pointer_declarator "*output_bfd" * identifier)) , (parameter_declaration "bfd *input_bfd" type_identifier (pointer_declarator "*input_bfd" * identifier)) , (parameter_declaration "long_section_name_handling style" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  \n  if (output_bfd->xvec->flavour != bfd_target_coff_flavour) {\n    return;\n  }\n  if (style == KEEP) {\n    bVar1 = true;\n    if (*(int *)(input_bfd->filename + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(input_bfd->filename + 0x368) + 0x74) != 0;\n    }\n  }\n  else {\n    bVar1 = style != DISABLE;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00107f14. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)((long)output_bfd->xvec->backend_data + 0x78))(output_bfd,bVar1);\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (if_statement "if (output_bfd->xvec->flavour != bfd_target_coff_flavour) {\n    return;\n  }" if (parenthesized_expression "(output_bfd->xvec->flavour != bfd_target_coff_flavour)" ( (binary_expression "output_bfd->xvec->flavour != bfd_target_coff_flavour" (field_expression "output_bfd->xvec->flavour" (field_expression "output_bfd->xvec" identifier -> field_identifier) -> field_identifier) != identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (style == KEEP) {\n    bVar1 = true;\n    if (*(int *)(input_bfd->filename + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(input_bfd->filename + 0x368) + 0x74) != 0;\n    }\n  }\n  else {\n    bVar1 = style != DISABLE;\n  }" if (parenthesized_expression "(style == KEEP)" ( (binary_expression "style == KEEP" identifier == identifier) )) (compound_statement "{\n    bVar1 = true;\n    if (*(int *)(input_bfd->filename + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(input_bfd->filename + 0x368) + 0x74) != 0;\n    }\n  }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (if_statement "if (*(int *)(input_bfd->filename + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(input_bfd->filename + 0x368) + 0x74) != 0;\n    }" if (parenthesized_expression "(*(int *)(input_bfd->filename + 8) == 2)" ( (binary_expression "*(int *)(input_bfd->filename + 8) == 2" (pointer_expression "*(int *)(input_bfd->filename + 8)" * (cast_expression "(int *)(input_bfd->filename + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(input_bfd->filename + 8)" ( (binary_expression "input_bfd->filename + 8" (field_expression "input_bfd->filename" identifier -> field_identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n      bVar1 = *(int *)(*(long *)(input_bfd->filename + 0x368) + 0x74) != 0;\n    }" { (expression_statement "bVar1 = *(int *)(*(long *)(input_bfd->filename + 0x368) + 0x74) != 0;" (assignment_expression "bVar1 = *(int *)(*(long *)(input_bfd->filename + 0x368) + 0x74) != 0" identifier = (binary_expression "*(int *)(*(long *)(input_bfd->filename + 0x368) + 0x74) != 0" (pointer_expression "*(int *)(*(long *)(input_bfd->filename + 0x368) + 0x74)" * (cast_expression "(int *)(*(long *)(input_bfd->filename + 0x368) + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(input_bfd->filename + 0x368) + 0x74)" ( (binary_expression "*(long *)(input_bfd->filename + 0x368) + 0x74" (pointer_expression "*(long *)(input_bfd->filename + 0x368)" * (cast_expression "(long *)(input_bfd->filename + 0x368)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(input_bfd->filename + 0x368)" ( (binary_expression "input_bfd->filename + 0x368" (field_expression "input_bfd->filename" identifier -> field_identifier) + number_literal) )))) + number_literal) )))) != number_literal)) ;) })) }) (else_clause "else {\n    bVar1 = style != DISABLE;\n  }" else (compound_statement "{\n    bVar1 = style != DISABLE;\n  }" { (expression_statement "bVar1 = style != DISABLE;" (assignment_expression "bVar1 = style != DISABLE" identifier = (binary_expression "style != DISABLE" identifier != identifier)) ;) }))) comment comment (expression_statement "(**(code **)((long)output_bfd->xvec->backend_data + 0x78))(output_bfd,bVar1);" (call_expression "(**(code **)((long)output_bfd->xvec->backend_data + 0x78))(output_bfd,bVar1)" (parenthesized_expression "(**(code **)((long)output_bfd->xvec->backend_data + 0x78))" ( (pointer_expression "**(code **)((long)output_bfd->xvec->backend_data + 0x78)" * (pointer_expression "*(code **)((long)output_bfd->xvec->backend_data + 0x78)" * (cast_expression "(code **)((long)output_bfd->xvec->backend_data + 0x78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)output_bfd->xvec->backend_data + 0x78)" ( (binary_expression "(long)output_bfd->xvec->backend_data + 0x78" (cast_expression "(long)output_bfd->xvec->backend_data" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "output_bfd->xvec->backend_data" (field_expression "output_bfd->xvec" identifier -> field_identifier) -> field_identifier)) + number_literal) ))))) )) (argument_list "(output_bfd,bVar1)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00107ef0(long param_1,long *param_2,int param_3)\n\n{\n  bool bVar1;\n  \n  if (*(int *)(*(long *)(param_1 + 8) + 8) != 2) {\n    return;\n  }\n  if (param_3 == 2) {\n    bVar1 = true;\n    if (*(int *)(*param_2 + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }\n  }\n  else {\n    bVar1 = param_3 != 0;\n  }\n                    \n                    \n  (**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))(param_1,bVar1);\n  return;\n}\n\n" (function_definition "void FUN_00107ef0(long param_1,long *param_2,int param_3)\n\n{\n  bool bVar1;\n  \n  if (*(int *)(*(long *)(param_1 + 8) + 8) != 2) {\n    return;\n  }\n  if (param_3 == 2) {\n    bVar1 = true;\n    if (*(int *)(*param_2 + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }\n  }\n  else {\n    bVar1 = param_3 != 0;\n  }\n                    \n                    \n  (**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))(param_1,bVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00107ef0(long param_1,long *param_2,int param_3)" identifier (parameter_list "(long param_1,long *param_2,int param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  \n  if (*(int *)(*(long *)(param_1 + 8) + 8) != 2) {\n    return;\n  }\n  if (param_3 == 2) {\n    bVar1 = true;\n    if (*(int *)(*param_2 + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }\n  }\n  else {\n    bVar1 = param_3 != 0;\n  }\n                    \n                    \n  (**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))(param_1,bVar1);\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (if_statement "if (*(int *)(*(long *)(param_1 + 8) + 8) != 2) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(*(long *)(param_1 + 8) + 8) != 2)" ( (binary_expression "*(int *)(*(long *)(param_1 + 8) + 8) != 2" (pointer_expression "*(int *)(*(long *)(param_1 + 8) + 8)" * (cast_expression "(int *)(*(long *)(param_1 + 8) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 8)" ( (binary_expression "*(long *)(param_1 + 8) + 8" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (param_3 == 2) {\n    bVar1 = true;\n    if (*(int *)(*param_2 + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }\n  }\n  else {\n    bVar1 = param_3 != 0;\n  }" if (parenthesized_expression "(param_3 == 2)" ( (binary_expression "param_3 == 2" identifier == number_literal) )) (compound_statement "{\n    bVar1 = true;\n    if (*(int *)(*param_2 + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }\n  }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (if_statement "if (*(int *)(*param_2 + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }" if (parenthesized_expression "(*(int *)(*param_2 + 8) == 2)" ( (binary_expression "*(int *)(*param_2 + 8) == 2" (pointer_expression "*(int *)(*param_2 + 8)" * (cast_expression "(int *)(*param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 8)" ( (binary_expression "*param_2 + 8" (pointer_expression "*param_2" * identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }" { (expression_statement "bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;" (assignment_expression "bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0" identifier = (binary_expression "*(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0" (pointer_expression "*(int *)(*(long *)(*param_2 + 0x368) + 0x74)" * (cast_expression "(int *)(*(long *)(*param_2 + 0x368) + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*param_2 + 0x368) + 0x74)" ( (binary_expression "*(long *)(*param_2 + 0x368) + 0x74" (pointer_expression "*(long *)(*param_2 + 0x368)" * (cast_expression "(long *)(*param_2 + 0x368)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0x368)" ( (binary_expression "*param_2 + 0x368" (pointer_expression "*param_2" * identifier) + number_literal) )))) + number_literal) )))) != number_literal)) ;) })) }) (else_clause "else {\n    bVar1 = param_3 != 0;\n  }" else (compound_statement "{\n    bVar1 = param_3 != 0;\n  }" { (expression_statement "bVar1 = param_3 != 0;" (assignment_expression "bVar1 = param_3 != 0" identifier = (binary_expression "param_3 != 0" identifier != number_literal)) ;) }))) (expression_statement "(**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))(param_1,bVar1);" (call_expression "(**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))(param_1,bVar1)" (parenthesized_expression "(**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))" ( (pointer_expression "**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78)" * (pointer_expression "*(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78)" * (cast_expression "(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78)" ( (binary_expression "*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78" (pointer_expression "*(long *)(*(long *)(param_1 + 8) + 0x368)" * (cast_expression "(long *)(*(long *)(param_1 + 8) + 0x368)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 0x368)" ( (binary_expression "*(long *)(param_1 + 8) + 0x368" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) + number_literal) ))))) )) (argument_list "(param_1,bVar1)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + LIT) )))) != LIT)) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT != LIT)) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) + LIT) ))))) )) (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00107ef0(long param_1,long *param_2,int param_3)\n\n{\n  bool bVar1;\n  \n  if (*(int *)(*(long *)(param_1 + 8) + 8) != 2) {\n    return;\n  }\n  if (param_3 == 2) {\n    bVar1 = true;\n    if (*(int *)(*param_2 + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }\n  }\n  else {\n    bVar1 = param_3 != 0;\n  }\n                    \n                    \n  (**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))(param_1,bVar1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00107ef0(long param_1,long *param_2,int param_3)" (identifier "FUN_00107ef0") (parameter_list "(long param_1,long *param_2,int param_3)" (( "(") (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")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  bool bVar1;\n  \n  if (*(int *)(*(long *)(param_1 + 8) + 8) != 2) {\n    return;\n  }\n  if (param_3 == 2) {\n    bVar1 = true;\n    if (*(int *)(*param_2 + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }\n  }\n  else {\n    bVar1 = param_3 != 0;\n  }\n                    \n                    \n  (**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))(param_1,bVar1);\n  return;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (if_statement "if (*(int *)(*(long *)(param_1 + 8) + 8) != 2) {\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(*(long *)(param_1 + 8) + 8) != 2)" (( "(") (binary_expression "*(int *)(*(long *)(param_1 + 8) + 8) != 2" (pointer_expression "*(int *)(*(long *)(param_1 + 8) + 8)" (* "*") (cast_expression "(int *)(*(long *)(param_1 + 8) + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 8) + 8)" (( "(") (binary_expression "*(long *)(param_1 + 8) + 8" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (param_3 == 2) {\n    bVar1 = true;\n    if (*(int *)(*param_2 + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }\n  }\n  else {\n    bVar1 = param_3 != 0;\n  }" (if "if") (parenthesized_expression "(param_3 == 2)" (( "(") (binary_expression "param_3 == 2" (identifier "param_3") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    bVar1 = true;\n    if (*(int *)(*param_2 + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }\n  }" ({ "{") (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (if_statement "if (*(int *)(*param_2 + 8) == 2) {\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }" (if "if") (parenthesized_expression "(*(int *)(*param_2 + 8) == 2)" (( "(") (binary_expression "*(int *)(*param_2 + 8) == 2" (pointer_expression "*(int *)(*param_2 + 8)" (* "*") (cast_expression "(int *)(*param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + 8)" (( "(") (binary_expression "*param_2 + 8" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;\n    }" ({ "{") (expression_statement "bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;" (assignment_expression "bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0" (identifier "bVar1") (= "=") (binary_expression "*(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0" (pointer_expression "*(int *)(*(long *)(*param_2 + 0x368) + 0x74)" (* "*") (cast_expression "(int *)(*(long *)(*param_2 + 0x368) + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(*param_2 + 0x368) + 0x74)" (( "(") (binary_expression "*(long *)(*param_2 + 0x368) + 0x74" (pointer_expression "*(long *)(*param_2 + 0x368)" (* "*") (cast_expression "(long *)(*param_2 + 0x368)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + 0x368)" (( "(") (binary_expression "*param_2 + 0x368" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x368")) () ")")))) (+ "+") (number_literal "0x74")) () ")")))) (!= "!=") (number_literal "0"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    bVar1 = param_3 != 0;\n  }" (else "else") (compound_statement "{\n    bVar1 = param_3 != 0;\n  }" ({ "{") (expression_statement "bVar1 = param_3 != 0;" (assignment_expression "bVar1 = param_3 != 0" (identifier "bVar1") (= "=") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0"))) (; ";")) (} "}")))) (expression_statement "(**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))(param_1,bVar1);" (call_expression "(**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))(param_1,bVar1)" (parenthesized_expression "(**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))" (( "(") (pointer_expression "**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78)" (* "*") (pointer_expression "*(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78)" (* "*") (cast_expression "(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78)" (( "(") (binary_expression "*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78" (pointer_expression "*(long *)(*(long *)(param_1 + 8) + 0x368)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 8) + 0x368)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 8) + 0x368)" (( "(") (binary_expression "*(long *)(param_1 + 8) + 0x368" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x368")) () ")")))) (+ "+") (number_literal "0x78")) () ")"))))) () ")")) (argument_list "(param_1,bVar1)" (( "(") (identifier "param_1") (, ",") (identifier "bVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *output_bfd,type_1 *input_bfd,type_2 var_2)

{
  bool bVar1;
  
  if (output_bfd->xvec->flavour != var_1) {
    return;
  }
  if (var_2 == var_3) {
    bVar1 = true;
    if (*(int *)(input_bfd->filename + 8) == 2) {
      bVar1 = *(int *)(*(long *)(input_bfd->filename + 0x368) + 0x74) != 0;
    }
  }
  else {
    bVar1 = var_2 != var_4;
  }
                    /* WARNING: Could not recover jumptable at 0x00107f14. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(type_3 **)((long)output_bfd->xvec->backend_data + 0x78))(output_bfd,bVar1);
  return;
}


(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: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (true))) (if_statement condition: (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: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal))))) right: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier)))) (return_statement))))

void MASKED(long param_1,long *param_2,int param_3)

{
  bool bVar1;
  
  if (*(int *)(*(long *)(param_1 + 8) + 8) != 2) {
    return;
  }
  if (param_3 == 2) {
    bVar1 = true;
    if (*(int *)(*param_2 + 8) == 2) {
      bVar1 = *(int *)(*(long *)(*param_2 + 0x368) + 0x74) != 0;
    }
  }
  else {
    bVar1 = param_3 != 0;
  }
                    /* WARNING: Could not recover jumptable at 0x00107f14. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(*(long *)(*(long *)(param_1 + 8) + 0x368) + 0x78))(param_1,bVar1);
  return;
}

