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

int __regparm3 out_header(asection *sec,expressionS *exp)

{
  symbolS *sym;
  symbolS *psVar1;
  
  subseg_set(sec,0);
  if (flag_dwarf_sections == 0) {
    sym = symbol_temp_new_now();
    psVar1 = symbol_temp_make();
  }
  else {
    frag_now_fix();
    sym = symbol_make(".Ldebug_line_start");
    psVar1 = symbol_make(".Ldebug_line_end");
    symbol_set_value_now(sym);
  }
  exp->X_add_symbol = psVar1;
  exp->X_op_symbol = sym;
  exp->field_0xc = 0x14;
  exp->X_add_number = -4;
  emit_expr(exp,4);
  return 4;
}



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

undefined4 __regparm3 FUN_0001a860(undefined4 param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  
  FUN_00034860(param_1,0);
  if (DAT_0007ce00 == 0) {
    uVar1 = FUN_00036bb0();
    uVar2 = FUN_00036b60();
  }
  else {
    FUN_00023920();
    uVar1 = FUN_00036b00(".Ldebug_line_start");
    uVar2 = FUN_00036b00(".Ldebug_line_end");
    FUN_000391a0(uVar1);
  }
  *param_2 = uVar2;
  param_2[1] = uVar1;
  *(undefined1 *)(param_2 + 3) = 0x14;
  param_2[2] = 0xfffffffc;
  FUN_0002f6f0(param_2,4);
  return 4;
}


