
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int __regparm3 m68k_set_cpu(char *name,int allow_m,int silent)

{
  m68k_cpu *pmVar1;
  char *format;
  int iVar2;
  
  pmVar1 = m68k_lookup_cpu(name,m68k_cpus,allow_m,(int *)0x0);
  if (pmVar1 == (m68k_cpu *)0x0) {
    iVar2 = 0;
    if (silent == 0) {
      format = (char *)dcgettext(0,"cpu `%s\' unrecognized",5);
      as_bad(format,name);
    }
  }
  else {
    iVar2 = 1;
    selected_cpu = pmVar1;
  }
  return iVar2;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 __regparm3 FUN_00046b00(undefined4 param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  
  iVar1 = FUN_00041e90(0);
  if (iVar1 == 0) {
    uVar3 = 0;
    if (param_3 == 0) {
      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);
      FUN_0002c070(uVar2,param_1);
    }
  }
  else {
    uVar3 = 1;
    DAT_00081124 = iVar1;
  }
  return uVar3;
}


PUSH EBP
PUSH EDI
MOV EDI,ECX
MOV ECX,EDX
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00017010
ADD EBX,0x314f1
SUB ESP,0x18
PUSH 0x0
LEA EDX,[EBX + 0xffffe380]
CALL 0x00041e90
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00046b48
MOV dword ptr [EBX + 0x9124],EAX
MOV EBP,0x1
ADD ESP,0xc
MOV EAX,EBP
POP EBX
POP ESI
POP EDI
POP EBP
RET
XOR EBP,EBP
TEST EDI,EDI
JNZ 0x00046b37
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe3d9c]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000151a0
POP EDX
POP ECX
PUSH ESI
PUSH EAX
CALL 0x0002c070
ADD ESP,0x10
JMP 0x00046b37
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_00046b00(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = FUN_00041e90(0);\n  if (iVar1 == 0) {\n    uVar3 = 0;\n    if (param_3 == 0) {\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }\n  }\n  else {\n    uVar3 = 1;\n    DAT_00081124 = iVar1;\n  }\n  return uVar3;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_00046b00(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = FUN_00041e90(0);\n  if (iVar1 == 0) {\n    uVar3 = 0;\n    if (param_3 == 0) {\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }\n  }\n  else {\n    uVar3 = 1;\n    DAT_00081124 = iVar1;\n  }\n  return uVar3;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00046b00(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = FUN_00041e90(0);\n  if (iVar1 == 0) {\n    uVar3 = 0;\n    if (param_3 == 0) {\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }\n  }\n  else {\n    uVar3 = 1;\n    DAT_00081124 = iVar1;\n  }\n  return uVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_00041e90(0);" (assignment_expression "iVar1 = FUN_00041e90(0)" identifier = (call_expression "FUN_00041e90(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    uVar3 = 0;\n    if (param_3 == 0) {\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }\n  }\n  else {\n    uVar3 = 1;\n    DAT_00081124 = iVar1;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 0;\n    if (param_3 == 0) {\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (param_3 == 0) {\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }" { (expression_statement "uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);" (assignment_expression "uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5)" identifier = (call_expression "dcgettext(0,"cpu `%s\' unrecognized",5)" identifier (argument_list "(0,"cpu `%s\' unrecognized",5)" ( number_literal , (string_literal ""cpu `%s\' unrecognized"" " string_content escape_sequence string_content ") , number_literal )))) ;) (expression_statement "FUN_0002c070(uVar2,param_1);" (call_expression "FUN_0002c070(uVar2,param_1)" identifier (argument_list "(uVar2,param_1)" ( identifier , identifier ))) ;) })) }) (else_clause "else {\n    uVar3 = 1;\n    DAT_00081124 = iVar1;\n  }" else (compound_statement "{\n    uVar3 = 1;\n    DAT_00081124 = iVar1;\n  }" { (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (expression_statement "DAT_00081124 = iVar1;" (assignment_expression "DAT_00081124 = iVar1" identifier = identifier) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 m68k_set_cpu(char *name,int allow_m,int silent)\n\n{\n  m68k_cpu *pmVar1;\n  char *format;\n  int iVar2;\n  \n  pmVar1 = m68k_lookup_cpu(name,m68k_cpus,allow_m,(int *)0x0);\n  if (pmVar1 == (m68k_cpu *)0x0) {\n    iVar2 = 0;\n    if (silent == 0) {\n      format = (char *)dcgettext(0,"cpu `%s\' unrecognized",5);\n      as_bad(format,name);\n    }\n  }\n  else {\n    iVar2 = 1;\n    selected_cpu = pmVar1;\n  }\n  return iVar2;\n}\n\n" comment (function_definition "int __regparm3 m68k_set_cpu(char *name,int allow_m,int silent)\n\n{\n  m68k_cpu *pmVar1;\n  char *format;\n  int iVar2;\n  \n  pmVar1 = m68k_lookup_cpu(name,m68k_cpus,allow_m,(int *)0x0);\n  if (pmVar1 == (m68k_cpu *)0x0) {\n    iVar2 = 0;\n    if (silent == 0) {\n      format = (char *)dcgettext(0,"cpu `%s\' unrecognized",5);\n      as_bad(format,name);\n    }\n  }\n  else {\n    iVar2 = 1;\n    selected_cpu = pmVar1;\n  }\n  return iVar2;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "m68k_set_cpu(char *name,int allow_m,int silent)" identifier (parameter_list "(char *name,int allow_m,int silent)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "int allow_m" primitive_type identifier) , (parameter_declaration "int silent" primitive_type identifier) ))) (compound_statement "{\n  m68k_cpu *pmVar1;\n  char *format;\n  int iVar2;\n  \n  pmVar1 = m68k_lookup_cpu(name,m68k_cpus,allow_m,(int *)0x0);\n  if (pmVar1 == (m68k_cpu *)0x0) {\n    iVar2 = 0;\n    if (silent == 0) {\n      format = (char *)dcgettext(0,"cpu `%s\' unrecognized",5);\n      as_bad(format,name);\n    }\n  }\n  else {\n    iVar2 = 1;\n    selected_cpu = pmVar1;\n  }\n  return iVar2;\n}" { (declaration "m68k_cpu *pmVar1;" type_identifier (pointer_declarator "*pmVar1" * identifier) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "pmVar1 = m68k_lookup_cpu(name,m68k_cpus,allow_m,(int *)0x0);" (assignment_expression "pmVar1 = m68k_lookup_cpu(name,m68k_cpus,allow_m,(int *)0x0)" identifier = (call_expression "m68k_lookup_cpu(name,m68k_cpus,allow_m,(int *)0x0)" identifier (argument_list "(name,m68k_cpus,allow_m,(int *)0x0)" ( identifier , identifier , identifier , (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if (pmVar1 == (m68k_cpu *)0x0) {\n    iVar2 = 0;\n    if (silent == 0) {\n      format = (char *)dcgettext(0,"cpu `%s\' unrecognized",5);\n      as_bad(format,name);\n    }\n  }\n  else {\n    iVar2 = 1;\n    selected_cpu = pmVar1;\n  }" if (parenthesized_expression "(pmVar1 == (m68k_cpu *)0x0)" ( (binary_expression "pmVar1 == (m68k_cpu *)0x0" identifier == (cast_expression "(m68k_cpu *)0x0" ( (type_descriptor "m68k_cpu *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = 0;\n    if (silent == 0) {\n      format = (char *)dcgettext(0,"cpu `%s\' unrecognized",5);\n      as_bad(format,name);\n    }\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (silent == 0) {\n      format = (char *)dcgettext(0,"cpu `%s\' unrecognized",5);\n      as_bad(format,name);\n    }" if (parenthesized_expression "(silent == 0)" ( (binary_expression "silent == 0" identifier == number_literal) )) (compound_statement "{\n      format = (char *)dcgettext(0,"cpu `%s\' unrecognized",5);\n      as_bad(format,name);\n    }" { (expression_statement "format = (char *)dcgettext(0,"cpu `%s\' unrecognized",5);" (assignment_expression "format = (char *)dcgettext(0,"cpu `%s\' unrecognized",5)" identifier = (cast_expression "(char *)dcgettext(0,"cpu `%s\' unrecognized",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"cpu `%s\' unrecognized",5)" identifier (argument_list "(0,"cpu `%s\' unrecognized",5)" ( number_literal , (string_literal ""cpu `%s\' unrecognized"" " string_content escape_sequence string_content ") , number_literal ))))) ;) (expression_statement "as_bad(format,name);" (call_expression "as_bad(format,name)" identifier (argument_list "(format,name)" ( identifier , identifier ))) ;) })) }) (else_clause "else {\n    iVar2 = 1;\n    selected_cpu = pmVar1;\n  }" else (compound_statement "{\n    iVar2 = 1;\n    selected_cpu = pmVar1;\n  }" { (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "selected_cpu = pmVar1;" (assignment_expression "selected_cpu = pmVar1" identifier = identifier) ;) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "undefined4 __regparm3 FUN_00046b00(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = FUN_00041e90(0);\n  if (iVar1 == 0) {\n    uVar3 = 0;\n    if (param_3 == 0) {\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }\n  }\n  else {\n    uVar3 = 1;\n    DAT_00081124 = iVar1;\n  }\n  return uVar3;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00046b00(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = FUN_00041e90(0);\n  if (iVar1 == 0) {\n    uVar3 = 0;\n    if (param_3 == 0) {\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }\n  }\n  else {\n    uVar3 = 1;\n    DAT_00081124 = iVar1;\n  }\n  return uVar3;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00046b00(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = FUN_00041e90(0);\n  if (iVar1 == 0) {\n    uVar3 = 0;\n    if (param_3 == 0) {\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }\n  }\n  else {\n    uVar3 = 1;\n    DAT_00081124 = iVar1;\n  }\n  return uVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_00041e90(0);" (assignment_expression "iVar1 = FUN_00041e90(0)" identifier = (call_expression "FUN_00041e90(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    uVar3 = 0;\n    if (param_3 == 0) {\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }\n  }\n  else {\n    uVar3 = 1;\n    DAT_00081124 = iVar1;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 0;\n    if (param_3 == 0) {\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (param_3 == 0) {\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }" { (expression_statement "uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);" (assignment_expression "uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5)" identifier = (call_expression "dcgettext(0,"cpu `%s\' unrecognized",5)" identifier (argument_list "(0,"cpu `%s\' unrecognized",5)" ( number_literal , (string_literal ""cpu `%s\' unrecognized"" " string_content escape_sequence string_content ") , number_literal )))) ;) (expression_statement "FUN_0002c070(uVar2,param_1);" (call_expression "FUN_0002c070(uVar2,param_1)" identifier (argument_list "(uVar2,param_1)" ( identifier , identifier ))) ;) })) }) (else_clause "else {\n    uVar3 = 1;\n    DAT_00081124 = iVar1;\n  }" else (compound_statement "{\n    uVar3 = 1;\n    DAT_00081124 = iVar1;\n  }" { (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (expression_statement "DAT_00081124 = iVar1;" (assignment_expression "DAT_00081124 = iVar1" identifier = identifier) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 __regparm3 FUN_00046b00(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = FUN_00041e90(0);\n  if (iVar1 == 0) {\n    uVar3 = 0;\n    if (param_3 == 0) {\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }\n  }\n  else {\n    uVar3 = 1;\n    DAT_00081124 = iVar1;\n  }\n  return uVar3;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00046b00(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "FUN_00046b00") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = FUN_00041e90(0);\n  if (iVar1 == 0) {\n    uVar3 = 0;\n    if (param_3 == 0) {\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }\n  }\n  else {\n    uVar3 = 1;\n    DAT_00081124 = iVar1;\n  }\n  return uVar3;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "iVar1 = FUN_00041e90(0);" (assignment_expression "iVar1 = FUN_00041e90(0)" (identifier "iVar1") (= "=") (call_expression "FUN_00041e90(0)" (identifier "FUN_00041e90") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    uVar3 = 0;\n    if (param_3 == 0) {\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }\n  }\n  else {\n    uVar3 = 1;\n    DAT_00081124 = iVar1;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = 0;\n    if (param_3 == 0) {\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }\n  }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_3 == 0) {\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);\n      FUN_0002c070(uVar2,param_1);\n    }" ({ "{") (expression_statement "uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);" (assignment_expression "uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"cpu `%s\' unrecognized",5)" (identifier "dcgettext") (argument_list "(0,"cpu `%s\' unrecognized",5)" (( "(") (number_literal "0") (, ",") (string_literal ""cpu `%s\' unrecognized"" (" """) (string_content "cpu `%s") (escape_sequence "\'") (string_content " unrecognized") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002c070(uVar2,param_1);" (call_expression "FUN_0002c070(uVar2,param_1)" (identifier "FUN_0002c070") (argument_list "(uVar2,param_1)" (( "(") (identifier "uVar2") (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    uVar3 = 1;\n    DAT_00081124 = iVar1;\n  }" (else "else") (compound_statement "{\n    uVar3 = 1;\n    DAT_00081124 = iVar1;\n  }" ({ "{") (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" (identifier "uVar3") (= "=") (number_literal "1")) (; ";")) (expression_statement "DAT_00081124 = iVar1;" (assignment_expression "DAT_00081124 = iVar1" (identifier "DAT_00081124") (= "=") (identifier "iVar1")) (; ";")) (} "}")))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int __regparm3 function_1(char *name,int allow_m,int var_3)

{
  type_1 *var_2;
  char *format;
  int iVar2;
  
  var_2 = var_1(name,m68k_cpus,allow_m,(int *)0x0);
  if (var_2 == (type_1 *)0x0) {
    iVar2 = 0;
    if (var_3 == 0) {
      format = (char *)var_4(0,"cpu `%s\' unrecognized",5);
      var_5(format,name);
    }
  }
  else {
    iVar2 = 1;
    selected_cpu = var_2;
  }
  return iVar2;
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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 (number_literal) (string_literal (string_content) (escape_sequence) (string_content)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  
  iVar1 = FUN_00041e90(0);
  if (iVar1 == 0) {
    uVar3 = 0;
    if (param_3 == 0) {
      uVar2 = dcgettext(0,"cpu `%s\' unrecognized",5);
      FUN_0002c070(uVar2,param_1);
    }
  }
  else {
    uVar3 = 1;
    DAT_00081124 = iVar1;
  }
  return uVar3;
}

