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

bfd_boolean __regparm3 tg_fix_visibility(pr_handle *info,debug_visibility visibility)

{
  if (info == (pr_handle *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");
  }
  if (info->stack != (pr_stack *)visibility) {
    if (info->stack == (pr_stack *)0x3) {
                    /* WARNING: Subroutine does not return */
      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",
                    0x80f,"tg_fix_visibility");
    }
    info->stack = (pr_stack *)visibility;
  }
  return 1;
}



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

undefined4 __regparm3 FUN_000352e0(int param_1,int param_2)

{
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");
  }
  if (*(int *)(param_1 + 8) != param_2) {
    if (*(int *)(param_1 + 8) == 3) {
                    /* WARNING: Subroutine does not return */
      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",
                    0x80f,"tg_fix_visibility");
    }
    *(int *)(param_1 + 8) = param_2;
  }
  return 1;
}


PUSH EBX
CALL 0x000143a0
ADD EBX,0x3ad1a
SUB ESP,0x8
TEST EAX,EAX
JZ 0x0003530c
MOV ECX,dword ptr [EAX + 0x8]
CMP ECX,EDX
JZ 0x00035302
CMP ECX,0x3
JZ 0x0003532b
MOV dword ptr [EAX + 0x8],EDX
ADD ESP,0x8
MOV EAX,0x1
POP EBX
RET
LEA EAX,[EBX + 0xfffe483c]
PUSH EAX
LEA EAX,[EBX + 0xfffe414d]
PUSH 0x80a
PUSH EAX
LEA EAX,[EBX + 0xfffe4164]
PUSH EAX
CALL 0x00013840
LEA EAX,[EBX + 0xfffe483c]
PUSH EAX
LEA EAX,[EBX + 0xfffe414d]
PUSH 0x80f
PUSH EAX
LEA EAX,[EBX + 0xfffe44e8]
PUSH EAX
CALL 0x00013840
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_000352e0(int param_1,int param_2)\n\n{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }\n  if (*(int *)(param_1 + 8) != param_2) {\n    if (*(int *)(param_1 + 8) == 3) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    *(int *)(param_1 + 8) = param_2;\n  }\n  return 1;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_000352e0(int param_1,int param_2)\n\n{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }\n  if (*(int *)(param_1 + 8) != param_2) {\n    if (*(int *)(param_1 + 8) == 3) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    *(int *)(param_1 + 8) = param_2;\n  }\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000352e0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }\n  if (*(int *)(param_1 + 8) != param_2) {\n    if (*(int *)(param_1 + 8) == 3) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    *(int *)(param_1 + 8) = param_2;\n  }\n  return 1;\n}" { (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }" { comment (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility")" identifier (argument_list "("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility")" ( (string_literal ""info->stack != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""tg_fix_visibility"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 8) != param_2) {\n    if (*(int *)(param_1 + 8) == 3) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    *(int *)(param_1 + 8) = param_2;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 8) != param_2)" ( (binary_expression "*(int *)(param_1 + 8) != param_2" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n    if (*(int *)(param_1 + 8) == 3) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    *(int *)(param_1 + 8) = param_2;\n  }" { (if_statement "if (*(int *)(param_1 + 8) == 3) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }" if (parenthesized_expression "(*(int *)(param_1 + 8) == 3)" ( (binary_expression "*(int *)(param_1 + 8) == 3" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }" { comment (expression_statement "__assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");" (call_expression "__assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility")" identifier (argument_list "("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility")" ( (string_literal ""info->stack->visibility != DEBUG_VISIBILITY_IGNORE"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""tg_fix_visibility"" " string_content ") ))) ;) })) (expression_statement "*(int *)(param_1 + 8) = param_2;" (assignment_expression "*(int *)(param_1 + 8) = param_2" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbfd_boolean __regparm3 tg_fix_visibility(pr_handle *info,debug_visibility visibility)\n\n{\n  if (info == (pr_handle *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }\n  if (info->stack != (pr_stack *)visibility) {\n    if (info->stack == (pr_stack *)0x3) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    info->stack = (pr_stack *)visibility;\n  }\n  return 1;\n}\n\n" comment (function_definition "bfd_boolean __regparm3 tg_fix_visibility(pr_handle *info,debug_visibility visibility)\n\n{\n  if (info == (pr_handle *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }\n  if (info->stack != (pr_stack *)visibility) {\n    if (info->stack == (pr_stack *)0x3) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    info->stack = (pr_stack *)visibility;\n  }\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "tg_fix_visibility(pr_handle *info,debug_visibility visibility)" identifier (parameter_list "(pr_handle *info,debug_visibility visibility)" ( (parameter_declaration "pr_handle *info" type_identifier (pointer_declarator "*info" * identifier)) , (parameter_declaration "debug_visibility visibility" type_identifier identifier) ))) (compound_statement "{\n  if (info == (pr_handle *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }\n  if (info->stack != (pr_stack *)visibility) {\n    if (info->stack == (pr_stack *)0x3) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    info->stack = (pr_stack *)visibility;\n  }\n  return 1;\n}" { (if_statement "if (info == (pr_handle *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }" if (parenthesized_expression "(info == (pr_handle *)0x0)" ( (binary_expression "info == (pr_handle *)0x0" identifier == (cast_expression "(pr_handle *)0x0" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }" { comment (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility")" identifier (argument_list "("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility")" ( (string_literal ""info->stack != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""tg_fix_visibility"" " string_content ") ))) ;) })) (if_statement "if (info->stack != (pr_stack *)visibility) {\n    if (info->stack == (pr_stack *)0x3) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    info->stack = (pr_stack *)visibility;\n  }" if (parenthesized_expression "(info->stack != (pr_stack *)visibility)" ( (binary_expression "info->stack != (pr_stack *)visibility" (field_expression "info->stack" identifier -> field_identifier) != (cast_expression "(pr_stack *)visibility" ( (type_descriptor "pr_stack *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    if (info->stack == (pr_stack *)0x3) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    info->stack = (pr_stack *)visibility;\n  }" { (if_statement "if (info->stack == (pr_stack *)0x3) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }" if (parenthesized_expression "(info->stack == (pr_stack *)0x3)" ( (binary_expression "info->stack == (pr_stack *)0x3" (field_expression "info->stack" identifier -> field_identifier) == (cast_expression "(pr_stack *)0x3" ( (type_descriptor "pr_stack *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }" { comment (expression_statement "__assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");" (call_expression "__assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility")" identifier (argument_list "("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility")" ( (string_literal ""info->stack->visibility != DEBUG_VISIBILITY_IGNORE"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""tg_fix_visibility"" " string_content ") ))) ;) })) (expression_statement "info->stack = (pr_stack *)visibility;" (assignment_expression "info->stack = (pr_stack *)visibility" (field_expression "info->stack" identifier -> field_identifier) = (cast_expression "(pr_stack *)visibility" ( (type_descriptor "pr_stack *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 __regparm3 FUN_000352e0(int param_1,int param_2)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }\n  if (*(int *)(param_1 + 8) != param_2) {\n    if (*(int *)(param_1 + 8) == 3) {\n                    \n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    *(int *)(param_1 + 8) = param_2;\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_000352e0(int param_1,int param_2)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }\n  if (*(int *)(param_1 + 8) != param_2) {\n    if (*(int *)(param_1 + 8) == 3) {\n                    \n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    *(int *)(param_1 + 8) = param_2;\n  }\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000352e0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }\n  if (*(int *)(param_1 + 8) != param_2) {\n    if (*(int *)(param_1 + 8) == 3) {\n                    \n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    *(int *)(param_1 + 8) = param_2;\n  }\n  return 1;\n}" { (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }" { (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility")" identifier (argument_list "("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility")" ( (string_literal ""info->stack != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""tg_fix_visibility"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 8) != param_2) {\n    if (*(int *)(param_1 + 8) == 3) {\n                    \n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    *(int *)(param_1 + 8) = param_2;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 8) != param_2)" ( (binary_expression "*(int *)(param_1 + 8) != param_2" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n    if (*(int *)(param_1 + 8) == 3) {\n                    \n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    *(int *)(param_1 + 8) = param_2;\n  }" { (if_statement "if (*(int *)(param_1 + 8) == 3) {\n                    \n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }" if (parenthesized_expression "(*(int *)(param_1 + 8) == 3)" ( (binary_expression "*(int *)(param_1 + 8) == 3" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }" { (expression_statement "__assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");" (call_expression "__assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility")" identifier (argument_list "("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility")" ( (string_literal ""info->stack->visibility != DEBUG_VISIBILITY_IGNORE"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""tg_fix_visibility"" " string_content ") ))) ;) })) (expression_statement "*(int *)(param_1 + 8) = param_2;" (assignment_expression "*(int *)(param_1 + 8) = param_2" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_000352e0(int param_1,int param_2)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }\n  if (*(int *)(param_1 + 8) != param_2) {\n    if (*(int *)(param_1 + 8) == 3) {\n                    \n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    *(int *)(param_1 + 8) = param_2;\n  }\n  return 1;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000352e0(int param_1,int param_2)" (identifier "FUN_000352e0") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (param_1 == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }\n  if (*(int *)(param_1 + 8) != param_2) {\n    if (*(int *)(param_1 + 8) == 3) {\n                    \n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    *(int *)(param_1 + 8) = param_2;\n  }\n  return 1;\n}" ({ "{") (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");\n  }" ({ "{") (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility")" (identifier "__assert_fail") (argument_list "("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility")" (( "(") (string_literal ""info->stack != NULL"" (" """) (string_content "info->stack != NULL") (" """)) (, ",") (string_literal ""../../binutils/prdbg.c"" (" """) (string_content "../../binutils/prdbg.c") (" """)) (, ",") (number_literal "0x80a") (, ",") (string_literal ""tg_fix_visibility"" (" """) (string_content "tg_fix_visibility") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 8) != param_2) {\n    if (*(int *)(param_1 + 8) == 3) {\n                    \n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    *(int *)(param_1 + 8) = param_2;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 8) != param_2)" (( "(") (binary_expression "*(int *)(param_1 + 8) != param_2" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (identifier "param_2")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 8) == 3) {\n                    \n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }\n    *(int *)(param_1 + 8) = param_2;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 8) == 3) {\n                    \n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 8) == 3)" (( "(") (binary_expression "*(int *)(param_1 + 8) == 3" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "3")) () ")")) (compound_statement "{\n                    \n      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");\n    }" ({ "{") (expression_statement "__assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility");" (call_expression "__assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility")" (identifier "__assert_fail") (argument_list "("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",\n                    0x80f,"tg_fix_visibility")" (( "(") (string_literal ""info->stack->visibility != DEBUG_VISIBILITY_IGNORE"" (" """) (string_content "info->stack->visibility != DEBUG_VISIBILITY_IGNORE") (" """)) (, ",") (string_literal ""../../binutils/prdbg.c"" (" """) (string_content "../../binutils/prdbg.c") (" """)) (, ",") (number_literal "0x80f") (, ",") (string_literal ""tg_fix_visibility"" (" """) (string_content "tg_fix_visibility") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "*(int *)(param_1 + 8) = param_2;" (assignment_expression "*(int *)(param_1 + 8) = param_2" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

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

type_1 __regparm3 function_1(type_2 *var_1,type_3 visibility)

{
  if (var_1 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");
  }
  if (var_1->stack != (type_4 *)visibility) {
    if (var_1->stack == (type_4 *)0x3) {
                    /* WARNING: Subroutine does not return */
      var_2("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",
                    0x80f,"tg_fix_visibility");
    }
    var_1->stack = (type_4 *)visibility;
  }
  return 1;
}


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

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

undefined4 __regparm3 MASKED(int param_1,int param_2)

{
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x80a,"tg_fix_visibility");
  }
  if (*(int *)(param_1 + 8) != param_2) {
    if (*(int *)(param_1 + 8) == 3) {
                    /* WARNING: Subroutine does not return */
      __assert_fail("info->stack->visibility != DEBUG_VISIBILITY_IGNORE","../../binutils/prdbg.c",
                    0x80f,"tg_fix_visibility");
    }
    *(int *)(param_1 + 8) = param_2;
  }
  return 1;
}

