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

void set_16bit_gcc_code_flag(int new_code_flag)

{
  flag_code = new_code_flag;
  if (new_code_flag == 1) {
    stackop_size = 'l';
    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80;
    return;
  }
                    /* WARNING: Subroutine does not return */
  as_abort("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag");
}



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

void FUN_00046490(int param_1)

{
  DAT_00088f0c = param_1;
  if (param_1 == 1) {
    DAT_00088ec4 = 0x6c;
    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0002be80("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1);
}


PUSH EBX
CALL 0x00016000
ADD EBX,0x39b6a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [EBX + 0x8f0c],EAX
CMP EAX,0x1
JNZ 0x000464cd
MOVZX EAX,byte ptr [EBX + 0x548]
MOV byte ptr [EBX + 0x8ec4],0x6c
AND EAX,0x3f
OR EAX,0xffffff80
MOV byte ptr [EBX + 0x548],AL
ADD ESP,0x8
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xfffe5460]
PUSH EAX
LEA EAX,[EBX + 0xfffe3b52]
PUSH 0x98c
PUSH EAX
CALL 0x0002be80
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00046490(int param_1)\n\n{\n  DAT_00088f0c = param_1;\n  if (param_1 == 1) {\n    DAT_00088ec4 = 0x6c;\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0002be80("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1);\n}\n\n" comment (function_definition "void FUN_00046490(int param_1)\n\n{\n  DAT_00088f0c = param_1;\n  if (param_1 == 1) {\n    DAT_00088ec4 = 0x6c;\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0002be80("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1);\n}" primitive_type (function_declarator "FUN_00046490(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  DAT_00088f0c = param_1;\n  if (param_1 == 1) {\n    DAT_00088ec4 = 0x6c;\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0002be80("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1);\n}" { (expression_statement "DAT_00088f0c = param_1;" (assignment_expression "DAT_00088f0c = param_1" identifier = identifier) ;) (if_statement "if (param_1 == 1) {\n    DAT_00088ec4 = 0x6c;\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    return;\n  }" if (parenthesized_expression "(param_1 == 1)" ( (binary_expression "param_1 == 1" identifier == number_literal) )) (compound_statement "{\n    DAT_00088ec4 = 0x6c;\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    return;\n  }" { (expression_statement "DAT_00088ec4 = 0x6c;" (assignment_expression "DAT_00088ec4 = 0x6c" identifier = number_literal) ;) (expression_statement "DAT_00080548 = DAT_00080548 & 0x3f | 0x80;" (assignment_expression "DAT_00080548 = DAT_00080548 & 0x3f | 0x80" identifier = (binary_expression "DAT_00080548 & 0x3f | 0x80" (binary_expression "DAT_00080548 & 0x3f" identifier & number_literal) | number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0002be80("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1);" (call_expression "FUN_0002be80("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1)" identifier (argument_list "("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1)" ( (string_literal ""../../gas/config/tc-i386.c"" " string_content ") , number_literal , (string_literal ""set_16bit_gcc_code_flag"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid set_16bit_gcc_code_flag(int new_code_flag)\n\n{\n  flag_code = new_code_flag;\n  if (new_code_flag == 1) {\n    stackop_size = 'l';\n    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  as_abort("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag");\n}\n\n" comment comment (function_definition "void set_16bit_gcc_code_flag(int new_code_flag)\n\n{\n  flag_code = new_code_flag;\n  if (new_code_flag == 1) {\n    stackop_size = 'l';\n    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  as_abort("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag");\n}" primitive_type (function_declarator "set_16bit_gcc_code_flag(int new_code_flag)" identifier (parameter_list "(int new_code_flag)" ( (parameter_declaration "int new_code_flag" primitive_type identifier) ))) (compound_statement "{\n  flag_code = new_code_flag;\n  if (new_code_flag == 1) {\n    stackop_size = 'l';\n    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  as_abort("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag");\n}" { (expression_statement "flag_code = new_code_flag;" (assignment_expression "flag_code = new_code_flag" identifier = identifier) ;) (if_statement "if (new_code_flag == 1) {\n    stackop_size = 'l';\n    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80;\n    return;\n  }" if (parenthesized_expression "(new_code_flag == 1)" ( (binary_expression "new_code_flag == 1" identifier == number_literal) )) (compound_statement "{\n    stackop_size = 'l';\n    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80;\n    return;\n  }" { (expression_statement "stackop_size = 'l';" (assignment_expression "stackop_size = 'l'" identifier = (char_literal "'l'" ' character ')) ;) (expression_statement "cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80;" (assignment_expression "cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80" (field_expression "cpu_arch_flags.array[3]._0_1_" (subscript_expression "cpu_arch_flags.array[3]" (field_expression "cpu_arch_flags.array" identifier . field_identifier) [ number_literal ]) . field_identifier) = (binary_expression "cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80" (binary_expression "cpu_arch_flags.array[3]._0_1_ & 0x3f" (field_expression "cpu_arch_flags.array[3]._0_1_" (subscript_expression "cpu_arch_flags.array[3]" (field_expression "cpu_arch_flags.array" identifier . field_identifier) [ number_literal ]) . field_identifier) & number_literal) | number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "as_abort("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag");" (call_expression "as_abort("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag")" identifier (argument_list "("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag")" ( (string_literal ""../../gas/config/tc-i386.c"" " string_content ") , number_literal , (string_literal ""set_16bit_gcc_code_flag"" " string_content ") ))) ;) })))
(translation_unit "void FUN_00046490(int param_1)\n\n{\n  DAT_00088f0c = param_1;\n  if (param_1 == 1) {\n    DAT_00088ec4 = 0x6c;\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    return;\n  }\n                    \n  FUN_0002be80("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1);\n}\n\n" (function_definition "void FUN_00046490(int param_1)\n\n{\n  DAT_00088f0c = param_1;\n  if (param_1 == 1) {\n    DAT_00088ec4 = 0x6c;\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    return;\n  }\n                    \n  FUN_0002be80("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1);\n}" primitive_type (function_declarator "FUN_00046490(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  DAT_00088f0c = param_1;\n  if (param_1 == 1) {\n    DAT_00088ec4 = 0x6c;\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    return;\n  }\n                    \n  FUN_0002be80("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1);\n}" { (expression_statement "DAT_00088f0c = param_1;" (assignment_expression "DAT_00088f0c = param_1" identifier = identifier) ;) (if_statement "if (param_1 == 1) {\n    DAT_00088ec4 = 0x6c;\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    return;\n  }" if (parenthesized_expression "(param_1 == 1)" ( (binary_expression "param_1 == 1" identifier == number_literal) )) (compound_statement "{\n    DAT_00088ec4 = 0x6c;\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    return;\n  }" { (expression_statement "DAT_00088ec4 = 0x6c;" (assignment_expression "DAT_00088ec4 = 0x6c" identifier = number_literal) ;) (expression_statement "DAT_00080548 = DAT_00080548 & 0x3f | 0x80;" (assignment_expression "DAT_00080548 = DAT_00080548 & 0x3f | 0x80" identifier = (binary_expression "DAT_00080548 & 0x3f | 0x80" (binary_expression "DAT_00080548 & 0x3f" identifier & number_literal) | number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0002be80("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1);" (call_expression "FUN_0002be80("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1)" identifier (argument_list "("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1)" ( (string_literal ""../../gas/config/tc-i386.c"" " string_content ") , number_literal , (string_literal ""set_16bit_gcc_code_flag"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT & LIT) | LIT)) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_00046490(int param_1)\n\n{\n  DAT_00088f0c = param_1;\n  if (param_1 == 1) {\n    DAT_00088ec4 = 0x6c;\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    return;\n  }\n                    \n  FUN_0002be80("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1);\n}" (primitive_type "void") (function_declarator "FUN_00046490(int param_1)" (identifier "FUN_00046490") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  DAT_00088f0c = param_1;\n  if (param_1 == 1) {\n    DAT_00088ec4 = 0x6c;\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    return;\n  }\n                    \n  FUN_0002be80("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1);\n}" ({ "{") (expression_statement "DAT_00088f0c = param_1;" (assignment_expression "DAT_00088f0c = param_1" (identifier "DAT_00088f0c") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (param_1 == 1) {\n    DAT_00088ec4 = 0x6c;\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == 1)" (( "(") (binary_expression "param_1 == 1" (identifier "param_1") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    DAT_00088ec4 = 0x6c;\n    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;\n    return;\n  }" ({ "{") (expression_statement "DAT_00088ec4 = 0x6c;" (assignment_expression "DAT_00088ec4 = 0x6c" (identifier "DAT_00088ec4") (= "=") (number_literal "0x6c")) (; ";")) (expression_statement "DAT_00080548 = DAT_00080548 & 0x3f | 0x80;" (assignment_expression "DAT_00080548 = DAT_00080548 & 0x3f | 0x80" (identifier "DAT_00080548") (= "=") (binary_expression "DAT_00080548 & 0x3f | 0x80" (binary_expression "DAT_00080548 & 0x3f" (identifier "DAT_00080548") (& "&") (number_literal "0x3f")) (| "|") (number_literal "0x80"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0002be80("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1);" (call_expression "FUN_0002be80("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1)" (identifier "FUN_0002be80") (argument_list "("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1)" (( "(") (string_literal ""../../gas/config/tc-i386.c"" (" """) (string_content "../../gas/config/tc-i386.c") (" """)) (, ",") (number_literal "0x98c") (, ",") (string_literal ""set_16bit_gcc_code_flag"" (" """) (string_content "set_16bit_gcc_code_flag") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

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

void function_1(int var_1)

{
  flag_code = var_1;
  if (var_1 == 1) {
    stackop_size = 'l';
    cpu_arch_flags.array[3]._0_1_ = cpu_arch_flags.array[3]._0_1_ & 0x3f | 0x80;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_2("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))))

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

void MASKED(int param_1)

{
  DAT_00088f0c = param_1;
  if (param_1 == 1) {
    DAT_00088ec4 = 0x6c;
    DAT_00080548 = DAT_00080548 & 0x3f | 0x80;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0002be80("../../gas/config/tc-i386.c",0x98c,"set_16bit_gcc_code_flag",param_1);
}

