
/* std::_V2::error_category::_M_message(int) const [clone .cold.12] */

void std::_V2::error_category::_M_message(int param_1)

{
  int *piVar1;
  int iVar2;
  long in_stack_00000008;
  
  if ((allocator *)(in_stack_00000008 + -0x18) != (allocator *)PTR__S_empty_rep_storage_003bdc38) {
    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {
      iVar2 = *(int *)(in_stack_00000008 + -8);
      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;
    }
    else {
      LOCK();
      piVar1 = (int *)(in_stack_00000008 + -8);
      iVar2 = *piVar1;
      *piVar1 = *piVar1 + -1;
      UNLOCK();
    }
    if (iVar2 < 1) {
      std::string::_Rep::_M_destroy((allocator *)(in_stack_00000008 + -0x18));
    }
  }
                    /* WARNING: Subroutine does not return */
  _Unwind_Resume();
}



void FUN_00146368(void)

{
  int *piVar1;
  int iVar2;
  long in_stack_00000008;
  
  if ((undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38) {
    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {
      iVar2 = *(int *)(in_stack_00000008 + -8);
      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;
    }
    else {
      LOCK();
      piVar1 = (int *)(in_stack_00000008 + -8);
      iVar2 = *piVar1;
      *piVar1 = *piVar1 + -1;
      UNLOCK();
    }
    if (iVar2 < 1) {
      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_00304990();
}


MOV RDX,qword ptr [RSP + 0x8]
LEA RDI,[RDX + -0x18]
CMP RDI,qword ptr [0x003bdc38]
JZ 0x0014639a
CMP qword ptr [0x003bdee8],0x0
JZ 0x001463a2
OR ECX,0xffffffff
XADD.LOCK dword ptr [RDX + -0x8],ECX
TEST ECX,ECX
JG 0x0014639a
LEA RSI,[RSP + 0x7]
CALL 0x002a9af0
MOV RDI,RBX
CALL 0x00304990
MOV ECX,dword ptr [RDX + -0x8]
LEA EAX,[RCX + -0x1]
MOV dword ptr [RDX + -0x8],EAX
JMP 0x0014638c
(translation_unit "void FUN_00146368(void)\n\n{\n  int *piVar1;\n  int iVar2;\n  long in_stack_00000008;\n  \n  if ((undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38) {\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00304990();\n}\n\n" (function_definition "void FUN_00146368(void)\n\n{\n  int *piVar1;\n  int iVar2;\n  long in_stack_00000008;\n  \n  if ((undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38) {\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00304990();\n}" primitive_type (function_declarator "FUN_00146368(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  long in_stack_00000008;\n  \n  if ((undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38) {\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00304990();\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long in_stack_00000008;" (sized_type_specifier "long" long) identifier ;) (if_statement "if ((undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38) {\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }\n  }" if (parenthesized_expression "((undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38)" ( (binary_expression "(undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38" (cast_expression "(undefined *)(in_stack_00000008 + -0x18)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + -0x18)" ( (binary_expression "in_stack_00000008 + -0x18" identifier + number_literal) ))) != identifier) )) (compound_statement "{\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }\n  }" { (if_statement "if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }" if (parenthesized_expression "(PTR___pthread_key_create_003bdee8 == (undefined *)0x0)" ( (binary_expression "PTR___pthread_key_create_003bdee8 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }" { (expression_statement "iVar2 = *(int *)(in_stack_00000008 + -8);" (assignment_expression "iVar2 = *(int *)(in_stack_00000008 + -8)" identifier = (pointer_expression "*(int *)(in_stack_00000008 + -8)" * (cast_expression "(int *)(in_stack_00000008 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + -8)" ( (binary_expression "in_stack_00000008 + -8" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(in_stack_00000008 + -8) = iVar2 + -1;" (assignment_expression "*(int *)(in_stack_00000008 + -8) = iVar2 + -1" (pointer_expression "*(int *)(in_stack_00000008 + -8)" * (cast_expression "(int *)(in_stack_00000008 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + -8)" ( (binary_expression "in_stack_00000008 + -8" identifier + number_literal) )))) = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }" else (compound_statement "{\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar1 = (int *)(in_stack_00000008 + -8);" (assignment_expression "piVar1 = (int *)(in_stack_00000008 + -8)" identifier = (cast_expression "(int *)(in_stack_00000008 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + -8)" ( (binary_expression "in_stack_00000008 + -8" identifier + number_literal) )))) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "*piVar1 = *piVar1 + -1;" (assignment_expression "*piVar1 = *piVar1 + -1" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 + -1" (pointer_expression "*piVar1" * identifier) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar2 < 1) {\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }" if (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) (compound_statement "{\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }" { (expression_statement "thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);" (call_expression "thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007)" identifier (argument_list "((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007)" ( (cast_expression "(undefined *)(in_stack_00000008 + -0x18)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + -0x18)" ( (binary_expression "in_stack_00000008 + -0x18" identifier + number_literal) ))) , (pointer_expression "&stack0x00000007" & identifier) ))) ;) })) })) comment (expression_statement "FUN_00304990();" (call_expression "FUN_00304990()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* std::_V2::error_category::_M_message(int) const [clone .cold.12] */\n\nvoid std::_V2::error_category::_M_message(int param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  long in_stack_00000008;\n  \n  if ((allocator *)(in_stack_00000008 + -0x18) != (allocator *)PTR__S_empty_rep_storage_003bdc38) {\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      std::string::_Rep::_M_destroy((allocator *)(in_stack_00000008 + -0x18));\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  _Unwind_Resume();\n}\n\n" comment (function_definition "void std::_V2::error_category::_M_message(int param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  long in_stack_00000008;\n  \n  if ((allocator *)(in_stack_00000008 + -0x18) != (allocator *)PTR__S_empty_rep_storage_003bdc38) {\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      std::string::_Rep::_M_destroy((allocator *)(in_stack_00000008 + -0x18));\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  _Unwind_Resume();\n}" primitive_type (ERROR "std::_V2::error_category::" identifier : : identifier : : identifier : :) (function_declarator "_M_message(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  long in_stack_00000008;\n  \n  if ((allocator *)(in_stack_00000008 + -0x18) != (allocator *)PTR__S_empty_rep_storage_003bdc38) {\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      std::string::_Rep::_M_destroy((allocator *)(in_stack_00000008 + -0x18));\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  _Unwind_Resume();\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long in_stack_00000008;" (sized_type_specifier "long" long) identifier ;) (if_statement "if ((allocator *)(in_stack_00000008 + -0x18) != (allocator *)PTR__S_empty_rep_storage_003bdc38) {\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      std::string::_Rep::_M_destroy((allocator *)(in_stack_00000008 + -0x18));\n    }\n  }" if (parenthesized_expression "((allocator *)(in_stack_00000008 + -0x18) != (allocator *)PTR__S_empty_rep_storage_003bdc38)" ( (binary_expression "(allocator *)(in_stack_00000008 + -0x18) != (allocator *)PTR__S_empty_rep_storage_003bdc38" (cast_expression "(allocator *)(in_stack_00000008 + -0x18)" ( (type_descriptor "allocator *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + -0x18)" ( (binary_expression "in_stack_00000008 + -0x18" identifier + number_literal) ))) != (cast_expression "(allocator *)PTR__S_empty_rep_storage_003bdc38" ( (type_descriptor "allocator *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      std::string::_Rep::_M_destroy((allocator *)(in_stack_00000008 + -0x18));\n    }\n  }" { (if_statement "if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }" if (parenthesized_expression "(PTR___pthread_key_create_003bdee8 == (undefined *)0x0)" ( (binary_expression "PTR___pthread_key_create_003bdee8 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }" { (expression_statement "iVar2 = *(int *)(in_stack_00000008 + -8);" (assignment_expression "iVar2 = *(int *)(in_stack_00000008 + -8)" identifier = (pointer_expression "*(int *)(in_stack_00000008 + -8)" * (cast_expression "(int *)(in_stack_00000008 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + -8)" ( (binary_expression "in_stack_00000008 + -8" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(in_stack_00000008 + -8) = iVar2 + -1;" (assignment_expression "*(int *)(in_stack_00000008 + -8) = iVar2 + -1" (pointer_expression "*(int *)(in_stack_00000008 + -8)" * (cast_expression "(int *)(in_stack_00000008 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + -8)" ( (binary_expression "in_stack_00000008 + -8" identifier + number_literal) )))) = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }" else (compound_statement "{\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar1 = (int *)(in_stack_00000008 + -8);" (assignment_expression "piVar1 = (int *)(in_stack_00000008 + -8)" identifier = (cast_expression "(int *)(in_stack_00000008 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + -8)" ( (binary_expression "in_stack_00000008 + -8" identifier + number_literal) )))) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "*piVar1 = *piVar1 + -1;" (assignment_expression "*piVar1 = *piVar1 + -1" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 + -1" (pointer_expression "*piVar1" * identifier) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar2 < 1) {\n      std::string::_Rep::_M_destroy((allocator *)(in_stack_00000008 + -0x18));\n    }" if (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) (compound_statement "{\n      std::string::_Rep::_M_destroy((allocator *)(in_stack_00000008 + -0x18));\n    }" { (labeled_statement "std::string::_Rep::_M_destroy((allocator *)(in_stack_00000008 + -0x18));" statement_identifier : (ERROR ":" :) (labeled_statement "string::_Rep::_M_destroy((allocator *)(in_stack_00000008 + -0x18));" statement_identifier : (ERROR ":" :) (labeled_statement "_Rep::_M_destroy((allocator *)(in_stack_00000008 + -0x18));" statement_identifier : (ERROR ":" :) (expression_statement "_M_destroy((allocator *)(in_stack_00000008 + -0x18));" (call_expression "_M_destroy((allocator *)(in_stack_00000008 + -0x18))" identifier (argument_list "((allocator *)(in_stack_00000008 + -0x18))" ( (cast_expression "(allocator *)(in_stack_00000008 + -0x18)" ( (type_descriptor "allocator *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + -0x18)" ( (binary_expression "in_stack_00000008 + -0x18" identifier + number_literal) ))) ))) ;)))) })) })) comment (expression_statement "_Unwind_Resume();" (call_expression "_Unwind_Resume()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_00146368(void)\n\n{\n  int *piVar1;\n  int iVar2;\n  long in_stack_00000008;\n  \n  if ((undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38) {\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }\n  }\n                    \n  FUN_00304990();\n}\n\n" (function_definition "void FUN_00146368(void)\n\n{\n  int *piVar1;\n  int iVar2;\n  long in_stack_00000008;\n  \n  if ((undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38) {\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }\n  }\n                    \n  FUN_00304990();\n}" primitive_type (function_declarator "FUN_00146368(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  long in_stack_00000008;\n  \n  if ((undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38) {\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }\n  }\n                    \n  FUN_00304990();\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long in_stack_00000008;" (sized_type_specifier "long" long) identifier ;) (if_statement "if ((undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38) {\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }\n  }" if (parenthesized_expression "((undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38)" ( (binary_expression "(undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38" (cast_expression "(undefined *)(in_stack_00000008 + -0x18)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + -0x18)" ( (binary_expression "in_stack_00000008 + -0x18" identifier + number_literal) ))) != identifier) )) (compound_statement "{\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }\n  }" { (if_statement "if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }" if (parenthesized_expression "(PTR___pthread_key_create_003bdee8 == (undefined *)0x0)" ( (binary_expression "PTR___pthread_key_create_003bdee8 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }" { (expression_statement "iVar2 = *(int *)(in_stack_00000008 + -8);" (assignment_expression "iVar2 = *(int *)(in_stack_00000008 + -8)" identifier = (pointer_expression "*(int *)(in_stack_00000008 + -8)" * (cast_expression "(int *)(in_stack_00000008 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + -8)" ( (binary_expression "in_stack_00000008 + -8" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(in_stack_00000008 + -8) = iVar2 + -1;" (assignment_expression "*(int *)(in_stack_00000008 + -8) = iVar2 + -1" (pointer_expression "*(int *)(in_stack_00000008 + -8)" * (cast_expression "(int *)(in_stack_00000008 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + -8)" ( (binary_expression "in_stack_00000008 + -8" identifier + number_literal) )))) = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }" else (compound_statement "{\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar1 = (int *)(in_stack_00000008 + -8);" (assignment_expression "piVar1 = (int *)(in_stack_00000008 + -8)" identifier = (cast_expression "(int *)(in_stack_00000008 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + -8)" ( (binary_expression "in_stack_00000008 + -8" identifier + number_literal) )))) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "*piVar1 = *piVar1 + -1;" (assignment_expression "*piVar1 = *piVar1 + -1" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 + -1" (pointer_expression "*piVar1" * identifier) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar2 < 1) {\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }" if (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) (compound_statement "{\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }" { (expression_statement "thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);" (call_expression "thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007)" identifier (argument_list "((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007)" ( (cast_expression "(undefined *)(in_stack_00000008 + -0x18)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + -0x18)" ( (binary_expression "in_stack_00000008 + -0x18" identifier + number_literal) ))) , (pointer_expression "&stack0x00000007" & identifier) ))) ;) })) })) (expression_statement "FUN_00304990();" (call_expression "FUN_00304990()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (if_statement if (parenthesized_expression ( (binary_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 IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_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 IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , (pointer_expression & IDENT) ))) ;) })) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00146368(void)\n\n{\n  int *piVar1;\n  int iVar2;\n  long in_stack_00000008;\n  \n  if ((undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38) {\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }\n  }\n                    \n  FUN_00304990();\n}" (primitive_type "void") (function_declarator "FUN_00146368(void)" (identifier "FUN_00146368") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  long in_stack_00000008;\n  \n  if ((undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38) {\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }\n  }\n                    \n  FUN_00304990();\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "long in_stack_00000008;" (sized_type_specifier "long" (long "long")) (identifier "in_stack_00000008") (; ";")) (if_statement "if ((undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38) {\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }\n  }" (if "if") (parenthesized_expression "((undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38)" (( "(") (binary_expression "(undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38" (cast_expression "(undefined *)(in_stack_00000008 + -0x18)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_stack_00000008 + -0x18)" (( "(") (binary_expression "in_stack_00000008 + -0x18" (identifier "in_stack_00000008") (+ "+") (number_literal "-0x18")) () ")"))) (!= "!=") (identifier "PTR_DAT_003bdc38")) () ")")) (compound_statement "{\n    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }\n    if (iVar2 < 1) {\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }\n  }" ({ "{") (if_statement "if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }\n    else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }" (if "if") (parenthesized_expression "(PTR___pthread_key_create_003bdee8 == (undefined *)0x0)" (( "(") (binary_expression "PTR___pthread_key_create_003bdee8 == (undefined *)0x0" (identifier "PTR___pthread_key_create_003bdee8") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      iVar2 = *(int *)(in_stack_00000008 + -8);\n      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;\n    }" ({ "{") (expression_statement "iVar2 = *(int *)(in_stack_00000008 + -8);" (assignment_expression "iVar2 = *(int *)(in_stack_00000008 + -8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(in_stack_00000008 + -8)" (* "*") (cast_expression "(int *)(in_stack_00000008 + -8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_stack_00000008 + -8)" (( "(") (binary_expression "in_stack_00000008 + -8" (identifier "in_stack_00000008") (+ "+") (number_literal "-8")) () ")"))))) (; ";")) (expression_statement "*(int *)(in_stack_00000008 + -8) = iVar2 + -1;" (assignment_expression "*(int *)(in_stack_00000008 + -8) = iVar2 + -1" (pointer_expression "*(int *)(in_stack_00000008 + -8)" (* "*") (cast_expression "(int *)(in_stack_00000008 + -8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_stack_00000008 + -8)" (( "(") (binary_expression "in_stack_00000008 + -8" (identifier "in_stack_00000008") (+ "+") (number_literal "-8")) () ")")))) (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (else_clause "else {\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }" (else "else") (compound_statement "{\n      LOCK();\n      piVar1 = (int *)(in_stack_00000008 + -8);\n      iVar2 = *piVar1;\n      *piVar1 = *piVar1 + -1;\n      UNLOCK();\n    }" ({ "{") (expression_statement "LOCK();" (call_expression "LOCK()" (identifier "LOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar1 = (int *)(in_stack_00000008 + -8);" (assignment_expression "piVar1 = (int *)(in_stack_00000008 + -8)" (identifier "piVar1") (= "=") (cast_expression "(int *)(in_stack_00000008 + -8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_stack_00000008 + -8)" (( "(") (binary_expression "in_stack_00000008 + -8" (identifier "in_stack_00000008") (+ "+") (number_literal "-8")) () ")")))) (; ";")) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" (identifier "iVar2") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (expression_statement "*piVar1 = *piVar1 + -1;" (assignment_expression "*piVar1 = *piVar1 + -1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (binary_expression "*piVar1 + -1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" (identifier "UNLOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (if_statement "if (iVar2 < 1) {\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }" (if "if") (parenthesized_expression "(iVar2 < 1)" (( "(") (binary_expression "iVar2 < 1" (identifier "iVar2") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);\n    }" ({ "{") (expression_statement "thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);" (call_expression "thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007)" (identifier "thunk_FUN_00276d20") (argument_list "((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007)" (( "(") (cast_expression "(undefined *)(in_stack_00000008 + -0x18)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_stack_00000008 + -0x18)" (( "(") (binary_expression "in_stack_00000008 + -0x18" (identifier "in_stack_00000008") (+ "+") (number_literal "-0x18")) () ")"))) (, ",") (pointer_expression "&stack0x00000007" (& "&") (identifier "stack0x00000007")) () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_00304990();" (call_expression "FUN_00304990()" (identifier "FUN_00304990") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* std::_V2::error_category::_M_message(int) const [clone .cold.12] */

void std::_V2::error_category::function_1(int param_1)

{
  int *piVar1;
  int var_3;
  long var_1;
  
  if ((type_1 *)(var_1 + -0x18) != (type_1 *)PTR__S_empty_rep_storage_003bdc38) {
    if (var_2 == (type_2 *)0x0) {
      var_3 = *(int *)(var_1 + -8);
      *(int *)(var_1 + -8) = var_3 + -1;
    }
    else {
      var_4();
      piVar1 = (int *)(var_1 + -8);
      var_3 = *piVar1;
      *piVar1 = *piVar1 + -1;
      var_5();
    }
    if (var_3 < 1) {
      std::string::_Rep::var_6((type_1 *)(var_1 + -0x18));
    }
  }
                    /* WARNING: Subroutine does not return */
  var_7();
}


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

void MASKED(void)

{
  int *piVar1;
  int iVar2;
  long in_stack_00000008;
  
  if ((undefined *)(in_stack_00000008 + -0x18) != PTR_DAT_003bdc38) {
    if (PTR___pthread_key_create_003bdee8 == (undefined *)0x0) {
      iVar2 = *(int *)(in_stack_00000008 + -8);
      *(int *)(in_stack_00000008 + -8) = iVar2 + -1;
    }
    else {
      LOCK();
      piVar1 = (int *)(in_stack_00000008 + -8);
      iVar2 = *piVar1;
      *piVar1 = *piVar1 + -1;
      UNLOCK();
    }
    if (iVar2 < 1) {
      thunk_FUN_00276d20((undefined *)(in_stack_00000008 + -0x18),&stack0x00000007);
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_00304990();
}

