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

bfd_boolean __regparm3 pr_fix_visibility(pr_handle *info,debug_visibility visibility)

{
  pr_stack **info_00;
  pr_stack *ppVar1;
  char *pcVar2;
  size_t sVar3;
  bfd_boolean bVar4;
  char *s;
  uint uVar5;
  
  ppVar1 = info->stack;
  if (ppVar1 == (pr_stack *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");
  }
  if (ppVar1->visibility != visibility) {
    if (visibility == DEBUG_VISIBILITY_PROTECTED) {
      s = "protected";
    }
    else if (visibility == DEBUG_VISIBILITY_PUBLIC) {
      s = "public";
    }
    else if (visibility == DEBUG_VISIBILITY_PRIVATE) {
      s = "private";
    }
    else {
      if (visibility != DEBUG_VISIBILITY_IGNORE) {
                    /* WARNING: Subroutine does not return */
        abort();
      }
      s = "/* ignore */";
    }
    pcVar2 = ppVar1->type;
    sVar3 = strlen(pcVar2);
    pcVar2 = pcVar2 + (sVar3 - 1);
    if (*pcVar2 != ' ') {
                    /* WARNING: Subroutine does not return */
      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");
    }
    *pcVar2 = '\0';
    info_00 = &info->stack;
    bVar4 = append_type((pr_handle *)info_00,s);
    if ((bVar4 == 0) || (bVar4 = append_type((pr_handle *)info_00,":\n"), bVar4 == 0)) {
      return 0;
    }
    if (info->indent != 0) {
      uVar5 = 0;
      do {
        bVar4 = append_type((pr_handle *)info_00," ");
        if (bVar4 == 0) {
          return 0;
        }
        uVar5 = uVar5 + 1;
      } while (uVar5 < info->indent);
    }
    info->stack->visibility = visibility;
  }
  return 1;
}



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

undefined4 __regparm3 FUN_00037ef0(int param_1,int param_2)

{
  char *pcVar1;
  size_t sVar2;
  int iVar3;
  uint uVar4;
  
  iVar3 = *(int *)(param_1 + 8);
  if (iVar3 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");
  }
  if (*(int *)(iVar3 + 8) != param_2) {
    if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {
                    /* WARNING: Subroutine does not return */
      abort();
    }
    pcVar1 = *(char **)(iVar3 + 4);
    sVar2 = strlen(pcVar1);
    pcVar1 = pcVar1 + (sVar2 - 1);
    if (*pcVar1 != ' ') {
                    /* WARNING: Subroutine does not return */
      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");
    }
    *pcVar1 = '\0';
    iVar3 = FUN_00037580();
    if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {
      return 0;
    }
    if (*(int *)(param_1 + 4) != 0) {
      uVar4 = 0;
      do {
        iVar3 = FUN_00037580();
        if (iVar3 == 0) {
          return 0;
        }
        uVar4 = uVar4 + 1;
      } while (uVar4 < *(uint *)(param_1 + 4));
    }
    *(int *)(*(int *)(param_1 + 8) + 8) = param_2;
  }
  return 1;
}


PUSH EBP
PUSH EDI
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x000153d0
ADD EBX,0x3b105
SUB ESP,0x1c
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x0003800b
MOV EDI,EDX
CMP dword ptr [EAX + 0x8],EDX
JZ 0x00037fde
CMP EDX,0x1
JZ 0x00038000
TEST EDX,EDX
JZ 0x00037ff0
CMP EDX,0x2
JZ 0x00037f80
CMP EDX,0x3
JNZ 0x00038049
LEA EDX,[EBX + 0xfffe4136]
MOV EBP,dword ptr [EAX + 0x4]
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0xc
PUSH EBP
CALL 0x00014480
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
LEA EAX,[EBP + EAX*0x1 + -0x1]
CMP byte ptr [EAX],0x20
JNZ 0x0003802a
MOV byte ptr [EAX],0x0
LEA EAX,[ESI + 0x8]
MOV dword ptr [ESP + 0xc],EAX
CALL 0x00037580
TEST EAX,EAX
JNZ 0x00037f90
ADD ESP,0x1c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EDX,[EBX + 0xfffdcaf4]
JMP 0x00037f3f
MOV EAX,dword ptr [ESP + 0xc]
LEA EDX,[EBX + 0xfffdc5b0]
CALL 0x00037580
TEST EAX,EAX
JZ 0x00037f76
MOV EAX,dword ptr [ESI + 0x4]
TEST EAX,EAX
JZ 0x00037fd8
XOR EBP,EBP
LEA EBX,[EBX + 0xfffdc64f]
JMP 0x00037fc0
ADD EBP,0x1
CMP EBP,dword ptr [ESI + 0x4]
JNC 0x00037fd8
MOV EAX,dword ptr [ESP + 0xc]
MOV EDX,EBX
CALL 0x00037580
TEST EAX,EAX
JNZ 0x00037fb8
JMP 0x00037f76
MOV EAX,dword ptr [ESI + 0x8]
MOV dword ptr [EAX + 0x8],EDI
ADD ESP,0x1c
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EDX,[EBX + 0xfffe4143]
JMP 0x00037f3f
LEA EDX,[EBX + 0xfffe414a]
JMP 0x00037f3f
LEA EAX,[EBX + 0xfffe4948]
PUSH EAX
LEA EAX,[EBX + 0xfffe4154]
PUSH 0x451
PUSH EAX
LEA EAX,[EBX + 0xfffe416b]
PUSH EAX
CALL 0x00014850
LEA EAX,[EBX + 0xfffe4948]
PUSH EAX
LEA EAX,[EBX + 0xfffe4154]
PUSH 0x46e
PUSH EAX
LEA EAX,[EBX + 0xfffe424a]
PUSH EAX
CALL 0x00014850
CALL 0x000147a0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_00037ef0(int param_1,int param_2)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar3 = *(int *)(param_1 + 8);\n  if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }\n  if (*(int *)(iVar3 + 8) != param_2) {\n    if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar1 = *(char **)(iVar3 + 4);\n    sVar2 = strlen(pcVar1);\n    pcVar1 = pcVar1 + (sVar2 - 1);\n    if (*pcVar1 != ' ') {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar1 = '\0';\n    iVar3 = FUN_00037580();\n    if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {\n      return 0;\n    }\n    if (*(int *)(param_1 + 4) != 0) {\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }\n    *(int *)(*(int *)(param_1 + 8) + 8) = param_2;\n  }\n  return 1;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_00037ef0(int param_1,int param_2)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar3 = *(int *)(param_1 + 8);\n  if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }\n  if (*(int *)(iVar3 + 8) != param_2) {\n    if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar1 = *(char **)(iVar3 + 4);\n    sVar2 = strlen(pcVar1);\n    pcVar1 = pcVar1 + (sVar2 - 1);\n    if (*pcVar1 != ' ') {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar1 = '\0';\n    iVar3 = FUN_00037580();\n    if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {\n      return 0;\n    }\n    if (*(int *)(param_1 + 4) != 0) {\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }\n    *(int *)(*(int *)(param_1 + 8) + 8) = param_2;\n  }\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00037ef0(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  char *pcVar1;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar3 = *(int *)(param_1 + 8);\n  if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }\n  if (*(int *)(iVar3 + 8) != param_2) {\n    if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar1 = *(char **)(iVar3 + 4);\n    sVar2 = strlen(pcVar1);\n    pcVar1 = pcVar1 + (sVar2 - 1);\n    if (*pcVar1 != ' ') {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar1 = '\0';\n    iVar3 = FUN_00037580();\n    if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {\n      return 0;\n    }\n    if (*(int *)(param_1 + 4) != 0) {\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }\n    *(int *)(*(int *)(param_1 + 8) + 8) = param_2;\n  }\n  return 1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "iVar3 = *(int *)(param_1 + 8);" (assignment_expression "iVar3 = *(int *)(param_1 + 8)" identifier = (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) ))))) ;) (if_statement "if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }" { comment (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility")" identifier (argument_list "("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility")" ( (string_literal ""info->stack != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""pr_fix_visibility"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(iVar3 + 8) != param_2) {\n    if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar1 = *(char **)(iVar3 + 4);\n    sVar2 = strlen(pcVar1);\n    pcVar1 = pcVar1 + (sVar2 - 1);\n    if (*pcVar1 != ' ') {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar1 = '\0';\n    iVar3 = FUN_00037580();\n    if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {\n      return 0;\n    }\n    if (*(int *)(param_1 + 4) != 0) {\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }\n    *(int *)(*(int *)(param_1 + 8) + 8) = param_2;\n  }" if (parenthesized_expression "(*(int *)(iVar3 + 8) != param_2)" ( (binary_expression "*(int *)(iVar3 + 8) != param_2" (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n    if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar1 = *(char **)(iVar3 + 4);\n    sVar2 = strlen(pcVar1);\n    pcVar1 = pcVar1 + (sVar2 - 1);\n    if (*pcVar1 != ' ') {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar1 = '\0';\n    iVar3 = FUN_00037580();\n    if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {\n      return 0;\n    }\n    if (*(int *)(param_1 + 4) != 0) {\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }\n    *(int *)(*(int *)(param_1 + 8) + 8) = param_2;\n  }" { (if_statement "if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }" if (parenthesized_expression "((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3))" ( (binary_expression "(((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)" (parenthesized_expression "(((param_2 != 1) && (param_2 != 0)) && (param_2 != 2))" ( (binary_expression "((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)" (parenthesized_expression "((param_2 != 1) && (param_2 != 0))" ( (binary_expression "(param_2 != 1) && (param_2 != 0)" (parenthesized_expression "(param_2 != 1)" ( (binary_expression "param_2 != 1" identifier != number_literal) )) && (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) ))) )) && (parenthesized_expression "(param_2 != 2)" ( (binary_expression "param_2 != 2" identifier != number_literal) ))) )) && (parenthesized_expression "(param_2 != 3)" ( (binary_expression "param_2 != 3" identifier != number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }" { comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "pcVar1 = *(char **)(iVar3 + 4);" (assignment_expression "pcVar1 = *(char **)(iVar3 + 4)" identifier = (pointer_expression "*(char **)(iVar3 + 4)" * (cast_expression "(char **)(iVar3 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) ))))) ;) (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" identifier = (call_expression "strlen(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "pcVar1 = pcVar1 + (sVar2 - 1);" (assignment_expression "pcVar1 = pcVar1 + (sVar2 - 1)" identifier = (binary_expression "pcVar1 + (sVar2 - 1)" identifier + (parenthesized_expression "(sVar2 - 1)" ( (binary_expression "sVar2 - 1" identifier - number_literal) )))) ;) (if_statement "if (*pcVar1 != ' ') {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }" if (parenthesized_expression "(*pcVar1 != ' ')" ( (binary_expression "*pcVar1 != ' '" (pointer_expression "*pcVar1" * identifier) != (char_literal "' '" ' character ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }" { comment (expression_statement "__assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");" (call_expression "__assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility")" identifier (argument_list "("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility")" ( (string_literal ""t[len - 1] == \' \'"" " string_content escape_sequence string_content escape_sequence ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""pr_fix_visibility"" " string_content ") ))) ;) })) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar3 = FUN_00037580();" (assignment_expression "iVar3 = FUN_00037580()" identifier = (call_expression "FUN_00037580()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {\n      return 0;\n    }" if (parenthesized_expression "((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0))" ( (binary_expression "(iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar3 = FUN_00037580(), iVar3 == 0)" ( (comma_expression "iVar3 = FUN_00037580(), iVar3 == 0" (assignment_expression "iVar3 = FUN_00037580()" identifier = (call_expression "FUN_00037580()" identifier (argument_list "()" ( )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(int *)(param_1 + 4) != 0) {\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }" if (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" ( (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));" do (compound_statement "{\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      }" { (expression_statement "iVar3 = FUN_00037580();" (assignment_expression "iVar3 = FUN_00037580()" identifier = (call_expression "FUN_00037580()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar4 = uVar4 + 1;" (assignment_expression "uVar4 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar4 < *(uint *)(param_1 + 4))" ( (binary_expression "uVar4 < *(uint *)(param_1 + 4)" identifier < (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) )) ;) })) (expression_statement "*(int *)(*(int *)(param_1 + 8) + 8) = param_2;" (assignment_expression "*(int *)(*(int *)(param_1 + 8) + 8) = param_2" (pointer_expression "*(int *)(*(int *)(param_1 + 8) + 8)" * (cast_expression "(int *)(*(int *)(param_1 + 8) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 8)" ( (binary_expression "*(int *)(param_1 + 8) + 8" (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) )))) = 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 pr_fix_visibility(pr_handle *info,debug_visibility visibility)\n\n{\n  pr_stack **info_00;\n  pr_stack *ppVar1;\n  char *pcVar2;\n  size_t sVar3;\n  bfd_boolean bVar4;\n  char *s;\n  uint uVar5;\n  \n  ppVar1 = info->stack;\n  if (ppVar1 == (pr_stack *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }\n  if (ppVar1->visibility != visibility) {\n    if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n      s = "protected";\n    }\n    else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n      s = "public";\n    }\n    else if (visibility == DEBUG_VISIBILITY_PRIVATE) {\n      s = "private";\n    }\n    else {\n      if (visibility != DEBUG_VISIBILITY_IGNORE) {\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      s = "/* ignore */";\n    }\n    pcVar2 = ppVar1->type;\n    sVar3 = strlen(pcVar2);\n    pcVar2 = pcVar2 + (sVar3 - 1);\n    if (*pcVar2 != ' ') {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar2 = '\0';\n    info_00 = &info->stack;\n    bVar4 = append_type((pr_handle *)info_00,s);\n    if ((bVar4 == 0) || (bVar4 = append_type((pr_handle *)info_00,":\n"), bVar4 == 0)) {\n      return 0;\n    }\n    if (info->indent != 0) {\n      uVar5 = 0;\n      do {\n        bVar4 = append_type((pr_handle *)info_00," ");\n        if (bVar4 == 0) {\n          return 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar5 < info->indent);\n    }\n    info->stack->visibility = visibility;\n  }\n  return 1;\n}\n\n" comment (function_definition "bfd_boolean __regparm3 pr_fix_visibility(pr_handle *info,debug_visibility visibility)\n\n{\n  pr_stack **info_00;\n  pr_stack *ppVar1;\n  char *pcVar2;\n  size_t sVar3;\n  bfd_boolean bVar4;\n  char *s;\n  uint uVar5;\n  \n  ppVar1 = info->stack;\n  if (ppVar1 == (pr_stack *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }\n  if (ppVar1->visibility != visibility) {\n    if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n      s = "protected";\n    }\n    else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n      s = "public";\n    }\n    else if (visibility == DEBUG_VISIBILITY_PRIVATE) {\n      s = "private";\n    }\n    else {\n      if (visibility != DEBUG_VISIBILITY_IGNORE) {\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      s = "/* ignore */";\n    }\n    pcVar2 = ppVar1->type;\n    sVar3 = strlen(pcVar2);\n    pcVar2 = pcVar2 + (sVar3 - 1);\n    if (*pcVar2 != ' ') {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar2 = '\0';\n    info_00 = &info->stack;\n    bVar4 = append_type((pr_handle *)info_00,s);\n    if ((bVar4 == 0) || (bVar4 = append_type((pr_handle *)info_00,":\n"), bVar4 == 0)) {\n      return 0;\n    }\n    if (info->indent != 0) {\n      uVar5 = 0;\n      do {\n        bVar4 = append_type((pr_handle *)info_00," ");\n        if (bVar4 == 0) {\n          return 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar5 < info->indent);\n    }\n    info->stack->visibility = visibility;\n  }\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "pr_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  pr_stack **info_00;\n  pr_stack *ppVar1;\n  char *pcVar2;\n  size_t sVar3;\n  bfd_boolean bVar4;\n  char *s;\n  uint uVar5;\n  \n  ppVar1 = info->stack;\n  if (ppVar1 == (pr_stack *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }\n  if (ppVar1->visibility != visibility) {\n    if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n      s = "protected";\n    }\n    else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n      s = "public";\n    }\n    else if (visibility == DEBUG_VISIBILITY_PRIVATE) {\n      s = "private";\n    }\n    else {\n      if (visibility != DEBUG_VISIBILITY_IGNORE) {\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      s = "/* ignore */";\n    }\n    pcVar2 = ppVar1->type;\n    sVar3 = strlen(pcVar2);\n    pcVar2 = pcVar2 + (sVar3 - 1);\n    if (*pcVar2 != ' ') {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar2 = '\0';\n    info_00 = &info->stack;\n    bVar4 = append_type((pr_handle *)info_00,s);\n    if ((bVar4 == 0) || (bVar4 = append_type((pr_handle *)info_00,":\n"), bVar4 == 0)) {\n      return 0;\n    }\n    if (info->indent != 0) {\n      uVar5 = 0;\n      do {\n        bVar4 = append_type((pr_handle *)info_00," ");\n        if (bVar4 == 0) {\n          return 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar5 < info->indent);\n    }\n    info->stack->visibility = visibility;\n  }\n  return 1;\n}" { (declaration "pr_stack **info_00;" type_identifier (pointer_declarator "**info_00" * (pointer_declarator "*info_00" * identifier)) ;) (declaration "pr_stack *ppVar1;" type_identifier (pointer_declarator "*ppVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "bfd_boolean bVar4;" type_identifier identifier ;) (declaration "char *s;" primitive_type (pointer_declarator "*s" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "ppVar1 = info->stack;" (assignment_expression "ppVar1 = info->stack" identifier = (field_expression "info->stack" identifier -> field_identifier)) ;) (if_statement "if (ppVar1 == (pr_stack *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }" if (parenthesized_expression "(ppVar1 == (pr_stack *)0x0)" ( (binary_expression "ppVar1 == (pr_stack *)0x0" identifier == (cast_expression "(pr_stack *)0x0" ( (type_descriptor "pr_stack *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }" { comment (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility")" identifier (argument_list "("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility")" ( (string_literal ""info->stack != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""pr_fix_visibility"" " string_content ") ))) ;) })) (if_statement "if (ppVar1->visibility != visibility) {\n    if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n      s = "protected";\n    }\n    else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n      s = "public";\n    }\n    else if (visibility == DEBUG_VISIBILITY_PRIVATE) {\n      s = "private";\n    }\n    else {\n      if (visibility != DEBUG_VISIBILITY_IGNORE) {\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      s = "/* ignore */";\n    }\n    pcVar2 = ppVar1->type;\n    sVar3 = strlen(pcVar2);\n    pcVar2 = pcVar2 + (sVar3 - 1);\n    if (*pcVar2 != ' ') {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar2 = '\0';\n    info_00 = &info->stack;\n    bVar4 = append_type((pr_handle *)info_00,s);\n    if ((bVar4 == 0) || (bVar4 = append_type((pr_handle *)info_00,":\n"), bVar4 == 0)) {\n      return 0;\n    }\n    if (info->indent != 0) {\n      uVar5 = 0;\n      do {\n        bVar4 = append_type((pr_handle *)info_00," ");\n        if (bVar4 == 0) {\n          return 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar5 < info->indent);\n    }\n    info->stack->visibility = visibility;\n  }" if (parenthesized_expression "(ppVar1->visibility != visibility)" ( (binary_expression "ppVar1->visibility != visibility" (field_expression "ppVar1->visibility" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n      s = "protected";\n    }\n    else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n      s = "public";\n    }\n    else if (visibility == DEBUG_VISIBILITY_PRIVATE) {\n      s = "private";\n    }\n    else {\n      if (visibility != DEBUG_VISIBILITY_IGNORE) {\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      s = "/* ignore */";\n    }\n    pcVar2 = ppVar1->type;\n    sVar3 = strlen(pcVar2);\n    pcVar2 = pcVar2 + (sVar3 - 1);\n    if (*pcVar2 != ' ') {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar2 = '\0';\n    info_00 = &info->stack;\n    bVar4 = append_type((pr_handle *)info_00,s);\n    if ((bVar4 == 0) || (bVar4 = append_type((pr_handle *)info_00,":\n"), bVar4 == 0)) {\n      return 0;\n    }\n    if (info->indent != 0) {\n      uVar5 = 0;\n      do {\n        bVar4 = append_type((pr_handle *)info_00," ");\n        if (bVar4 == 0) {\n          return 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar5 < info->indent);\n    }\n    info->stack->visibility = visibility;\n  }" { (if_statement "if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n      s = "protected";\n    }\n    else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n      s = "public";\n    }\n    else if (visibility == DEBUG_VISIBILITY_PRIVATE) {\n      s = "private";\n    }\n    else {\n      if (visibility != DEBUG_VISIBILITY_IGNORE) {\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      s = "/* ignore */";\n    }" if (parenthesized_expression "(visibility == DEBUG_VISIBILITY_PROTECTED)" ( (binary_expression "visibility == DEBUG_VISIBILITY_PROTECTED" identifier == identifier) )) (compound_statement "{\n      s = "protected";\n    }" { (expression_statement "s = "protected";" (assignment_expression "s = "protected"" identifier = (string_literal ""protected"" " string_content ")) ;) }) (else_clause "else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n      s = "public";\n    }\n    else if (visibility == DEBUG_VISIBILITY_PRIVATE) {\n      s = "private";\n    }\n    else {\n      if (visibility != DEBUG_VISIBILITY_IGNORE) {\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      s = "/* ignore */";\n    }" else (if_statement "if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n      s = "public";\n    }\n    else if (visibility == DEBUG_VISIBILITY_PRIVATE) {\n      s = "private";\n    }\n    else {\n      if (visibility != DEBUG_VISIBILITY_IGNORE) {\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      s = "/* ignore */";\n    }" if (parenthesized_expression "(visibility == DEBUG_VISIBILITY_PUBLIC)" ( (binary_expression "visibility == DEBUG_VISIBILITY_PUBLIC" identifier == identifier) )) (compound_statement "{\n      s = "public";\n    }" { (expression_statement "s = "public";" (assignment_expression "s = "public"" identifier = (string_literal ""public"" " string_content ")) ;) }) (else_clause "else if (visibility == DEBUG_VISIBILITY_PRIVATE) {\n      s = "private";\n    }\n    else {\n      if (visibility != DEBUG_VISIBILITY_IGNORE) {\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      s = "/* ignore */";\n    }" else (if_statement "if (visibility == DEBUG_VISIBILITY_PRIVATE) {\n      s = "private";\n    }\n    else {\n      if (visibility != DEBUG_VISIBILITY_IGNORE) {\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      s = "/* ignore */";\n    }" if (parenthesized_expression "(visibility == DEBUG_VISIBILITY_PRIVATE)" ( (binary_expression "visibility == DEBUG_VISIBILITY_PRIVATE" identifier == identifier) )) (compound_statement "{\n      s = "private";\n    }" { (expression_statement "s = "private";" (assignment_expression "s = "private"" identifier = (string_literal ""private"" " string_content ")) ;) }) (else_clause "else {\n      if (visibility != DEBUG_VISIBILITY_IGNORE) {\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      s = "/* ignore */";\n    }" else (compound_statement "{\n      if (visibility != DEBUG_VISIBILITY_IGNORE) {\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      s = "/* ignore */";\n    }" { (if_statement "if (visibility != DEBUG_VISIBILITY_IGNORE) {\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }" if (parenthesized_expression "(visibility != DEBUG_VISIBILITY_IGNORE)" ( (binary_expression "visibility != DEBUG_VISIBILITY_IGNORE" identifier != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }" { comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "s = "/* ignore */";" (assignment_expression "s = "/* ignore */"" identifier = (string_literal ""/* ignore */"" " string_content ")) ;) }))))))) (expression_statement "pcVar2 = ppVar1->type;" (assignment_expression "pcVar2 = ppVar1->type" identifier = (field_expression "ppVar1->type" identifier -> field_identifier)) ;) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "pcVar2 = pcVar2 + (sVar3 - 1);" (assignment_expression "pcVar2 = pcVar2 + (sVar3 - 1)" identifier = (binary_expression "pcVar2 + (sVar3 - 1)" identifier + (parenthesized_expression "(sVar3 - 1)" ( (binary_expression "sVar3 - 1" identifier - number_literal) )))) ;) (if_statement "if (*pcVar2 != ' ') {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }" if (parenthesized_expression "(*pcVar2 != ' ')" ( (binary_expression "*pcVar2 != ' '" (pointer_expression "*pcVar2" * identifier) != (char_literal "' '" ' character ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }" { comment (expression_statement "__assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");" (call_expression "__assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility")" identifier (argument_list "("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility")" ( (string_literal ""t[len - 1] == \' \'"" " string_content escape_sequence string_content escape_sequence ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""pr_fix_visibility"" " string_content ") ))) ;) })) (expression_statement "*pcVar2 = '\0';" (assignment_expression "*pcVar2 = '\0'" (pointer_expression "*pcVar2" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "info_00 = &info->stack;" (assignment_expression "info_00 = &info->stack" identifier = (pointer_expression "&info->stack" & (field_expression "info->stack" identifier -> field_identifier))) ;) (expression_statement "bVar4 = append_type((pr_handle *)info_00,s);" (assignment_expression "bVar4 = append_type((pr_handle *)info_00,s)" identifier = (call_expression "append_type((pr_handle *)info_00,s)" identifier (argument_list "((pr_handle *)info_00,s)" ( (cast_expression "(pr_handle *)info_00" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) ;) (if_statement "if ((bVar4 == 0) || (bVar4 = append_type((pr_handle *)info_00,":\n"), bVar4 == 0)) {\n      return 0;\n    }" if (parenthesized_expression "((bVar4 == 0) || (bVar4 = append_type((pr_handle *)info_00,":\n"), bVar4 == 0))" ( (binary_expression "(bVar4 == 0) || (bVar4 = append_type((pr_handle *)info_00,":\n"), bVar4 == 0)" (parenthesized_expression "(bVar4 == 0)" ( (binary_expression "bVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(bVar4 = append_type((pr_handle *)info_00,":\n"), bVar4 == 0)" ( (comma_expression "bVar4 = append_type((pr_handle *)info_00,":\n"), bVar4 == 0" (assignment_expression "bVar4 = append_type((pr_handle *)info_00,":\n")" identifier = (call_expression "append_type((pr_handle *)info_00,":\n")" identifier (argument_list "((pr_handle *)info_00,":\n")" ( (cast_expression "(pr_handle *)info_00" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal "":\n"" " string_content escape_sequence ") )))) , (binary_expression "bVar4 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (info->indent != 0) {\n      uVar5 = 0;\n      do {\n        bVar4 = append_type((pr_handle *)info_00," ");\n        if (bVar4 == 0) {\n          return 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar5 < info->indent);\n    }" if (parenthesized_expression "(info->indent != 0)" ( (binary_expression "info->indent != 0" (field_expression "info->indent" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n      uVar5 = 0;\n      do {\n        bVar4 = append_type((pr_handle *)info_00," ");\n        if (bVar4 == 0) {\n          return 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar5 < info->indent);\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n        bVar4 = append_type((pr_handle *)info_00," ");\n        if (bVar4 == 0) {\n          return 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar5 < info->indent);" do (compound_statement "{\n        bVar4 = append_type((pr_handle *)info_00," ");\n        if (bVar4 == 0) {\n          return 0;\n        }\n        uVar5 = uVar5 + 1;\n      }" { (expression_statement "bVar4 = append_type((pr_handle *)info_00," ");" (assignment_expression "bVar4 = append_type((pr_handle *)info_00," ")" identifier = (call_expression "append_type((pr_handle *)info_00," ")" identifier (argument_list "((pr_handle *)info_00," ")" ( (cast_expression "(pr_handle *)info_00" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal "" "" " string_content ") )))) ;) (if_statement "if (bVar4 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(bVar4 == 0)" ( (binary_expression "bVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 < info->indent)" ( (binary_expression "uVar5 < info->indent" identifier < (field_expression "info->indent" identifier -> field_identifier)) )) ;) })) (expression_statement "info->stack->visibility = visibility;" (assignment_expression "info->stack->visibility = visibility" (field_expression "info->stack->visibility" (field_expression "info->stack" identifier -> field_identifier) -> field_identifier) = identifier) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 __regparm3 FUN_00037ef0(int param_1,int param_2)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar3 = *(int *)(param_1 + 8);\n  if (iVar3 == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }\n  if (*(int *)(iVar3 + 8) != param_2) {\n    if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {\n                    \n      abort();\n    }\n    pcVar1 = *(char **)(iVar3 + 4);\n    sVar2 = strlen(pcVar1);\n    pcVar1 = pcVar1 + (sVar2 - 1);\n    if (*pcVar1 != ' ') {\n                    \n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar1 = '\0';\n    iVar3 = FUN_00037580();\n    if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {\n      return 0;\n    }\n    if (*(int *)(param_1 + 4) != 0) {\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }\n    *(int *)(*(int *)(param_1 + 8) + 8) = param_2;\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00037ef0(int param_1,int param_2)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar3 = *(int *)(param_1 + 8);\n  if (iVar3 == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }\n  if (*(int *)(iVar3 + 8) != param_2) {\n    if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {\n                    \n      abort();\n    }\n    pcVar1 = *(char **)(iVar3 + 4);\n    sVar2 = strlen(pcVar1);\n    pcVar1 = pcVar1 + (sVar2 - 1);\n    if (*pcVar1 != ' ') {\n                    \n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar1 = '\0';\n    iVar3 = FUN_00037580();\n    if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {\n      return 0;\n    }\n    if (*(int *)(param_1 + 4) != 0) {\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }\n    *(int *)(*(int *)(param_1 + 8) + 8) = param_2;\n  }\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00037ef0(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  char *pcVar1;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar3 = *(int *)(param_1 + 8);\n  if (iVar3 == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }\n  if (*(int *)(iVar3 + 8) != param_2) {\n    if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {\n                    \n      abort();\n    }\n    pcVar1 = *(char **)(iVar3 + 4);\n    sVar2 = strlen(pcVar1);\n    pcVar1 = pcVar1 + (sVar2 - 1);\n    if (*pcVar1 != ' ') {\n                    \n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar1 = '\0';\n    iVar3 = FUN_00037580();\n    if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {\n      return 0;\n    }\n    if (*(int *)(param_1 + 4) != 0) {\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }\n    *(int *)(*(int *)(param_1 + 8) + 8) = param_2;\n  }\n  return 1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "iVar3 = *(int *)(param_1 + 8);" (assignment_expression "iVar3 = *(int *)(param_1 + 8)" identifier = (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) ))))) ;) (if_statement "if (iVar3 == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }" { (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility")" identifier (argument_list "("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility")" ( (string_literal ""info->stack != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""pr_fix_visibility"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(iVar3 + 8) != param_2) {\n    if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {\n                    \n      abort();\n    }\n    pcVar1 = *(char **)(iVar3 + 4);\n    sVar2 = strlen(pcVar1);\n    pcVar1 = pcVar1 + (sVar2 - 1);\n    if (*pcVar1 != ' ') {\n                    \n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar1 = '\0';\n    iVar3 = FUN_00037580();\n    if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {\n      return 0;\n    }\n    if (*(int *)(param_1 + 4) != 0) {\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }\n    *(int *)(*(int *)(param_1 + 8) + 8) = param_2;\n  }" if (parenthesized_expression "(*(int *)(iVar3 + 8) != param_2)" ( (binary_expression "*(int *)(iVar3 + 8) != param_2" (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n    if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {\n                    \n      abort();\n    }\n    pcVar1 = *(char **)(iVar3 + 4);\n    sVar2 = strlen(pcVar1);\n    pcVar1 = pcVar1 + (sVar2 - 1);\n    if (*pcVar1 != ' ') {\n                    \n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar1 = '\0';\n    iVar3 = FUN_00037580();\n    if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {\n      return 0;\n    }\n    if (*(int *)(param_1 + 4) != 0) {\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }\n    *(int *)(*(int *)(param_1 + 8) + 8) = param_2;\n  }" { (if_statement "if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {\n                    \n      abort();\n    }" if (parenthesized_expression "((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3))" ( (binary_expression "(((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)" (parenthesized_expression "(((param_2 != 1) && (param_2 != 0)) && (param_2 != 2))" ( (binary_expression "((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)" (parenthesized_expression "((param_2 != 1) && (param_2 != 0))" ( (binary_expression "(param_2 != 1) && (param_2 != 0)" (parenthesized_expression "(param_2 != 1)" ( (binary_expression "param_2 != 1" identifier != number_literal) )) && (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) ))) )) && (parenthesized_expression "(param_2 != 2)" ( (binary_expression "param_2 != 2" identifier != number_literal) ))) )) && (parenthesized_expression "(param_2 != 3)" ( (binary_expression "param_2 != 3" identifier != number_literal) ))) )) (compound_statement "{\n                    \n      abort();\n    }" { (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "pcVar1 = *(char **)(iVar3 + 4);" (assignment_expression "pcVar1 = *(char **)(iVar3 + 4)" identifier = (pointer_expression "*(char **)(iVar3 + 4)" * (cast_expression "(char **)(iVar3 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) ))))) ;) (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" identifier = (call_expression "strlen(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "pcVar1 = pcVar1 + (sVar2 - 1);" (assignment_expression "pcVar1 = pcVar1 + (sVar2 - 1)" identifier = (binary_expression "pcVar1 + (sVar2 - 1)" identifier + (parenthesized_expression "(sVar2 - 1)" ( (binary_expression "sVar2 - 1" identifier - number_literal) )))) ;) (if_statement "if (*pcVar1 != ' ') {\n                    \n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }" if (parenthesized_expression "(*pcVar1 != ' ')" ( (binary_expression "*pcVar1 != ' '" (pointer_expression "*pcVar1" * identifier) != (char_literal "' '" ' character ')) )) (compound_statement "{\n                    \n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }" { (expression_statement "__assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");" (call_expression "__assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility")" identifier (argument_list "("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility")" ( (string_literal ""t[len - 1] == \' \'"" " string_content escape_sequence string_content escape_sequence ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""pr_fix_visibility"" " string_content ") ))) ;) })) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar3 = FUN_00037580();" (assignment_expression "iVar3 = FUN_00037580()" identifier = (call_expression "FUN_00037580()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {\n      return 0;\n    }" if (parenthesized_expression "((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0))" ( (binary_expression "(iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar3 = FUN_00037580(), iVar3 == 0)" ( (comma_expression "iVar3 = FUN_00037580(), iVar3 == 0" (assignment_expression "iVar3 = FUN_00037580()" identifier = (call_expression "FUN_00037580()" identifier (argument_list "()" ( )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(int *)(param_1 + 4) != 0) {\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }" if (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" ( (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));" do (compound_statement "{\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      }" { (expression_statement "iVar3 = FUN_00037580();" (assignment_expression "iVar3 = FUN_00037580()" identifier = (call_expression "FUN_00037580()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar4 = uVar4 + 1;" (assignment_expression "uVar4 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar4 < *(uint *)(param_1 + 4))" ( (binary_expression "uVar4 < *(uint *)(param_1 + 4)" identifier < (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) )) ;) })) (expression_statement "*(int *)(*(int *)(param_1 + 8) + 8) = param_2;" (assignment_expression "*(int *)(*(int *)(param_1 + 8) + 8) = param_2" (pointer_expression "*(int *)(*(int *)(param_1 + 8) + 8)" * (cast_expression "(int *)(*(int *)(param_1 + 8) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 8)" ( (binary_expression "*(int *)(param_1 + 8) + 8" (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) )))) = 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 { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (return_statement return LIT ;) })) (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 (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_00037ef0(int param_1,int param_2)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar3 = *(int *)(param_1 + 8);\n  if (iVar3 == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }\n  if (*(int *)(iVar3 + 8) != param_2) {\n    if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {\n                    \n      abort();\n    }\n    pcVar1 = *(char **)(iVar3 + 4);\n    sVar2 = strlen(pcVar1);\n    pcVar1 = pcVar1 + (sVar2 - 1);\n    if (*pcVar1 != ' ') {\n                    \n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar1 = '\0';\n    iVar3 = FUN_00037580();\n    if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {\n      return 0;\n    }\n    if (*(int *)(param_1 + 4) != 0) {\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }\n    *(int *)(*(int *)(param_1 + 8) + 8) = param_2;\n  }\n  return 1;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00037ef0(int param_1,int param_2)" (identifier "FUN_00037ef0") (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  char *pcVar1;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar3 = *(int *)(param_1 + 8);\n  if (iVar3 == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }\n  if (*(int *)(iVar3 + 8) != param_2) {\n    if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {\n                    \n      abort();\n    }\n    pcVar1 = *(char **)(iVar3 + 4);\n    sVar2 = strlen(pcVar1);\n    pcVar1 = pcVar1 + (sVar2 - 1);\n    if (*pcVar1 != ' ') {\n                    \n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar1 = '\0';\n    iVar3 = FUN_00037580();\n    if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {\n      return 0;\n    }\n    if (*(int *)(param_1 + 4) != 0) {\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }\n    *(int *)(*(int *)(param_1 + 8) + 8) = param_2;\n  }\n  return 1;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 8);" (assignment_expression "iVar3 = *(int *)(param_1 + 8)" (identifier "iVar3") (= "=") (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")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");\n  }" ({ "{") (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility")" (identifier "__assert_fail") (argument_list "("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility")" (( "(") (string_literal ""info->stack != NULL"" (" """) (string_content "info->stack != NULL") (" """)) (, ",") (string_literal ""../../binutils/prdbg.c"" (" """) (string_content "../../binutils/prdbg.c") (" """)) (, ",") (number_literal "0x451") (, ",") (string_literal ""pr_fix_visibility"" (" """) (string_content "pr_fix_visibility") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar3 + 8) != param_2) {\n    if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {\n                    \n      abort();\n    }\n    pcVar1 = *(char **)(iVar3 + 4);\n    sVar2 = strlen(pcVar1);\n    pcVar1 = pcVar1 + (sVar2 - 1);\n    if (*pcVar1 != ' ') {\n                    \n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar1 = '\0';\n    iVar3 = FUN_00037580();\n    if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {\n      return 0;\n    }\n    if (*(int *)(param_1 + 4) != 0) {\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }\n    *(int *)(*(int *)(param_1 + 8) + 8) = param_2;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar3 + 8) != param_2)" (( "(") (binary_expression "*(int *)(iVar3 + 8) != param_2" (pointer_expression "*(int *)(iVar3 + 8)" (* "*") (cast_expression "(int *)(iVar3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (identifier "param_2")) () ")")) (compound_statement "{\n    if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {\n                    \n      abort();\n    }\n    pcVar1 = *(char **)(iVar3 + 4);\n    sVar2 = strlen(pcVar1);\n    pcVar1 = pcVar1 + (sVar2 - 1);\n    if (*pcVar1 != ' ') {\n                    \n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }\n    *pcVar1 = '\0';\n    iVar3 = FUN_00037580();\n    if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {\n      return 0;\n    }\n    if (*(int *)(param_1 + 4) != 0) {\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }\n    *(int *)(*(int *)(param_1 + 8) + 8) = param_2;\n  }" ({ "{") (if_statement "if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {\n                    \n      abort();\n    }" (if "if") (parenthesized_expression "((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3))" (( "(") (binary_expression "(((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)" (parenthesized_expression "(((param_2 != 1) && (param_2 != 0)) && (param_2 != 2))" (( "(") (binary_expression "((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)" (parenthesized_expression "((param_2 != 1) && (param_2 != 0))" (( "(") (binary_expression "(param_2 != 1) && (param_2 != 0)" (parenthesized_expression "(param_2 != 1)" (( "(") (binary_expression "param_2 != 1" (identifier "param_2") (!= "!=") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(param_2 != 2)" (( "(") (binary_expression "param_2 != 2" (identifier "param_2") (!= "!=") (number_literal "2")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(param_2 != 3)" (( "(") (binary_expression "param_2 != 3" (identifier "param_2") (!= "!=") (number_literal "3")) () ")"))) () ")")) (compound_statement "{\n                    \n      abort();\n    }" ({ "{") (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar1 = *(char **)(iVar3 + 4);" (assignment_expression "pcVar1 = *(char **)(iVar3 + 4)" (identifier "pcVar1") (= "=") (pointer_expression "*(char **)(iVar3 + 4)" (* "*") (cast_expression "(char **)(iVar3 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 4)" (( "(") (binary_expression "iVar3 + 4" (identifier "iVar3") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" (identifier "sVar2") (= "=") (call_expression "strlen(pcVar1)" (identifier "strlen") (argument_list "(pcVar1)" (( "(") (identifier "pcVar1") () ")")))) (; ";")) (expression_statement "pcVar1 = pcVar1 + (sVar2 - 1);" (assignment_expression "pcVar1 = pcVar1 + (sVar2 - 1)" (identifier "pcVar1") (= "=") (binary_expression "pcVar1 + (sVar2 - 1)" (identifier "pcVar1") (+ "+") (parenthesized_expression "(sVar2 - 1)" (( "(") (binary_expression "sVar2 - 1" (identifier "sVar2") (- "-") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (*pcVar1 != ' ') {\n                    \n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }" (if "if") (parenthesized_expression "(*pcVar1 != ' ')" (( "(") (binary_expression "*pcVar1 != ' '" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (!= "!=") (char_literal "' '" (' "'") (character " ") (' "'"))) () ")")) (compound_statement "{\n                    \n      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");\n    }" ({ "{") (expression_statement "__assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");" (call_expression "__assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility")" (identifier "__assert_fail") (argument_list "("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility")" (( "(") (string_literal ""t[len - 1] == \' \'"" (" """) (string_content "t[len - 1] == ") (escape_sequence "\'") (string_content " ") (escape_sequence "\'") (" """)) (, ",") (string_literal ""../../binutils/prdbg.c"" (" """) (string_content "../../binutils/prdbg.c") (" """)) (, ",") (number_literal "0x46e") (, ",") (string_literal ""pr_fix_visibility"" (" """) (string_content "pr_fix_visibility") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "iVar3 = FUN_00037580();" (assignment_expression "iVar3 = FUN_00037580()" (identifier "iVar3") (= "=") (call_expression "FUN_00037580()" (identifier "FUN_00037580") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {\n      return 0;\n    }" (if "if") (parenthesized_expression "((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0))" (( "(") (binary_expression "(iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)" (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar3 = FUN_00037580(), iVar3 == 0)" (( "(") (comma_expression "iVar3 = FUN_00037580(), iVar3 == 0" (assignment_expression "iVar3 = FUN_00037580()" (identifier "iVar3") (= "=") (call_expression "FUN_00037580()" (identifier "FUN_00037580") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 4) != 0) {\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar4 = 0;\n      do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));\n    }" ({ "{") (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      } while (uVar4 < *(uint *)(param_1 + 4));" (do "do") (compound_statement "{\n        iVar3 = FUN_00037580();\n        if (iVar3 == 0) {\n          return 0;\n        }\n        uVar4 = uVar4 + 1;\n      }" ({ "{") (expression_statement "iVar3 = FUN_00037580();" (assignment_expression "iVar3 = FUN_00037580()" (identifier "iVar3") (= "=") (call_expression "FUN_00037580()" (identifier "FUN_00037580") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n          return 0;\n        }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return 0;\n        }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar4 = uVar4 + 1;" (assignment_expression "uVar4 = uVar4 + 1" (identifier "uVar4") (= "=") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar4 < *(uint *)(param_1 + 4))" (( "(") (binary_expression "uVar4 < *(uint *)(param_1 + 4)" (identifier "uVar4") (< "<") (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "*(int *)(*(int *)(param_1 + 8) + 8) = param_2;" (assignment_expression "*(int *)(*(int *)(param_1 + 8) + 8) = param_2" (pointer_expression "*(int *)(*(int *)(param_1 + 8) + 8)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 8) + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 8)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 8" (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 "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 *info,type_3 var_3)

{
  type_4 **info_00;
  type_4 *var_1;
  char *var_10;
  size_t var_11;
  type_1 var_13;
  char *s;
  type_5 var_14;
  
  var_1 = info->stack;
  if (var_1 == (type_4 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");
  }
  if (var_1->var_3 != var_3) {
    if (var_3 == var_4) {
      s = "protected";
    }
    else if (var_3 == var_5) {
      s = "public";
    }
    else if (var_3 == var_6) {
      s = "private";
    }
    else {
      if (var_3 != var_7) {
                    /* WARNING: Subroutine does not return */
        var_8();
      }
      s = "/* ignore */";
    }
    var_10 = var_1->type;
    var_11 = var_9(var_10);
    var_10 = var_10 + (var_11 - 1);
    if (*var_10 != ' ') {
                    /* WARNING: Subroutine does not return */
      var_2("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");
    }
    *var_10 = '\0';
    info_00 = &info->stack;
    var_13 = var_12((type_2 *)info_00,s);
    if ((var_13 == 0) || (var_13 = var_12((type_2 *)info_00,":\n"), var_13 == 0)) {
      return 0;
    }
    if (info->indent != 0) {
      var_14 = 0;
      do {
        var_13 = var_12((type_2 *)info_00," ");
        if (var_13 == 0) {
          return 0;
        }
        var_14 = var_14 + 1;
      } while (var_14 < info->indent);
    }
    info->stack->var_3 = var_3;
  }
  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 (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (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: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (return_statement (number_literal)))) (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 (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (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)))))))))) (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: (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))))) 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)

{
  char *pcVar1;
  size_t sVar2;
  int iVar3;
  uint uVar4;
  
  iVar3 = *(int *)(param_1 + 8);
  if (iVar3 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x451,"pr_fix_visibility");
  }
  if (*(int *)(iVar3 + 8) != param_2) {
    if ((((param_2 != 1) && (param_2 != 0)) && (param_2 != 2)) && (param_2 != 3)) {
                    /* WARNING: Subroutine does not return */
      abort();
    }
    pcVar1 = *(char **)(iVar3 + 4);
    sVar2 = strlen(pcVar1);
    pcVar1 = pcVar1 + (sVar2 - 1);
    if (*pcVar1 != ' ') {
                    /* WARNING: Subroutine does not return */
      __assert_fail("t[len - 1] == \' \'","../../binutils/prdbg.c",0x46e,"pr_fix_visibility");
    }
    *pcVar1 = '\0';
    iVar3 = FUN_00037580();
    if ((iVar3 == 0) || (iVar3 = FUN_00037580(), iVar3 == 0)) {
      return 0;
    }
    if (*(int *)(param_1 + 4) != 0) {
      uVar4 = 0;
      do {
        iVar3 = FUN_00037580();
        if (iVar3 == 0) {
          return 0;
        }
        uVar4 = uVar4 + 1;
      } while (uVar4 < *(uint *)(param_1 + 4));
    }
    *(int *)(*(int *)(param_1 + 8) + 8) = param_2;
  }
  return 1;
}