PUSH EBP
PUSH EDI
PUSH ESI
MOV ESI,EDX
PUSH EBX
CALL 0x00016030
ADD EBX,0x59795
SUB ESP,0x14
PUSH 0x0
PUSH EAX
CALL 0x00034860
LEA EAX,[EBX + 0x8e00]
ADD ESP,0x10
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x0001a8e8
CALL 0x00023920
SUB ESP,0xc
LEA EAX,[EBX + 0xfffdd1b1]
PUSH EAX
CALL 0x00036b00
MOV EDI,EAX
LEA EAX,[EBX + 0xfffdd1c4]
MOV dword ptr [ESP],EAX
CALL 0x00036b00
MOV dword ptr [ESP],EDI
MOV EBP,EAX
CALL 0x000391a0
ADD ESP,0x10
SUB ESP,0x8
MOV dword ptr [ESI],EBP
MOV dword ptr [ESI + 0x4],EDI
PUSH 0x4
MOV byte ptr [ESI + 0xc],0x14
PUSH ESI
MOV dword ptr [ESI + 0x8],0xfffffffc
CALL 0x0002f6f0
ADD ESP,0x1c
MOV EAX,0x4
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x00036bb0
MOV EDI,EAX
CALL 0x00036b60
MOV EBP,EAX
JMP 0x0001a8bc
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_0001a860(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  FUN_00034860(param_1,0);\n  if (DAT_0007ce00 == 0) {\n    uVar1 = FUN_00036bb0();\n    uVar2 = FUN_00036b60();\n  }\n  else {\n    FUN_00023920();\n    uVar1 = FUN_00036b00(".Ldebug_line_start");\n    uVar2 = FUN_00036b00(".Ldebug_line_end");\n    FUN_000391a0(uVar1);\n  }\n  *param_2 = uVar2;\n  param_2[1] = uVar1;\n  *(undefined1 *)(param_2 + 3) = 0x14;\n  param_2[2] = 0xfffffffc;\n  FUN_0002f6f0(param_2,4);\n  return 4;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_0001a860(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  FUN_00034860(param_1,0);\n  if (DAT_0007ce00 == 0) {\n    uVar1 = FUN_00036bb0();\n    uVar2 = FUN_00036b60();\n  }\n  else {\n    FUN_00023920();\n    uVar1 = FUN_00036b00(".Ldebug_line_start");\n    uVar2 = FUN_00036b00(".Ldebug_line_end");\n    FUN_000391a0(uVar1);\n  }\n  *param_2 = uVar2;\n  param_2[1] = uVar1;\n  *(undefined1 *)(param_2 + 3) = 0x14;\n  param_2[2] = 0xfffffffc;\n  FUN_0002f6f0(param_2,4);\n  return 4;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0001a860(undefined4 param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  FUN_00034860(param_1,0);\n  if (DAT_0007ce00 == 0) {\n    uVar1 = FUN_00036bb0();\n    uVar2 = FUN_00036b60();\n  }\n  else {\n    FUN_00023920();\n    uVar1 = FUN_00036b00(".Ldebug_line_start");\n    uVar2 = FUN_00036b00(".Ldebug_line_end");\n    FUN_000391a0(uVar1);\n  }\n  *param_2 = uVar2;\n  param_2[1] = uVar1;\n  *(undefined1 *)(param_2 + 3) = 0x14;\n  param_2[2] = 0xfffffffc;\n  FUN_0002f6f0(param_2,4);\n  return 4;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "FUN_00034860(param_1,0);" (call_expression "FUN_00034860(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal ))) ;) (if_statement "if (DAT_0007ce00 == 0) {\n    uVar1 = FUN_00036bb0();\n    uVar2 = FUN_00036b60();\n  }\n  else {\n    FUN_00023920();\n    uVar1 = FUN_00036b00(".Ldebug_line_start");\n    uVar2 = FUN_00036b00(".Ldebug_line_end");\n    FUN_000391a0(uVar1);\n  }" if (parenthesized_expression "(DAT_0007ce00 == 0)" ( (binary_expression "DAT_0007ce00 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = FUN_00036bb0();\n    uVar2 = FUN_00036b60();\n  }" { (expression_statement "uVar1 = FUN_00036bb0();" (assignment_expression "uVar1 = FUN_00036bb0()" identifier = (call_expression "FUN_00036bb0()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = FUN_00036b60();" (assignment_expression "uVar2 = FUN_00036b60()" identifier = (call_expression "FUN_00036b60()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else {\n    FUN_00023920();\n    uVar1 = FUN_00036b00(".Ldebug_line_start");\n    uVar2 = FUN_00036b00(".Ldebug_line_end");\n    FUN_000391a0(uVar1);\n  }" else (compound_statement "{\n    FUN_00023920();\n    uVar1 = FUN_00036b00(".Ldebug_line_start");\n    uVar2 = FUN_00036b00(".Ldebug_line_end");\n    FUN_000391a0(uVar1);\n  }" { (expression_statement "FUN_00023920();" (call_expression "FUN_00023920()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar1 = FUN_00036b00(".Ldebug_line_start");" (assignment_expression "uVar1 = FUN_00036b00(".Ldebug_line_start")" identifier = (call_expression "FUN_00036b00(".Ldebug_line_start")" identifier (argument_list "(".Ldebug_line_start")" ( (string_literal "".Ldebug_line_start"" " string_content ") )))) ;) (expression_statement "uVar2 = FUN_00036b00(".Ldebug_line_end");" (assignment_expression "uVar2 = FUN_00036b00(".Ldebug_line_end")" identifier = (call_expression "FUN_00036b00(".Ldebug_line_end")" identifier (argument_list "(".Ldebug_line_end")" ( (string_literal "".Ldebug_line_end"" " string_content ") )))) ;) (expression_statement "FUN_000391a0(uVar1);" (call_expression "FUN_000391a0(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) }))) (expression_statement "*param_2 = uVar2;" (assignment_expression "*param_2 = uVar2" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2[1] = uVar1;" (assignment_expression "param_2[1] = uVar1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(param_2 + 3) = 0x14;" (assignment_expression "*(undefined1 *)(param_2 + 3) = 0x14" (pointer_expression "*(undefined1 *)(param_2 + 3)" * (cast_expression "(undefined1 *)(param_2 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 3)" ( (binary_expression "param_2 + 3" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_2[2] = 0xfffffffc;" (assignment_expression "param_2[2] = 0xfffffffc" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_0002f6f0(param_2,4);" (call_expression "FUN_0002f6f0(param_2,4)" identifier (argument_list "(param_2,4)" ( identifier , number_literal ))) ;) (return_statement "return 4;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 out_header(asection *sec,expressionS *exp)\n\n{\n  symbolS *sym;\n  symbolS *psVar1;\n  \n  subseg_set(sec,0);\n  if (flag_dwarf_sections == 0) {\n    sym = symbol_temp_new_now();\n    psVar1 = symbol_temp_make();\n  }\n  else {\n    frag_now_fix();\n    sym = symbol_make(".Ldebug_line_start");\n    psVar1 = symbol_make(".Ldebug_line_end");\n    symbol_set_value_now(sym);\n  }\n  exp->X_add_symbol = psVar1;\n  exp->X_op_symbol = sym;\n  exp->field_0xc = 0x14;\n  exp->X_add_number = -4;\n  emit_expr(exp,4);\n  return 4;\n}\n\n" comment (function_definition "int __regparm3 out_header(asection *sec,expressionS *exp)\n\n{\n  symbolS *sym;\n  symbolS *psVar1;\n  \n  subseg_set(sec,0);\n  if (flag_dwarf_sections == 0) {\n    sym = symbol_temp_new_now();\n    psVar1 = symbol_temp_make();\n  }\n  else {\n    frag_now_fix();\n    sym = symbol_make(".Ldebug_line_start");\n    psVar1 = symbol_make(".Ldebug_line_end");\n    symbol_set_value_now(sym);\n  }\n  exp->X_add_symbol = psVar1;\n  exp->X_op_symbol = sym;\n  exp->field_0xc = 0x14;\n  exp->X_add_number = -4;\n  emit_expr(exp,4);\n  return 4;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "out_header(asection *sec,expressionS *exp)" identifier (parameter_list "(asection *sec,expressionS *exp)" ( (parameter_declaration "asection *sec" type_identifier (pointer_declarator "*sec" * identifier)) , (parameter_declaration "expressionS *exp" type_identifier (pointer_declarator "*exp" * identifier)) ))) (compound_statement "{\n  symbolS *sym;\n  symbolS *psVar1;\n  \n  subseg_set(sec,0);\n  if (flag_dwarf_sections == 0) {\n    sym = symbol_temp_new_now();\n    psVar1 = symbol_temp_make();\n  }\n  else {\n    frag_now_fix();\n    sym = symbol_make(".Ldebug_line_start");\n    psVar1 = symbol_make(".Ldebug_line_end");\n    symbol_set_value_now(sym);\n  }\n  exp->X_add_symbol = psVar1;\n  exp->X_op_symbol = sym;\n  exp->field_0xc = 0x14;\n  exp->X_add_number = -4;\n  emit_expr(exp,4);\n  return 4;\n}" { (declaration "symbolS *sym;" type_identifier (pointer_declarator "*sym" * identifier) ;) (declaration "symbolS *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (expression_statement "subseg_set(sec,0);" (call_expression "subseg_set(sec,0)" identifier (argument_list "(sec,0)" ( identifier , number_literal ))) ;) (if_statement "if (flag_dwarf_sections == 0) {\n    sym = symbol_temp_new_now();\n    psVar1 = symbol_temp_make();\n  }\n  else {\n    frag_now_fix();\n    sym = symbol_make(".Ldebug_line_start");\n    psVar1 = symbol_make(".Ldebug_line_end");\n    symbol_set_value_now(sym);\n  }" if (parenthesized_expression "(flag_dwarf_sections == 0)" ( (binary_expression "flag_dwarf_sections == 0" identifier == number_literal) )) (compound_statement "{\n    sym = symbol_temp_new_now();\n    psVar1 = symbol_temp_make();\n  }" { (expression_statement "sym = symbol_temp_new_now();" (assignment_expression "sym = symbol_temp_new_now()" identifier = (call_expression "symbol_temp_new_now()" identifier (argument_list "()" ( )))) ;) (expression_statement "psVar1 = symbol_temp_make();" (assignment_expression "psVar1 = symbol_temp_make()" identifier = (call_expression "symbol_temp_make()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else {\n    frag_now_fix();\n    sym = symbol_make(".Ldebug_line_start");\n    psVar1 = symbol_make(".Ldebug_line_end");\n    symbol_set_value_now(sym);\n  }" else (compound_statement "{\n    frag_now_fix();\n    sym = symbol_make(".Ldebug_line_start");\n    psVar1 = symbol_make(".Ldebug_line_end");\n    symbol_set_value_now(sym);\n  }" { (expression_statement "frag_now_fix();" (call_expression "frag_now_fix()" identifier (argument_list "()" ( ))) ;) (expression_statement "sym = symbol_make(".Ldebug_line_start");" (assignment_expression "sym = symbol_make(".Ldebug_line_start")" identifier = (call_expression "symbol_make(".Ldebug_line_start")" identifier (argument_list "(".Ldebug_line_start")" ( (string_literal "".Ldebug_line_start"" " string_content ") )))) ;) (expression_statement "psVar1 = symbol_make(".Ldebug_line_end");" (assignment_expression "psVar1 = symbol_make(".Ldebug_line_end")" identifier = (call_expression "symbol_make(".Ldebug_line_end")" identifier (argument_list "(".Ldebug_line_end")" ( (string_literal "".Ldebug_line_end"" " string_content ") )))) ;) (expression_statement "symbol_set_value_now(sym);" (call_expression "symbol_set_value_now(sym)" identifier (argument_list "(sym)" ( identifier ))) ;) }))) (expression_statement "exp->X_add_symbol = psVar1;" (assignment_expression "exp->X_add_symbol = psVar1" (field_expression "exp->X_add_symbol" identifier -> field_identifier) = identifier) ;) (expression_statement "exp->X_op_symbol = sym;" (assignment_expression "exp->X_op_symbol = sym" (field_expression "exp->X_op_symbol" identifier -> field_identifier) = identifier) ;) (expression_statement "exp->field_0xc = 0x14;" (assignment_expression "exp->field_0xc = 0x14" (field_expression "exp->field_0xc" identifier -> field_identifier) = number_literal) ;) (expression_statement "exp->X_add_number = -4;" (assignment_expression "exp->X_add_number = -4" (field_expression "exp->X_add_number" identifier -> field_identifier) = number_literal) ;) (expression_statement "emit_expr(exp,4);" (call_expression "emit_expr(exp,4)" identifier (argument_list "(exp,4)" ( identifier , number_literal ))) ;) (return_statement "return 4;" return number_literal ;) })))
(translation_unit "undefined4 __regparm3 FUN_0001a860(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  FUN_00034860(param_1,0);\n  if (DAT_0007ce00 == 0) {\n    uVar1 = FUN_00036bb0();\n    uVar2 = FUN_00036b60();\n  }\n  else {\n    FUN_00023920();\n    uVar1 = FUN_00036b00(".Ldebug_line_start");\n    uVar2 = FUN_00036b00(".Ldebug_line_end");\n    FUN_000391a0(uVar1);\n  }\n  *param_2 = uVar2;\n  param_2[1] = uVar1;\n  *(undefined1 *)(param_2 + 3) = 0x14;\n  param_2[2] = 0xfffffffc;\n  FUN_0002f6f0(param_2,4);\n  return 4;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_0001a860(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  FUN_00034860(param_1,0);\n  if (DAT_0007ce00 == 0) {\n    uVar1 = FUN_00036bb0();\n    uVar2 = FUN_00036b60();\n  }\n  else {\n    FUN_00023920();\n    uVar1 = FUN_00036b00(".Ldebug_line_start");\n    uVar2 = FUN_00036b00(".Ldebug_line_end");\n    FUN_000391a0(uVar1);\n  }\n  *param_2 = uVar2;\n  param_2[1] = uVar1;\n  *(undefined1 *)(param_2 + 3) = 0x14;\n  param_2[2] = 0xfffffffc;\n  FUN_0002f6f0(param_2,4);\n  return 4;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0001a860(undefined4 param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  FUN_00034860(param_1,0);\n  if (DAT_0007ce00 == 0) {\n    uVar1 = FUN_00036bb0();\n    uVar2 = FUN_00036b60();\n  }\n  else {\n    FUN_00023920();\n    uVar1 = FUN_00036b00(".Ldebug_line_start");\n    uVar2 = FUN_00036b00(".Ldebug_line_end");\n    FUN_000391a0(uVar1);\n  }\n  *param_2 = uVar2;\n  param_2[1] = uVar1;\n  *(undefined1 *)(param_2 + 3) = 0x14;\n  param_2[2] = 0xfffffffc;\n  FUN_0002f6f0(param_2,4);\n  return 4;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "FUN_00034860(param_1,0);" (call_expression "FUN_00034860(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal ))) ;) (if_statement "if (DAT_0007ce00 == 0) {\n    uVar1 = FUN_00036bb0();\n    uVar2 = FUN_00036b60();\n  }\n  else {\n    FUN_00023920();\n    uVar1 = FUN_00036b00(".Ldebug_line_start");\n    uVar2 = FUN_00036b00(".Ldebug_line_end");\n    FUN_000391a0(uVar1);\n  }" if (parenthesized_expression "(DAT_0007ce00 == 0)" ( (binary_expression "DAT_0007ce00 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = FUN_00036bb0();\n    uVar2 = FUN_00036b60();\n  }" { (expression_statement "uVar1 = FUN_00036bb0();" (assignment_expression "uVar1 = FUN_00036bb0()" identifier = (call_expression "FUN_00036bb0()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = FUN_00036b60();" (assignment_expression "uVar2 = FUN_00036b60()" identifier = (call_expression "FUN_00036b60()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else {\n    FUN_00023920();\n    uVar1 = FUN_00036b00(".Ldebug_line_start");\n    uVar2 = FUN_00036b00(".Ldebug_line_end");\n    FUN_000391a0(uVar1);\n  }" else (compound_statement "{\n    FUN_00023920();\n    uVar1 = FUN_00036b00(".Ldebug_line_start");\n    uVar2 = FUN_00036b00(".Ldebug_line_end");\n    FUN_000391a0(uVar1);\n  }" { (expression_statement "FUN_00023920();" (call_expression "FUN_00023920()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar1 = FUN_00036b00(".Ldebug_line_start");" (assignment_expression "uVar1 = FUN_00036b00(".Ldebug_line_start")" identifier = (call_expression "FUN_00036b00(".Ldebug_line_start")" identifier (argument_list "(".Ldebug_line_start")" ( (string_literal "".Ldebug_line_start"" " string_content ") )))) ;) (expression_statement "uVar2 = FUN_00036b00(".Ldebug_line_end");" (assignment_expression "uVar2 = FUN_00036b00(".Ldebug_line_end")" identifier = (call_expression "FUN_00036b00(".Ldebug_line_end")" identifier (argument_list "(".Ldebug_line_end")" ( (string_literal "".Ldebug_line_end"" " string_content ") )))) ;) (expression_statement "FUN_000391a0(uVar1);" (call_expression "FUN_000391a0(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) }))) (expression_statement "*param_2 = uVar2;" (assignment_expression "*param_2 = uVar2" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2[1] = uVar1;" (assignment_expression "param_2[1] = uVar1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(param_2 + 3) = 0x14;" (assignment_expression "*(undefined1 *)(param_2 + 3) = 0x14" (pointer_expression "*(undefined1 *)(param_2 + 3)" * (cast_expression "(undefined1 *)(param_2 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 3)" ( (binary_expression "param_2 + 3" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_2[2] = 0xfffffffc;" (assignment_expression "param_2[2] = 0xfffffffc" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_0002f6f0(param_2,4);" (call_expression "FUN_0002f6f0(param_2,4)" identifier (argument_list "(param_2,4)" ( identifier , number_literal ))) ;) (return_statement "return 4;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_0001a860(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  FUN_00034860(param_1,0);\n  if (DAT_0007ce00 == 0) {\n    uVar1 = FUN_00036bb0();\n    uVar2 = FUN_00036b60();\n  }\n  else {\n    FUN_00023920();\n    uVar1 = FUN_00036b00(".Ldebug_line_start");\n    uVar2 = FUN_00036b00(".Ldebug_line_end");\n    FUN_000391a0(uVar1);\n  }\n  *param_2 = uVar2;\n  param_2[1] = uVar1;\n  *(undefined1 *)(param_2 + 3) = 0x14;\n  param_2[2] = 0xfffffffc;\n  FUN_0002f6f0(param_2,4);\n  return 4;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001a860(undefined4 param_1,undefined4 *param_2)" (identifier "FUN_0001a860") (parameter_list "(undefined4 param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  FUN_00034860(param_1,0);\n  if (DAT_0007ce00 == 0) {\n    uVar1 = FUN_00036bb0();\n    uVar2 = FUN_00036b60();\n  }\n  else {\n    FUN_00023920();\n    uVar1 = FUN_00036b00(".Ldebug_line_start");\n    uVar2 = FUN_00036b00(".Ldebug_line_end");\n    FUN_000391a0(uVar1);\n  }\n  *param_2 = uVar2;\n  param_2[1] = uVar1;\n  *(undefined1 *)(param_2 + 3) = 0x14;\n  param_2[2] = 0xfffffffc;\n  FUN_0002f6f0(param_2,4);\n  return 4;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "FUN_00034860(param_1,0);" (call_expression "FUN_00034860(param_1,0)" (identifier "FUN_00034860") (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (DAT_0007ce00 == 0) {\n    uVar1 = FUN_00036bb0();\n    uVar2 = FUN_00036b60();\n  }\n  else {\n    FUN_00023920();\n    uVar1 = FUN_00036b00(".Ldebug_line_start");\n    uVar2 = FUN_00036b00(".Ldebug_line_end");\n    FUN_000391a0(uVar1);\n  }" (if "if") (parenthesized_expression "(DAT_0007ce00 == 0)" (( "(") (binary_expression "DAT_0007ce00 == 0" (identifier "DAT_0007ce00") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = FUN_00036bb0();\n    uVar2 = FUN_00036b60();\n  }" ({ "{") (expression_statement "uVar1 = FUN_00036bb0();" (assignment_expression "uVar1 = FUN_00036bb0()" (identifier "uVar1") (= "=") (call_expression "FUN_00036bb0()" (identifier "FUN_00036bb0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar2 = FUN_00036b60();" (assignment_expression "uVar2 = FUN_00036b60()" (identifier "uVar2") (= "=") (call_expression "FUN_00036b60()" (identifier "FUN_00036b60") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    FUN_00023920();\n    uVar1 = FUN_00036b00(".Ldebug_line_start");\n    uVar2 = FUN_00036b00(".Ldebug_line_end");\n    FUN_000391a0(uVar1);\n  }" (else "else") (compound_statement "{\n    FUN_00023920();\n    uVar1 = FUN_00036b00(".Ldebug_line_start");\n    uVar2 = FUN_00036b00(".Ldebug_line_end");\n    FUN_000391a0(uVar1);\n  }" ({ "{") (expression_statement "FUN_00023920();" (call_expression "FUN_00023920()" (identifier "FUN_00023920") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar1 = FUN_00036b00(".Ldebug_line_start");" (assignment_expression "uVar1 = FUN_00036b00(".Ldebug_line_start")" (identifier "uVar1") (= "=") (call_expression "FUN_00036b00(".Ldebug_line_start")" (identifier "FUN_00036b00") (argument_list "(".Ldebug_line_start")" (( "(") (string_literal "".Ldebug_line_start"" (" """) (string_content ".Ldebug_line_start") (" """)) () ")")))) (; ";")) (expression_statement "uVar2 = FUN_00036b00(".Ldebug_line_end");" (assignment_expression "uVar2 = FUN_00036b00(".Ldebug_line_end")" (identifier "uVar2") (= "=") (call_expression "FUN_00036b00(".Ldebug_line_end")" (identifier "FUN_00036b00") (argument_list "(".Ldebug_line_end")" (( "(") (string_literal "".Ldebug_line_end"" (" """) (string_content ".Ldebug_line_end") (" """)) () ")")))) (; ";")) (expression_statement "FUN_000391a0(uVar1);" (call_expression "FUN_000391a0(uVar1)" (identifier "FUN_000391a0") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (} "}")))) (expression_statement "*param_2 = uVar2;" (assignment_expression "*param_2 = uVar2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "param_2[1] = uVar1;" (assignment_expression "param_2[1] = uVar1" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined1 *)(param_2 + 3) = 0x14;" (assignment_expression "*(undefined1 *)(param_2 + 3) = 0x14" (pointer_expression "*(undefined1 *)(param_2 + 3)" (* "*") (cast_expression "(undefined1 *)(param_2 + 3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 3)" (( "(") (binary_expression "param_2 + 3" (identifier "param_2") (+ "+") (number_literal "3")) () ")")))) (= "=") (number_literal "0x14")) (; ";")) (expression_statement "param_2[2] = 0xfffffffc;" (assignment_expression "param_2[2] = 0xfffffffc" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0xfffffffc")) (; ";")) (expression_statement "FUN_0002f6f0(param_2,4);" (call_expression "FUN_0002f6f0(param_2,4)" (identifier "FUN_0002f6f0") (argument_list "(param_2,4)" (( "(") (identifier "param_2") (, ",") (number_literal "4") () ")"))) (; ";")) (return_statement "return 4;" (return "return") (number_literal "4") (; ";")) (} "}")))

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

int __regparm3 function_1(type_1 *sec,type_2 *exp)

{
  type_3 *sym;
  type_3 *psVar1;
  
  var_1(sec,0);
  if (var_2 == 0) {
    sym = var_3();
    psVar1 = var_4();
  }
  else {
    var_5();
    sym = var_6(".Ldebug_line_start");
    psVar1 = var_6(".Ldebug_line_end");
    var_7(sym);
  }
  exp->X_add_symbol = psVar1;
  exp->X_op_symbol = sym;
  exp->field_0xc = 0x14;
  exp->X_add_number = -4;
  var_8(exp,4);
  return 4;
}


(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: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (return_statement (number_literal)))))

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

undefined4 __regparm3 MASKED(undefined4 param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  
  FUN_00034860(param_1,0);
  if (DAT_0007ce00 == 0) {
    uVar1 = FUN_00036bb0();
    uVar2 = FUN_00036b60();
  }
  else {
    FUN_00023920();
    uVar1 = FUN_00036b00(".Ldebug_line_start");
    uVar2 = FUN_00036b00(".Ldebug_line_end");
    FUN_000391a0(uVar1);
  }
  *param_2 = uVar2;
  param_2[1] = uVar1;
  *(undefined1 *)(param_2 + 3) = 0x14;
  param_2[2] = 0xfffffffc;
  FUN_0002f6f0(param_2,4);
  return 4;
}

